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 -----------------------------------------------------------------