changeset 185:9dd24e61d6dd

When making A4 book, we don't need to do special A5 handling on Squeeze.
author Jim Hague <jim.hague@acm.org>
date Sat, 26 Jan 2013 18:40:04 +0000
parents c88c74d27d68
children 09a87d3f128c
files makeBookeA4.sh
diffstat 1 files changed, 2 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/makeBookeA4.sh	Sat Jan 26 18:35:02 2013 +0000
+++ b/makeBookeA4.sh	Sat Jan 26 18:40:04 2013 +0000
@@ -68,22 +68,8 @@
 
 cd $builddir
 
-# The version of xetex on Squeeze doesn't do pass the A5 landscape instruction
-# down to the PDF generator. So split out and do manually.
-#
-# And, sigh, this fails on Sid. The first page comes out as A4 portrait.
-# So try to work out which we are using and run the appropriate command.
-ver=`xetex -version | head -n 1`
-ver=${ver/*TeX Live /}
-ver=${ver/\/*/}
-if [ "$ver" == "2009" ]; then
-    xelatex -no-pdf $output
-    xelatex -no-pdf $output
-    xdvipdfmx -p a5 -l $outputxdv
-else
-    xelatex $output
-    xelatex $output
-fi
+xelatex $output
+xelatex $output
 
 mv $outputpdf $dir/$1-A4.pdf