Re: [NTG-context] crop PDF pages

2011-09-20 Thread Henning Hraban Ramm


Am 2011-09-20 um 04:08 schrieb Yue Wang:


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...


At least for \externalfigure you can use \clip; since you can use it  
for everything, it's a single command, not an option.

See http://wiki.contextgarden.net/Graphical_text_manipulation#.5Cclip

Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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
___


Re: [NTG-context] crop PDF pages

2011-09-20 Thread luigi scarso
On Tue, Sep 20, 2011 at 4:08 AM, Yue Wang yuleo...@gmail.com 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
___


[NTG-context] crop PDF pages

2011-09-19 Thread Yue Wang
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...


Yue Wang
___
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
___