From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73836 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: Merging PDF document of various page sizes. Can ConTeXt help? Date: Fri, 13 Jan 2012 16:27:42 +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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1326468493 12646 80.91.229.12 (13 Jan 2012 15:28:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Jan 2012 15:28:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 13 16:28:06 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 1Rlj30-0003b1-8j for gctc-ntg-context-518@m.gmane.org; Fri, 13 Jan 2012 16:28:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 130E4CB1B4; Fri, 13 Jan 2012 16:28:06 +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 v2x6jcvL6dpn; Fri, 13 Jan 2012 16:27:51 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EFD8ACB1D3; Fri, 13 Jan 2012 16:27:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 88F8CCB1D3 for ; Fri, 13 Jan 2012 16:27:49 +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 PV2DKWQ4DNKt for ; Fri, 13 Jan 2012 16:27:44 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 14DFDCB1B4 for ; Fri, 13 Jan 2012 16:27:44 +0100 (CET) Original-Received: from mail-qy0-f169.google.com (mail-qy0-f169.google.com [209.85.216.169]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q0DFRhpf030418 for ; Fri, 13 Jan 2012 16:27:43 +0100 Original-Received: by qcsg13 with SMTP id g13so406069qcs.14 for ; Fri, 13 Jan 2012 07:27:42 -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:content-transfer-encoding; bh=esq4P0fZ0JlKz0IWoaFY1aHFekbRKVkMlhojNqXqp60=; b=gnoSS+5FGQUZLIzE01fsMCE+/hhJ0FWaDCbg/ja6rqvq+F31Mxl1rm0rpFy8gWaT3Y FCrpidPw0+zuiFfoPxt3rhWqVyLteur4yfGgmBlRMkGYLN8BRTIiSIMjlu4d6qjGrFrN 4FvPGLw20D9HE6mJxIEgwWWz/mljuXh3Sbskw= Original-Received: by 10.224.197.73 with SMTP id ej9mr2347400qab.30.1326468462668; Fri, 13 Jan 2012 07:27:42 -0800 (PST) Original-Received: by 10.229.46.80 with HTTP; Fri, 13 Jan 2012 07:27:42 -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.216.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: 0rGl3rHuq - b90ddfaafaf0 - 20120113 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:73836 Archived-At: On Fri, Jan 13, 2012 at 16:20, 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 Yes, this is easy. There are three options: 1.) \startTEXpage\externalfigure[...]\stopTEXpage 2.) same, but with TEXstream 3.) a shortcut for the above, \startpagefigure. See http://wiki.contextgarden.net/Including_pages_from_PDF_document Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________