From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73839 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: Merging PDF document of various page sizes. Can ConTeXt help? Date: Fri, 13 Jan 2012 16:47:21 +0100 Message-ID: References: <5D57E44F-9089-46FA-81D2-2CDFCB80675B@rna.nl> <36B326C1-84C0-4624-BDE7-ECACA99C1D65@rna.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0306269149==" X-Trace: dough.gmane.org 1326469658 21756 80.91.229.12 (13 Jan 2012 15:47:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Jan 2012 15:47:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 13 16:47:34 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RljLp-0006Ag-Ly for gctc-ntg-context-518@m.gmane.org; Fri, 13 Jan 2012 16:47:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B995FCB1D8; Fri, 13 Jan 2012 16:47:32 +0100 (CET) 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 nQxBhxLiBEuV; Fri, 13 Jan 2012 16:47:26 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 552BBCB1D3; Fri, 13 Jan 2012 16:47:26 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 30D6BCB1D3 for ; Fri, 13 Jan 2012 16:47:25 +0100 (CET) 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 YJCdw7VOXf+K for ; Fri, 13 Jan 2012 16:47:23 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 87F04CB1B4 for ; Fri, 13 Jan 2012 16:47:23 +0100 (CET) Original-Received: from mail-iy0-f169.google.com (mail-iy0-f169.google.com [209.85.210.169]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q0DFlM43031259 for ; Fri, 13 Jan 2012 16:47:22 +0100 Original-Received: by iafj26 with SMTP id j26so5986309iaf.14 for ; Fri, 13 Jan 2012 07:47:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=aAxLqDAxWXiJ3y54At/OY6IuaS3BGKFKpSs8adiEvLQ=; b=arUpOaVeJ6FTS6iSAcoKPUGTbJpcl+mLskXgz/0jxe7tT5WHMqTesCD/qKBwzCQk9X StfcxGfVjCbhQ6mxsAHOIAF7AbOoHJ82qJtkv0Byh/rknAcLPlnFYm53Fd11UPnssdF3 YnspzXznD94MXFQAKNBKci4GMhQ6C5CYVL5sE= Original-Received: by 10.50.156.138 with SMTP id we10mr333826igb.10.1326469641635; Fri, 13 Jan 2012 07:47:21 -0800 (PST) Original-Received: by 10.50.57.131 with HTTP; Fri, 13 Jan 2012 07:47:21 -0800 (PST) In-Reply-To: <36B326C1-84C0-4624-BDE7-ECACA99C1D65@rna.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.210.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05Gl3Lmy5 - 18fd6c449cf4 - 20120113 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:73839 Archived-At: --===============0306269149== Content-Type: multipart/alternative; boundary=e89a8f234aadcb859204b66ac7a3 --e89a8f234aadcb859204b66ac7a3 Content-Type: text/plain; charset=UTF-8 On Fri, Jan 13, 2012 at 4:44 PM, Gerben Wierda wrote: > Answering my own question, quite simple with ConTeXt: > > \definepapersize[a3landscape][A3,landscape] > \definepapersize[a4portrait][A4,portrait] > \setuppapersize[a4portrait] > \starttext > \externalfigure[foo.pdf] > \page\setuppapersize[a3landscape] > \externalfigure[bar.pdf] > \stoptext > > G > > PS. The solution below does not work because it keeps the sizes of the > images and does not set page sizes for the pages where the images are > embedded. > Ah ok, you don't want to inherit the pagesize from the external pdf. -- luigi --e89a8f234aadcb859204b66ac7a3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Fri, Jan 13, 2012 at 4:44 PM, Gerben = Wierda <gerben= .wierda@rna.nl> wrote:
Answering my own question, quite simple with ConTeXt:

\definepapersize[a3landscape][A3,landscape]
\definepapersize[a4portrait][A4,portrait]
\setuppapersize[a4portrait]
\starttext
\externalfigure[foo.pdf]
\page\setuppapersize[a3landscape]
\externalfigure[bar.pdf]
\stoptext

G

PS. The solution below does not work because it keeps the sizes of the imag= es and does not set page sizes for the pages where the images are embedded.=

Ah ok, you don't want to inherit the pagesize= from the external pdf.

--
luigi

--e89a8f234aadcb859204b66ac7a3-- --===============0306269149== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0306269149==--