Re: [NTG-context] Different Styles of Typing
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 7/28/2021 10:12 PM, Wolfgang Schuster wrote:
2. Rather than adding a additional argument to \starttyping etc. provide a \startnamedtyping with a mandatory argument with the name of the instance.
ok, but i do need to check the before/after wrt setup
To save a few lines of code a flag (e.g. \ifinstance) can be used to set the start/stop command for the buffer.
\protected\def\startnamedtyping[#1]% {\instancefalse\buff_verbatim_typing_start{#1}} i noticed that we had a comment about startnamedtyping ...
makes me wonder, are there more instance commands that we need to extend with a 'named' variants Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (1)
-
Hans Hagen