From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83761 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: include two pages from typesetbuffer Date: Fri, 09 Aug 2013 23:42:24 +0200 Message-ID: <52056240.7060409@wxs.nl> References: <5203EAF0.3090703@web.de> <5203FC4A.3000409@wxs.nl> <52040245.4080400@wxs.nl> <5205456B.9080600@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1376084584 4966 80.91.229.3 (9 Aug 2013 21:43:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Aug 2013 21:43:04 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 09 23:43:07 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V7uSc-0007iV-By for gctc-ntg-context-518@m.gmane.org; Fri, 09 Aug 2013 23:43:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DAF5E1020A; Fri, 9 Aug 2013 23:42:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id YdA-+q2U7YPb; Fri, 9 Aug 2013 23:42:12 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 653E710214; Fri, 9 Aug 2013 23:42:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 507C610214 for ; Fri, 9 Aug 2013 23:42:10 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id U3qHir8RJDCE for ; Fri, 9 Aug 2013 23:42:02 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 115EF1020A for ; Fri, 9 Aug 2013 23:42:02 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r79Lgl6C031497 for ; Fri, 9 Aug 2013 23:42:48 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.104; Original-Received: from [10.100.1.104] (unverified [10.100.1.104]) by pragma-net.nl (SurgeMail 6.3c2) with ESMTP id 881-1713362 for ; Fri, 09 Aug 2013 23:42:47 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: <5205456B.9080600@web.de> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=15; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NKaJGLM0 - 6c3cbccd3072 - 20130809 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83761 Archived-At: On 8/9/2013 9:39 PM, Pablo Rodr=EDguez 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=EDguez wrote: >>>> Dear list, >>>> >>>> I would like to be able to include the first two pages of a typeset >>>> buffer (included with \typesetbuffer[sample][frame=3Don]). >>>> >>>> Is there any way to do this? I=92d like to avoid to save the buffer to= a >>>> file. >>> >>> \typesetbuffer[sample][frame=3Don,page=3D1] >>> \typesetbuffer[sample][frame=3Don,page=3D2] >> >> 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=92t 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=3D10pt] one \stopTEXpage \startTEXpage[offset=3D10pt] two \stopTEXpage \startTEXpage[offset=3D10pt] three \stopTEXpage \stoptext \stopbuffer \typesetbuffer[sample][frame=3Don,page=3D1] \typesetbuffer[sample][frame=3Don,page=3D2] \typesetbuffer[sample][frame=3Don,page=3D3] \externalfigure[\lasttypesetbuffer][frame=3Don,page=3D2] \typesetbuffer[*][frame=3Don,page=3D3] \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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________