ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Arragning pdf-pages
@ 2006-08-29 19:50 Willi Egger
  2006-08-29 20:38 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Willi Egger @ 2006-08-29 19:50 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Arragning pdf-pages
  2006-08-29 19:50 Arragning pdf-pages Willi Egger
@ 2006-08-29 20:38 ` Hans Hagen
  2006-08-29 22:38   ` Sanjoy Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2006-08-29 20:38 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Arragning pdf-pages
  2006-08-29 20:38 ` Hans Hagen
@ 2006-08-29 22:38   ` Sanjoy Mahajan
  0 siblings, 0 replies; 3+ messages in thread
From: Sanjoy Mahajan @ 2006-08-29 22:38 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-29 22:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-29 19:50 Arragning pdf-pages Willi Egger
2006-08-29 20:38 ` Hans Hagen
2006-08-29 22:38   ` Sanjoy Mahajan

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