Peter MŁnster wrote:
Hello,

how could I build some macros, that make usage of \startbuffer and
\stopbuffer?
Example:
\def\startXXX[#1]{\doSomeMagicSetups{#1}%
  \startbuffer[...]}
\def\stopXXX{\stopbuffer
  \doSomeSpecialWorkHere}
And then:
\startXXX[some options]
some text
\stopXXX


\definebuffer[crap]

\setupbuffer[crap][before=\blank\bgroup here we start,after=and here we end\egroup\blank]

\starttext

\input tufte

\startcrap
oeps oeps oeps oeps oesp
oeps oeps oeps oeps oesp
oeps oeps oeps oeps oesp
oeps oeps oeps oeps oesp
\stopcrap

\input tufte

\getcrap

\input tufte

\stoptext


wikiable

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to