forked from CryHavoc/dottes
Produce an A4 PDF document with the A5 pages in booklet form.
Print the A4 with long edge duplex to get a ready booklet.
This commit is contained in:
parent
97e0488f5e
commit
9f3510c4b2
|
@ -0,0 +1,14 @@
|
|||
%
|
||||
% Take the A5 landscape dottes.pdf and produce a second PDF
|
||||
% formatted for A4 portrait, which two pages per A4 page,
|
||||
% and ordered for booklet printing.
|
||||
%
|
||||
% Print the resulting PDF with long side duplex.
|
||||
%
|
||||
\documentclass[a4paper,final]{article}
|
||||
\usepackage{pdfpages}
|
||||
\usepackage{ifpdf,ifxetex}
|
||||
|
||||
\begin{document}
|
||||
\includepdf[pages=-, nup=1x2, booklet=true]{build/dottes.pdf}
|
||||
\end{document}
|
|
@ -42,3 +42,6 @@ cat dottes.tex.footer >> $builddir/$output
|
|||
cd $builddir
|
||||
pdflatex -shell-escape $output
|
||||
pdflatex -shell-escape $output
|
||||
|
||||
cd $dir
|
||||
pdflatex dottesona4.tex
|
||||
|
|
Loading…
Reference in New Issue