* include two pages from typesetbuffer @ 2013-08-08 19:01 Pablo Rodríguez 2013-08-08 20:15 ` Hans Hagen 0 siblings, 1 reply; 6+ messages in thread From: Pablo Rodríguez @ 2013-08-08 19:01 UTC (permalink / raw) To: mailing list for ConTeXt users 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. Many thanks for your help, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: include two pages from typesetbuffer 2013-08-08 19:01 include two pages from typesetbuffer Pablo Rodríguez @ 2013-08-08 20:15 ` Hans Hagen 2013-08-08 20:40 ` Hans Hagen 0 siblings, 1 reply; 6+ messages in thread From: Hans Hagen @ 2013-08-08 20:15 UTC (permalink / raw) To: ntg-context 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] ----------------------------------------------------------------- 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: include two pages from typesetbuffer 2013-08-08 20:15 ` Hans Hagen @ 2013-08-08 20:40 ` Hans Hagen 2013-08-09 19:39 ` Pablo Rodríguez 0 siblings, 1 reply; 6+ messages in thread From: Hans Hagen @ 2013-08-08 20:40 UTC (permalink / raw) To: ntg-context 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: \starttext \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] \externalfigure[\lasttypesetbuffer][frame=on,page=2] \typesetbuffer[*][frame=on,page=3] \stoptext please wikify this after testing Hans ----------------------------------------------------------------- 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: include two pages from typesetbuffer 2013-08-08 20:40 ` Hans Hagen @ 2013-08-09 19:39 ` Pablo Rodríguez 2013-08-09 21:42 ` Hans Hagen 0 siblings, 1 reply; 6+ messages in thread From: Pablo Rodríguez @ 2013-08-09 19:39 UTC (permalink / raw) To: mailing list for ConTeXt users 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? Many thanks for your help, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: include two pages from typesetbuffer 2013-08-09 19:39 ` Pablo Rodríguez @ 2013-08-09 21:42 ` Hans Hagen 2013-08-10 10:03 ` Pablo Rodríguez 0 siblings, 1 reply; 6+ messages in thread From: Hans Hagen @ 2013-08-09 21:42 UTC (permalink / raw) To: ntg-context 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: include two pages from typesetbuffer 2013-08-09 21:42 ` Hans Hagen @ 2013-08-10 10:03 ` Pablo Rodríguez 0 siblings, 0 replies; 6+ messages in thread From: Pablo Rodríguez @ 2013-08-10 10:03 UTC (permalink / raw) To: mailing list for ConTeXt users On 08/09/2013 11:42 PM, Hans Hagen wrote: > [...] > 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 Many thanks for the improvement, Hans. Wikified at http://wiki.contextgarden.net/Command/typesetbuffer. Pablo -- http://www.ousia.tk ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-08-10 10:03 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-08-08 19:01 include two pages from typesetbuffer Pablo Rodríguez 2013-08-08 20:15 ` Hans Hagen 2013-08-08 20:40 ` Hans Hagen 2013-08-09 19:39 ` Pablo Rodríguez 2013-08-09 21:42 ` Hans Hagen 2013-08-10 10:03 ` Pablo Rodríguez
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).