[NTG-context] ConTeXt gobble my mind

luigi scarso luigi.scarso at gmail.com
Thu Nov 6 13:46:31 CET 2014


On Thu, Nov 6, 2014 at 1:36 PM, Pierre-Fran├žois Bonnefoi <bonnefoi at unilim.fr
> wrote:

> Hello Luigi,
>
> thank you for proposing a solution, but it's not suitable to my needs as
> it modifies the content of the typing region : the backlash is displayed
>
> I know, infact I have said  "the first step is...": \gobbleuntil is quite
lowlevel macro, it assumes that you do some TeX programming.


I want to be able to gobble or not the typing region by using a macro
> without modifying it.
>
>

As Wolfgang says, you can use start/stopbuffer:

\starttext
\startbuffer
\starttyping
    { printf("%d", data); }
\stoptyping
\stopbuffer
This is ignored !
\stoptext

-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20141106/c3e671de/attachment.html>


More information about the ntg-context mailing list