From 743543501c688432a87b4d1be8984293ea58224d Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Wed, 4 Apr 2012 11:52:29 +0100 Subject: [PATCH] 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. --- dottes.tex.header | 8 ++++++-- makeBooke.sh | 6 +++--- makeGraphics.sh | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/dottes.tex.header b/dottes.tex.header index 33feeee..d218813 100644 --- a/dottes.tex.header +++ b/dottes.tex.header @@ -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 --git a/makeBooke.sh b/makeBooke.sh index 5afaa61..45ffab8 100755 --- a/makeBooke.sh +++ b/makeBooke.sh @@ -66,9 +66,9 @@ cat dottes.tex.footer >> $builddir/$output 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 --git a/makeGraphics.sh b/makeGraphics.sh index 604b38a..86cd457 100755 --- a/makeGraphics.sh +++ b/makeGraphics.sh @@ -26,7 +26,7 @@ find $booke -name "*.abc" | sort | 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.