![](https://secure.gravatar.com/avatar/6af06dcf5f958fe4ec149408292d6acd.jpg?s=120&d=mm&r=g)
Hi Hans, When arranging pfd pages from a pdf file with the ruby version of the texexec script the following error occurs: cid:part1.07050109.01020703@boede.nltexmfstart texexec.rb --pdfarrange --paper=a5a4 --print=2up --result=a5a4-artiplydoc artiply-doc.pdf ..... systems : system commands are enabled ! 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 ? It does work with the perl script. COuld you please have a look at this? Thanks Willi
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Willi Egger wrote:
Hi Hans,
When arranging pfd pages from a pdf file with the ruby version of the texexec script the following error occurs:
cid:part1.07050109.01020703@boede.nltexmfstart texexec.rb --pdfarrange --paper=a5a4 --print=2up --result=a5a4-artiplydoc artiply-doc.pdf
......
systems : system commands are enabled ! 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
?
It does work with the perl script. COuld you please have a look at this?
use --paperformat in order to distinguish between paperoffset etc Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/b16ca16bcbc474a1ba15813999e212da.jpg?s=120&d=mm&r=g)
use --paperformat in order to distinguish between paperoffset etc
Thanks. For achival value in case anyone else searches the list for this topic, here's the command line that works for me: texexec --pdfarrange --paperformat=a5a4 --print=2UP p5.pdf (2SIDE also works, and the --print= is needed) I had been using the texexec man entry from an old Context (with tetex 3.0) which doesn't mention the --paperformat switch. Is there a way to specify custom paper sizes or reductions for the paperformat, for those of us in countries that use non-sqrt(2)-aspect-ratio paper sizes? -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
participants (3)
-
Hans Hagen
-
Sanjoy Mahajan
-
Willi Egger