Reprocessing part of input
![](https://secure.gravatar.com/avatar/29c7bbff49b1599eddb2ec73fd9ffa6e.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Meer, Hans van der