[dev-context] Buffers again

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sun Jan 15 15:31:19 CET 2012


Hi Hans,

in the new beta buffers are fixed but one \endgroup is on the wrong position.

In the following macros \endgroup has to be before \buff_stop{#4}.

\def\buff_start_indeed#1#2#3#4% \donothing needed !
  {\normalexpanded{\buff_pickup{#2}{#3}{#4}{}{\buff_stop{#4}\endgroup}}} % (3 & 4 & 5 & 6)

A cleaner solution would be to remove \endgroup above and put it back into \buff_stop.

\def\buff_start_indeed#1#2#3#4%
  {\normalexpanded{\buff_pickup{#2}{#3}{#4}{}{\buff_stop{#4}}}}

\unexpanded\def\buff_stop#1%
  {\endgroup
   \getvalue{#1}}

Wolfgang


More information about the dev-context mailing list