From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19995 Path: news.gmane.org!not-for-mail From: David Munger Newsgroups: gmane.comp.tex.context Subject: Re: How to insert a full page pdf. Date: Tue, 19 Apr 2005 18:58:39 -0400 Message-ID: <1113951519.10209.38.camel@tempete.lac.qc.ca> References: <200504191814.10223.john@wexfordpress.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1113951514 26403 80.91.229.2 (19 Apr 2005 22:58:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 19 Apr 2005 22:58:34 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 20 00:58:32 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DO1fp-0000Yd-GZ for gctc-ntg-context-518@m.gmane.org; Wed, 20 Apr 2005 00:58:29 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 591C4127EC; Wed, 20 Apr 2005 01:02:43 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09244-05; Wed, 20 Apr 2005 01:02:43 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 30E43127CF; Wed, 20 Apr 2005 00:58:43 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 03640127BF for ; Wed, 20 Apr 2005 00:58:42 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09048-08 for ; Wed, 20 Apr 2005 00:58:41 +0200 (CEST) Original-Received: from tomts22-srv.bellnexxia.net (tomts22.bellnexxia.net [209.226.175.184]) by ronja.ntg.nl (Postfix) with ESMTP id E029A1276C for ; Wed, 20 Apr 2005 00:58:40 +0200 (CEST) Original-Received: from [69.156.160.22] by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050419225839.GZPQ21470.tomts22-srv.bellnexxia.net@[69.156.160.22]> for ; Tue, 19 Apr 2005 18:58:39 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: <200504191814.10223.john@wexfordpress.com> X-Mailer: Evolution 2.2.1.1 X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:19995 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19995 Hi John, John R. Culleton : > I need to insert some example pages from one document into > another. Both are 8.5 x 11. > > I have read the old posts about \startTEXpage etc. and looked at > the source code. But I still have a few questions: > 1. Can I select e.g., just page 2 from the external document to > insert in my document? How? I'm no expert, but here's the way I do it: \externalfigure[filename][page=2] Then, I adjust the clipping to -- for instance -- get rid of the page number of the inserted `figure', as well as of its top and left margins. \clip [ voffset=1.25in, % clip the topmost part of the inserted page hoffset=1.5in, % clip the left margin of the inserted page height=9in, % clip the bottom of the inserted page width=5.1in] % clip the right margin {\externalfigure[filename][page=2]}} And, if you like, you can put all this into a \midaligned{}. > 2. Does Context automatically bump its page counter to compensate > for the inserted page or pages, or do I have to adjust it after > each such insertion? Well, if you treat the inserted PDF page as a figure, the page number of your main document won't be affected. Just clip the page number (if any) which lies on the inserted PDF page. Regards, David