diff --git a/makeWeb.sh b/makeWeb.sh index a108da7..af6e038 100755 --- a/makeWeb.sh +++ b/makeWeb.sh @@ -50,6 +50,10 @@ find $bookedir -name "*.abc" | sort | title=`$dir/abcfield.py --field T --html $filename` name=`basename $filename .abc` + # Restore titles like 'Exploding Potato, The' to the + # expected 'The Exploding Potato'. + title=`echo $title | sed -e "s/\(.*\), *\(.*\)/\2 \1/"` + # Copy tune PDF from common graphics. cp $graphicsdir/${name}.pdf $webdir