[NTG-context] ConTeXt gobble my mind

Wolfgang Schuster schuster.wolfgang at gmail.com
Thu Nov 6 13:12:42 CET 2014


> Am 06.11.2014 um 10:35 schrieb Pierre-Fran├žois Bonnefoi <bonnefoi at unilim.fr>:
> 
> Hello,
> 
> I've made a lot of improvement to my slides format for my teaching material and I've run into a serious issue with gobbleinput that I can express with with simple lines :
> 
> \starttext
> \gobbleuntil\stoptyping
> \starttyping
> 	{ printf("%d", data); }
> \stoptyping
> This is ignored ! 
> \stoptext
> 
> How can I use correctly gobbleinput to make it works ?

Replace the typing environment with normal buffers and use the \typebuffer command to print the content of the buffer.

\starttext

\startbuffer
	{ printf("%d", data); }
\stopbuffer
%\typebuffer
This is ignored ! 

\stoptext

Wolfgang



More information about the ntg-context mailing list