\typesetbuffer adds \starttext ... \stoptext
Hello, It would be nice, if \typesetbuffer wouldn't add anything to the buffer. Here an example, where the outer \starttext ... \stoptext environment deranges: \starttext \startbuffer[pdf-pages] \setuppapersize[A7, landscape] \showframe \starttext page 1 \page page 2 \stoptext \stopbuffer \typesetbuffer[pdf-pages][page=2, frame=on, width=10cm] \stoptext -- Peter
Am 30.01.2011 um 19:52 schrieb Peter Münster:
Hello,
It would be nice, if \typesetbuffer wouldn't add anything to the buffer.
Here an example, where the outer \starttext ... \stoptext environment deranges:
Why, context ignores the inner starttext/stoptext pair. Wolfgang
Wolfgang Schuster
It would be nice, if \typesetbuffer wouldn't add anything to the buffer.
Here an example, where the outer \starttext ... \stoptext environment deranges:
Why, context ignores the inner starttext/stoptext pair.
Wrong interpretation of the problem: it's the \setuppapersize[][samesized] that is broken... Nevertheless: are there situations, where the outer starttext/stoptext could cause some trouble? -- Peter
Am 30.01.2011 um 20:20 schrieb Peter Münster:
Nevertheless: are there situations, where the outer starttext/stoptext could cause some trouble?
Don’t think so because when you use the project structure you have \startproduct \startcomponent … \stopcomponent \startcomponent … \stopcomponent \stopproduct where both \startproduct and \startcomponent act as \starttext and only the first is is used as real \starttext while the others are ignored. Wolfgang
Am 30.01.2011 um 20:23 schrieb Vnpenguin:
On Sun, Jan 30, 2011 at 19:52, Peter Münster
wrote: Hello,
It would be nice, if \typesetbuffer wouldn't add anything to the buffer.
Yep, I agree that. Don't know why need add something to buffer ?
\typesetbuffer add \starttext before and \stoptext after the buffer because it write the buffer content to a external file and process this file as a separate document which can be included as figure. This is a useful feature for documentation. Wolfgang
participants (3)
-
pmlists@free.fr
-
Vnpenguin
-
Wolfgang Schuster