ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Pablo Rodríguez" <oinos@web.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: issue with imposition
Date: Sun, 18 Jan 2009 22:51:52 +0100	[thread overview]
Message-ID: <4973A478.5010905@web.de> (raw)
In-Reply-To: <E5BA891D-5369-4EE4-A545-7C03AF743AA2@boede.nl>

Willi Egger wrote:
> Hi Pablo,
> 
> The problem is that the filius-page is higher than the width of an A4. 
> So there is no way other than to scale the original pages down to a 
> height of 210mm. For this action you can use something like

Thanks for your fast reply. I thought it was possible to set center the 
imposed pages, both vertically and horizontally, to define a

> The following code in a tex-file.
> 
> \definepapersize[Mypaper][height=210mm,width=123mm]
> \setuppapersize
>   [Mypaper][Mypaper]
> \setuplayout
>   [page]
> \starttext
> \copypages
>   [input.pdf]
>   [scale=905,
>    offset=0pt]
> \stoptext
> 
> The resulting pdf-file should then be arranged. However I would  suggest 
> not to use 2UP.  Arranging the whole file (351 pages) with 2UP results 
> in a rather thick single booklet of 88 A4-sheets. What you can try is to 
> setup arranging as follows (untested). Put this code into an environment 
> file e.g. arrange.tex

Thanks for the code bellow, but I'm not trying to make a booklet, but to 
print the book to cut the paper in two pieces to bound it.

Thanks anyway,


Pablo


> \definepapersize[Mypaper][height=210mm,width=123mm]
> %\definepapersize [offset=15pt]   
> \setuppapersize
>   [Mypaper][A4,portrait]
> \setuplayout
>   [backspace=0pt,
>       topspace=0pt,
>      width=middle,
>      height=middle,
>      %location=middle,
>      header=0pt,
>      footer=0pt]
>     
> \setuppagenumbering[location=,alternative=doublesided]
> \setuparranging[2*2*4]
> \starttext
>     \insertpages[input-scaled.pdf][width=0pt]
> \stoptext
> 
> On the commandline call conTeXt as follows
> 
> texmfstart texexec --pdfarrange --environments=arrange 
> --result=output.pdf  input-scaled.pdf
> 
> I hope this helps
> 
> Willi
> 
> On Jan 18, 2009, at 8:05 PM, Pablo Rodríguez wrote:
> 
>> Hi there,
>>
>> I would like to use the imposition capabilities from ConTeXt to be able
>> to print a PDF book in a standard laser printer. To save paper, I use 
>> the 2UP arranging option thanks to this code from the wiki:
>>
>> \definepapersize    [filius][width=135.9mm, height=231.8mm]
>> \setuppapersize        [filius][A4,landscape]
>> \setuparranging        [2UP,doublesided]
>> \setuplayout [backspace=0pt,
>>     topspace=0pt,
>>        width=middle,
>>       height=middle,
>>     location=middle,
>>       header=0pt,
>>       footer=0pt,
>>       grid=no, marking=off]
>> \starttext
>> \filterpages[ZittrainTheFutureoftheInternet.pdf][4:351][height=21cm]
>> \stoptext
>>
>> The PDF file can be downloaded from
>> http://futureoftheinternet.org/static/ZittrainTheFutureoftheInternet.pdf.
>>
>> The issue here is that I get a resulting paper size with the filius 
>> height and not with 21cm from A4.
>>
>> I have tried have the output in a standard A4 paper size, but all that 
>> I got is a scaled down PDF. I would like to avoid scaling the document 
>> if that were possible.
>>
>> Is there any way, given the example above, to impose the filius paper 
>> size on a real landscape A4 without having to scale down the PDF 
>> document?
>>
>> Thanks for your help,
>>
>>
>> Pablo

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2009-01-18 21:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-18 19:05 Pablo Rodríguez
2009-01-18 20:38 ` Willi Egger
2009-01-18 21:51   ` Pablo Rodríguez [this message]
2009-01-19  9:03     ` Pablo Rodríguez
2009-01-19 22:29 ` Henning Hraban Ramm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4973A478.5010905@web.de \
    --to=oinos@web.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).