changeset 254:bd69673595d0

Run Latex a third time to get the page numbers right. If the page of contents goes over a page, a third run of Latex is necessary to get the page numbers right.
author Jim Hague <jim.hague@acm.org>
date Sat, 15 Jun 2013 14:21:47 +0100
parents 1d0cc9a016db
children e8ae4d29b52f
files makeBookeA4.sh makeBookeA5.sh
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/makeBookeA4.sh	Sat Jun 15 00:20:39 2013 +0100
+++ b/makeBookeA4.sh	Sat Jun 15 14:21:47 2013 +0100
@@ -95,6 +95,7 @@
 
 xelatex $output
 xelatex $output
+xelatex $output
 
 mv $outputpdf $dir/$1-A4.pdf
 
--- a/makeBookeA5.sh	Sat Jun 15 00:20:39 2013 +0100
+++ b/makeBookeA5.sh	Sat Jun 15 14:21:47 2013 +0100
@@ -109,10 +109,12 @@
 if [ "$ver" == "2009" ]; then
     xelatex -no-pdf $output
     xelatex -no-pdf $output
+    xelatex -no-pdf $output
     xdvipdfmx -p a5 -l $outputxdv
 else
     xelatex $output
     xelatex $output
+    xelatex $output
 fi
 xelatex $outputa4