On 1/7/2013 10:49 PM, Marco Patzer wrote:
On 2013–01–07 Hans Hagen wrote:
buffers (or blocks)
Buffers apparently can't be used before the content is defined, but it works for blocks (I never used them). Test:
\defineblock [bar]
\starttext
buf: \getbuffer[foo] BBBBBBBBBBB
\startbuffer[foo] buf: AAAAAAAAAAA \stopbuffer
\useblocks [bar] DDDDDDDDDDD
\beginbar block: CCCCCCCCCCC \endbar
\stoptext
Is there a reason why the blocks favour begin/end instead of start/stop? Looks weird somehow.
(1) nicer symmetry checks (matching begin/end start/stop) (2) more visible in complex docs (3) it was first needed for \beginquestion \startquestion ... \stopquestion \endquestion etc Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------