On 8/9/2013 9:39 PM, Pablo Rodríguez wrote:
On 08/08/2013 10:40 PM, Hans Hagen wrote:
On 8/8/2013 10:15 PM, Hans Hagen wrote:
On 8/8/2013 9:01 PM, Pablo Rodríguez wrote:
Dear list,
I would like to be able to include the first two pages of a typeset
buffer (included with \typesetbuffer[sample][frame=on]).
Is there any way to do this? I’d like to avoid to save the buffer to a
file.
\typesetbuffer[sample][frame=on,page=1]
\typesetbuffer[sample][frame=on,page=2]
as that runs the buffer twice the next beta will provide this:
Many thanks, Hans, for the new feature.
I can wikify it, if you want me to do it. But I have a question before.
Wouldn’t it be easier that ConTeXt detects when a buffer has already
been typeset and automatically does all the work internally?
actually there was already a test for that but i made a better one, so
now we have:
\starttext
\enabletrackers[buffers.run]
\startbuffer [sample]
\starttext
\startTEXpage[offset=10pt] one \stopTEXpage
\startTEXpage[offset=10pt] two \stopTEXpage
\startTEXpage[offset=10pt] three \stopTEXpage
\stoptext
\stopbuffer
\typesetbuffer[sample][frame=on,page=1]
\typesetbuffer[sample][frame=on,page=2]
\typesetbuffer[sample][frame=on,page=3]
\externalfigure[\lasttypesetbuffer][frame=on,page=2]
\typesetbuffer[*][frame=on,page=3]
\stoptext
-----------------------------------------------------------------
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
___________________________________________________________________________________