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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to