Re: [NTG-context] Reprocessing part of input

2016-02-02 Thread Hans Hagen

On 2/2/2016 4:28 PM, Meer, Hans van der wrote:

How to do the following eludes me.

Inside macro -processing read into a buffer the following part of the input
\startmyinput ...\stopmyinput


Analogous to input containing
\startbuffer[mystoragebuffer]
\startmyinput
 ...
\stopmyinput
\stopbuffer

but now not executed at once, but stored in and executable from a buffer with 
\getbuffer[mystoragebuffer].


\setbuffer[foo]bar\endbuffer


But of course there might be a better way to execute the same code more than 
once within one run of TeX.


for that to answer you need to give more info


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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
___

[NTG-context] Reprocessing part of input

2016-02-02 Thread Meer, Hans van der
How to do the following eludes me.

Inside macro -processing read into a buffer the following part of the input
\startmyinput ...\stopmyinput


Analogous to input containing
\startbuffer[mystoragebuffer]
\startmyinput
 ...
\stopmyinput
\stopbuffer

but now not executed at once, but stored in and executable from a buffer with 
\getbuffer[mystoragebuffer].

But of course there might be a better way to execute the same code more than 
once within one run of TeX.

Hans van der Meer




___
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
___