From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71226 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: crop PDF pages Date: Tue, 20 Sep 2011 08:58:17 +0200 Message-ID: References: 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 1316501922 11386 80.91.229.12 (20 Sep 2011 06:58:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Sep 2011 06:58:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 20 08:58:38 2011 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 1R5uHu-0000Hx-HR for gctc-ntg-context-518@m.gmane.org; Tue, 20 Sep 2011 08:58:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2B29FCAFAB; Tue, 20 Sep 2011 08:58:36 +0200 (CEST) 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 pDmkWSvCqJ-E; Tue, 20 Sep 2011 08:58:32 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 04C48CAFA2; Tue, 20 Sep 2011 08:58:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4C8D8CAFA2 for ; Tue, 20 Sep 2011 08:58:27 +0200 (CEST) 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 wyapZZp8OHIl for ; Tue, 20 Sep 2011 08:58:23 +0200 (CEST) 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 2F504CAF37 for ; Tue, 20 Sep 2011 08:58:23 +0200 (CEST) Original-Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.216.176]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p8K6wIOK000811 for ; Tue, 20 Sep 2011 08:58:20 +0200 Original-Received: by qyk27 with SMTP id 27so201280qyk.14 for ; Mon, 19 Sep 2011 23:58:18 -0700 (PDT) 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=UNkZqc+vcfeDLFzvxvQLmXLNQXp0txDf1SgXb1UVmqU=; b=hMGDyG5lIBdwTAbYnUudePYdvvTRFcyBQUlzV8OV3X5t+4cQ+oOxeXinXOG9ewQicd YF4A45cblu0kD+UceuV8aRl5fvF8c5q/EGKOOvPOXKYNR4nekcHLq69kzHeKbL0dPFHX SWO76Bd8+vPEMyWr/AWJE2qu+1w8uh4SstXcU= Original-Received: by 10.224.184.198 with SMTP id cl6mr313736qab.289.1316501897335; Mon, 19 Sep 2011 23:58:17 -0700 (PDT) Original-Received: by 10.224.73.201 with HTTP; Mon, 19 Sep 2011 23:58:17 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.176; 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: 03FySWjx8 - 35b86d77ae9b - 20110920 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:71226 Archived-At: On Tue, Sep 20, 2011 at 4:08 AM, Yue Wang wrote: > Hi, powerful context users: > > I'm wondering why there is no crop setting for \externalfigure or \insertpages. > I have a lot of scanned books in PDF format, most of them are double sided. > I want to read them on kindle but the huge margins take too much space > and as a result the texts are too small. > I want to use commands like \insertpages to crop all the pages with > different bounding box settings for odd/even pages. > there's a "scale" option for \copypages but it's somewhat naive to use > in such practical cases... > \clip (as Hraban said) see also http://meeting.contextgarden.net/2010/talks/2010-09-16-luigi-pdfvsplit/ \clip can select rectangular regions ___________________________________________________________________________________ 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 ___________________________________________________________________________________