# HG changeset patch # User Jim Hague # Date 1333536749 -3600 # Node ID 8f3b50ede59c4eb728734d599604efd5e8dc9ffe # Parent 9ccdb7c3ec4521cc793eb93cff3295b41356dd62 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. diff -r 9ccdb7c3ec45 -r 8f3b50ede59c dottes.tex.header --- 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} diff -r 9ccdb7c3ec45 -r 8f3b50ede59c makeBooke.sh --- 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 diff -r 9ccdb7c3ec45 -r 8f3b50ede59c makeGraphics.sh --- 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.