Hartmut Haase schrieb:
Hi,
I want to print A4 pages on A3 in a newspaper fashion, i. e. the sequence should be:
page 1 page n
page n-1 page 2
page 3 page n-2
...
Is that with LyX or LaTeX possible? If yes, how?

from within LyX create a new document, write in preamble:


\usepackage{pdfpages}
\usepackage{geometry}

\EveryShipout{%
\ifodd\the\value{page}\else
  \pdfpageattr{/Rotate 270}
\fi}

and as text:

\includepdf[pages=-,nup=1x2,landscape]{file.pdf}

it is also possible with the ps or pdf file. You can change
the book4 skript, which prints a4 as a5 in a book
style.

#!/bin/sh
# script for book generation.
# Examples of use:
#
#  man -t  | book4 | lpr -P
#      This will print the man pages in book format and
#      both sides. If you need file out, say:
#  man -t  | book4 > out.ps
#  cat name.ps | book4 > name2.ps    #  ps-file to book-format
#  book4 name.ps | lpr               #  same

#PATH=/usr/local/bin:/usr/bin:/bin
#export PATH

PSBOOK=/usr/bin/psbook
PSNUP=/usr/bin/psnup
PSTOPS=/usr/bin/pstops

if test $# -gt 0; then
   for N in $*; do
      $PSBOOK -q $N | $PSNUP -q -2 | $PSTOPS -q "2:0,1U(1w,1h)"
   done
else
   $PSBOOK -q | $PSNUP -q -2 | $PSTOPS -q "2:0,1U(1w,1h)"
fi


the same is possible with


psbook document.ps | pstops -pa4 4:[EMAIL PROTECTED](21cm,00)[EMAIL PROTECTED](21cm,14.8cm),[EMAIL PROTECTED](21cm,00)[EMAIL PROTECTED](21cm,14.8cm) > output.ps


Herbert





Reply via email to