[NTG-context] apply typing environment to \typebuffer

Wolfgang Schuster schuster.wolfgang at gmail.com
Thu Jan 16 00:43:48 CET 2014

Am 15.01.2014 um 20:42 schrieb Pablo Rodriguez <oinos at gmx.es>:

> On 01/15/2014 01:12 AM, Marco Patzer wrote:
>> On 2014–01–14 Pablo Rodriguez wrote:
>>> I have a presentation that defines a typing environment and I would like
>>> to know who to apply it to \typebuffer.
>> Use:
>>  \setuptyping
>>    [buffer]
>>    [option=TEX]
> Many thanks for your reply, Marco.
> This is exactly what I wanted. Although I’m afraid that this breaks the
> \typesetbuffer (since it typesets an empty buffer).
> Here is a more detailed sample:
> \definetyping[buffer][option=TEX,before=\startframedtext,after=\stopframedtext]

This is the worst thing you can do because \definetyping[buffer] creates the new environment

   \startbuffer … \stopbuffer

which overwrites the existing buffer environment.


More information about the ntg-context mailing list