From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2788 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Including a series of pdf-file into one large file Date: Fri, 22 Sep 2000 00:23:19 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20000922002319.0194ea80@pop.wxs.nl> References: <009901c023eb$33f5b000$0100a8c0@xs4all.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035393562 11832 80.91.224.250 (23 Oct 2002 17:19:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:19:22 +0000 (UTC) Cc: "ntg-context" Original-To: "Egger" In-Reply-To: <009901c023eb$33f5b000$0100a8c0@xs4all.nl> Xref: main.gmane.org gmane.comp.tex.context:2788 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2788 At 04:51 PM 9/21/00 +0200, Egger wrote: >Hi all, > >is there a possibility to prepare a series of (samll) pdf-files with >CONTEXT and put them afterwards into one single (large) pdf-file? > >Thanks for tips. Kind regards Sure. Take a look at the texexec manual. You can also use some low level macros (yet undocumented): %D ... %D %D One can (mis)use this mechanism, in close cooperation %D with \PDFTEX\ to arrange pages of already produced files. %D %D \starttypen %D \insertpages[file.pdf][1,3][n=30,width=18cm] %D \stoptypen %D %D The pages are inserted in the text area, and even pages %D are repositioned according to the width. In this example %D empty pages are added after page 1 and 3. %D %D Selecting pages can be accomplished by: %D %D \starttypen %D \filterpages[file.pdf][1,3,5][n=30,width=18cm] %D \stoptypen %D %D One may pass \type {odd} or \type {even} instead of a %D comma separated list. A third alternative is: %D %D \starttypen %D \copypages[file.pdf][n=30,scale=950] %D \stoptypen %D %D This macros inserts the page, according to the settings %D provided. %D Yet another way of postprocessing is handles by \type %D {\combinepages}. This macro builds a matrix of pages from a %D file, for example: %D %D \starttypen %D \setuppapersize %D [A4][A4] % or [A4,landscape][A4,landscape] %D %D \setuplayout %D [header=0pt,footer=1cm, %D backspace=1cm,topspace=1cm, %D width=middle,height=middle] %D %D \setupfootertexts %D [presentation---\currentdate\space---\space\pagenumber] %D %D \starttext %D \combinepages[slides][nx=2,ny=3,frame=on] %D \stoptext %D \starttypen %D %D One can influence the way the pages are combined. (This %D will be explained some time.) quoted from core-pag.tex, your favourite module btw -) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------