changeset 21:b61b090cd4c7

Produce an A4 PDF document with the A5 pages in booklet form. Print the A4 with long edge duplex to get a ready booklet.
author Jim Hague <jim.hague@acm.org>
date Wed, 29 Feb 2012 14:05:18 +0000
parents 2866b36787ec
children 8c24efa0e808
files dottesona4.tex makeBooke.sh
diffstat 2 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dottesona4.tex	Wed Feb 29 14:05:18 2012 +0000
@@ -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}
--- a/makeBooke.sh	Wed Feb 29 14:03:03 2012 +0000
+++ b/makeBooke.sh	Wed Feb 29 14:05:18 2012 +0000
@@ -42,3 +42,6 @@
 cd $builddir
 pdflatex -shell-escape $output
 pdflatex -shell-escape $output
+
+cd $dir
+pdflatex dottesona4.tex