On Tue, Dec 16, 2025 at 18:01 (+0100), Wolfgang Schuster wrote:
> Am 16.12.2025 um 17:36 schrieb Jim:
>> Hi,
>> I have
>> \definetyping[MyTEX]
>> [option=tex,
>> margin=0.2in,
>> before={\blank[2pt]\blank[disable]},
>> after={},
>> tab=8,
>> ]
>> so that I can later use
>> \startMyTEX
>> ...
>> \stopMyTEX
>> to get the typing set up as I like. So far so good.
>> However, I would like to use the identical options with \typebuffer. I had
>> hoped that somehow I would be able to use something like
>> \typebuffer[SomeBuffer][option=MyTEX]
>> but that (and various other things I tried) doesn't work. For now I am
>> using
>> \typebuffer[SomeBuffer][option=tex,
>> margin=0.2in,
>> before={\blank[2pt]\blank[disable]},
>> after={},
>> tab=8,]
>> but it would be nice to not have the same set of options in multiple
>> places, and also nice not to have to have 5 lines of code where I would
>> like only 1.
>> Q: is there some way I can instruct \typebuffer to use the MyTEX typing
>> options?
> \typeMyTEXbuffer[SomeBuffer]
Wolfgang,
thanks very much for the quick response!
I don't see anything in the \definetyping wiki page about \definetyping
also creating \type<myname>buffer; I guess I should add a blurb. (Right
now the wiki is timing out for me, so I guess it will have to be later.)
Jim
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________