From: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
Subject: Re: 2DOWN imposition gives blank pages
Date: Tue, 29 Aug 2006 21:00:51 +0100 [thread overview]
Message-ID: <E1GI9lT-0000HC-00@skye.ra.phy.cam.ac.uk> (raw)
In-Reply-To: Your message of "Tue, 29 Aug 2006 18:25:52 +0200." <44F46A90.1040304@boede.nl>
> 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
\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.
-Sanjoy
`Never underestimate the evil of which men of power are capable.'
--Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
next prev parent reply other threads:[~2006-08-29 20:00 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 [this message]
2006-09-08 1:13 ` Mojca Miklavec
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=E1GI9lT-0000HC-00@skye.ra.phy.cam.ac.uk \
--to=sanjoy@mrao.cam.ac.uk \
--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).