diff --git a/makeBookeA4.sh b/makeBookeA4.sh index 6c295b8..8c4d2a4 100755 --- a/makeBookeA4.sh +++ b/makeBookeA4.sh @@ -68,22 +68,8 @@ cat dottes.tex.footer >> $builddir/$output 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