changeset 118:8f3b50ede59c

Switch to XeTeX to render. Opens up random OpenType fonts and UTF-8. Also switch to Times New Roman for the main text. The music is set with Postscript Times, so this is the easy approach to better typographic consistency.
author Jim Hague <jim.hague@acm.org>
date Wed, 04 Apr 2012 11:52:29 +0100
parents 9ccdb7c3ec45
children 15ce1ecb5ba3
files dottes.tex.header makeBooke.sh makeGraphics.sh
diffstat 3 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/dottes.tex.header	Fri Mar 16 10:40:16 2012 +0000
+++ b/dottes.tex.header	Wed Apr 04 11:52:29 2012 +0100
@@ -1,7 +1,6 @@
 \documentclass[a5paper,landscape,11pt]{article}
+\usepackage{fontspec}
 \usepackage{graphicx}
-\usepackage{helvet}
-\usepackage{newcent}
 \usepackage{fancyhdr}
 \usepackage{longtable}
 
@@ -19,6 +18,11 @@
 
 \def \build {\input{buildno.txt}}
 
+% ----- Appearance
+
+%\setmainfont{Century Schoolbook L}
+\setmainfont{Times New Roman}
+
 % ----- Page setup
 
 \setlength{\parindent}{0pt}
--- a/makeBooke.sh	Fri Mar 16 10:40:16 2012 +0000
+++ b/makeBooke.sh	Wed Apr 04 11:52:29 2012 +0100
@@ -66,9 +66,9 @@
 cp $outputa4 $builddir
 
 cd $builddir
-pdflatex $output
-pdflatex $output
-pdflatex $outputa4
+xelatex $output
+xelatex $output
+xelatex $outputa4
 
 mv $outputpdf $dir/$1.pdf
 mv $outputa4pdf $dir/${1}-booklet.pdf
--- a/makeGraphics.sh	Fri Mar 16 10:40:16 2012 +0000
+++ b/makeGraphics.sh	Wed Apr 04 11:52:29 2012 +0100
@@ -26,7 +26,7 @@
         abcm2ps -j0 +c -n -E -O $graphicsdir/$name.eps $filename
         # Make $name.eps so we can build with LaTeX.
         mv $graphicsdir/${name}001.eps $graphicsdir/${name}.eps
-        # And make the corresponding PDF for pdflatex.
+        # And make the corresponding PDF.
         epstopdf --outfile=$graphicsdir/$name.pdf $graphicsdir/${name}.eps
 
         # and make the first line graphic.