[dev-context] Buffers again
Wolfgang Schuster
schuster.wolfgang at googlemail.com
Sun Jan 15 15:38:27 CET 2012
Am 15.01.2012 um 15:31 schrieb Wolfgang Schuster:
> 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}}
Can you also add a direct version of \getbuffer, e.g.
\let\getbufferdirect\buff_get_stored_indeed % Would be \getbufferdata a better name?
or
\def\getbufferdirect[#1]{\buff_get_stored_indeed{#1}}
Wolfgang
More information about the dev-context
mailing list