From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
Subject: Re: 2DOWN imposition gives blank pages
Date: Fri, 8 Sep 2006 03:13:53 +0200 [thread overview]
Message-ID: <6faad9f00609071813y1772e28bi5e150208a3a34c30@mail.gmail.com> (raw)
In-Reply-To: <E1GI9lT-0000HC-00@skye.ra.phy.cam.ac.uk>
On 8/29/06, Sanjoy Mahajan wrote:
> > texexec --pdfarrange --paper=a5a4 --2up yourfile.pdf
>
> I tried a few experiments with no luck. Not sure if it's a context or
> texexec problem, or my confusion. I made the multi-page p5.pdf from
try --paperformat instead of --paper.
texexec --pdfcombine --combination=2*1
--paperformat=A4,landscape*A4,lanscape --nobanner filename.pdf
seems to do almost what you want (although it's way to complicated if
you ask me), but I still don't understand how
\definepapersize[offset=#{paperoffset}]
works.
Mojca
> \setuppapersize[A4][A4]
> \starttext
> \dorecurse{50}{
> \input tufte
> }
> \stoptext
>
> Then I ran 'texexec --pdfarrange --paper=a5a4 p5.pdf' (the --2up
> doesn't change the error below) and got this error:
>
> ! Missing number, treated as zero.
> <to be read again>
> a
> \@@ppoffset ->a
> 5a4
> \calculatepaperoffsets ...lue {\??pp #1\c!offset }
> \divide \scratchdimen \arr...
> <argument> ...!height }\calculatepaperoffsets {A4}
> \xdef \papersize {A4}
> \firstofoneargument #1->#1
>
> \next1 #1,->\docommando {#1}
> \doprocesscommaitem
> ...
> l.3 \setuplayout
>
>
> texexec is doing the arranging by making the following 'texexec.tex'
> file and then, I think, running texexec on it:
>
> \definepapersize
> [offset=a5a4]
> \setuplayout
> [backspace=0cm,
> topspace=0cm,
> width=middle,
> height=middle,
> location=middle,
> header=0pt,
> footer=0pt]
> \setuppagenumbering
> [alternative=doublesided]
> \starttext
> \insertpages
> [p5.pdf]
> [width=0cm]
> \stoptext
>
> The 'offset=a5a4' is upsetting Context; according to texshow-web on
> the garden, the offset should be a dimension. Also, I couldn't find
> (using grep) the string 'a5a4' in the context sources.
next prev parent reply other threads:[~2006-09-08 1:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-24 4:00 Sanjoy Mahajan
2006-08-24 6:54 ` Taco Hoekwater
2006-08-24 11:10 ` Sanjoy Mahajan
2006-08-24 17:48 ` Taco Hoekwater
2006-08-26 19:10 ` Willi Egger
2006-08-27 13:40 ` Sanjoy Mahajan
2006-08-27 15:16 ` Willi Egger
2006-08-29 0:38 ` Sanjoy Mahajan
2006-08-29 16:25 ` Willi Egger
2006-08-29 20:00 ` Sanjoy Mahajan
2006-09-08 1:13 ` Mojca Miklavec [this message]
2006-09-06 4:00 ` Sanjoy Mahajan
2006-09-06 17:06 ` Willi Egger
2006-09-06 17:57 ` Aditya Mahajan
[not found] <mailman.485.1156434474.2039.ntg-context@ntg.nl>
2006-08-25 21:22 ` wwl
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=6faad9f00609071813y1772e28bi5e150208a3a34c30@mail.gmail.com \
--to=mojca.miklavec.lists@gmail.com \
--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).