comparison makeWeb.sh @ 110:a63e39fc3410

Add basic diacritic handling for LaTeX and web. It would be nice if everyone used UTF-8, but it doesn't look like that works at present.
author Jim Hague <jim.hague@acm.org>
date Thu, 15 Mar 2012 14:32:53 +0000
parents 689026e2de0c
children 295ba8275ab4
comparison
equal deleted inserted replaced
109:7cc689f59710 110:a63e39fc3410
35 35
36 # Now, for each tune, make the tune graphic and sound. 36 # Now, for each tune, make the tune graphic and sound.
37 find $booke -name "*.abc" | sort | 37 find $booke -name "*.abc" | sort |
38 while read filename 38 while read filename
39 do 39 do
40 title=`grep "^T:" $filename | head -1 | sed -e "s/^T: *//"` 40 title=`$dir/abctitle.py --html $filename`
41 name=`basename $filename .abc` 41 name=`basename $filename .abc`
42 42
43 # Copy tune PDF from common graphics. 43 # Copy tune PDF from common graphics.
44 cp $graphicsdir/${name}.pdf $webdir 44 cp $graphicsdir/${name}.pdf $webdir
45 45