From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73835 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:26:38 +0100 Message-ID: References: <5D57E44F-9089-46FA-81D2-2CDFCB80675B@rna.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0139062841==" X-Trace: dough.gmane.org 1326468417 12110 80.91.229.12 (13 Jan 2012 15:26:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Jan 2012 15:26:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 13 16:26:53 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 1Rlj1o-0002t5-4W for gctc-ntg-context-518@m.gmane.org; Fri, 13 Jan 2012 16:26:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C16E9CB1DB; Fri, 13 Jan 2012 16:26:51 +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 k59KuSaWazA5; Fri, 13 Jan 2012 16:26:46 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4669DCB1D3; Fri, 13 Jan 2012 16:26:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 59A38CB1D3 for ; Fri, 13 Jan 2012 16:26:44 +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 BQ89f5sOGLqC for ; Fri, 13 Jan 2012 16:26:39 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id B2B4ECB1B4 for ; Fri, 13 Jan 2012 16:26:39 +0100 (CET) Original-Received: from mail-gx0-f169.google.com (mail-gx0-f169.google.com [209.85.161.169]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q0DFQcql025851 for ; Fri, 13 Jan 2012 16:26:39 +0100 Original-Received: by ggnp4 with SMTP id p4so2112425ggn.14 for ; Fri, 13 Jan 2012 07:26:38 -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=qdvqfx+46kOn51BXjrrNlzGRXk3J8we0OzMDfKRf1Ro=; b=x4q36bpM3t/U9IGQg8YYPnY/g7P/H0ZB8yU/syY9c135DRKvIOs4AlsF0AwaQZ+SEr tj4wOICdMqxebtkMx9dSyMm3aRGBDK9CfGR9fQwIOqG5KHYDYY1NUYjcvBzlCjX5sK52 p/qT8iCdpGnOjEWbHvaSDHTwtdhb+rDFnAGJs= Original-Received: by 10.50.190.196 with SMTP id gs4mr1264076igc.14.1326468398038; Fri, 13 Jan 2012 07:26:38 -0800 (PST) Original-Received: by 10.50.57.131 with HTTP; Fri, 13 Jan 2012 07:26:38 -0800 (PST) In-Reply-To: <5D57E44F-9089-46FA-81D2-2CDFCB80675B@rna.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.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: 03Gl3qCp2 - 30b42fdd0ccc - 20120113 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:73835 Archived-At: --===============0139062841== Content-Type: multipart/alternative; boundary=f46d04479ee3abbcc504b66a7d59 --f46d04479ee3abbcc504b66a7d59 Content-Type: text/plain; charset=UTF-8 On Fri, Jan 13, 2012 at 4:20 PM, Gerben Wierda wrote: > Hello community, > > I have the following problem. I need to create a single PDF file where > each page may have a different size and orientation. Say the first page is > A4 portrait, the second is A3 landscape and so on. Can ConTeXr help? Each > page contains a PDF image of some random size that is inserted. > > I have been looking around for a solution but haven't found one. I also > tried Create.app, the drawing program. And I tried a program call PDF Merge > and some others. Neither of these work, and most of the merge programs out > there maybe merged, but changed the nice vector images into pixel images, > completely destroying print quality. > > So, I am back where I started. Is there some fancy ConTeXt trickery I > could use to do this? > > Summary: > - One PDF as result > - Each page has a different size and orientation > - Each page contains a PDF vector image that is not to be converted to > pixels > So , if you have file-001.pdf, file-002.pdf, file-003.pdf maybe \starttext \startTEXpage\externalfigure[file-001]\stopTEXpage \startTEXpage\externalfigure[file-002]\stopTEXpage \startTEXpage\externalfigure[file-003]\stopTEXpage \stoptext is what you need. -- luigi --f46d04479ee3abbcc504b66a7d59 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Fri, Jan 13, 2012 at 4:20 PM, Gerben = Wierda <gerben= .wierda@rna.nl> wrote:
Hello community,

I have the following problem. I need to create a single PDF file where each= page may have a different size and orientation. Say the first page is A4 p= ortrait, the second is A3 landscape and so on. Can ConTeXr help? Each page = contains a PDF image of some random size that is inserted.

I have been looking around for a solution but haven't found one. I also= tried Create.app, the drawing program. And I tried a program call PDF Merg= e and some others. Neither of these work, and most of the merge programs ou= t there maybe merged, but changed the nice vector images into pixel images,= completely destroying print quality.

So, I am back where I started. Is there some fancy ConTeXt trickery I could= use to do this?

Summary:
- One PDF as result
- Each page has a different size and orientation
- Each page contains a PDF vector image that is not to be converted to pixe= ls
So , if you have file-001.pdf, file-002.pdf, file-003.pdf maybe
\startt= ext
\startTEXpage\externalfigure[file-001]\stopTEXpage
\startTEXpage\= externalfigure[file-002]\stopTEXpage
\startTEXpage\externalfigure[file-0= 03]\stopTEXpage
\stoptext
is what you need.


--
luigi

--f46d04479ee3abbcc504b66a7d59-- --===============0139062841== 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 ___________________________________________________________________________________ --===============0139062841==--