# HG changeset patch # User Jim Hague # Date 1361227066 0 # Node ID 9502f48830061d1483c0f3cca85b7d79b0ae0ed4 # Parent 9da75d87e93b7934aa5ce0bfd90c0a926164cf25 When listing titles for web, straighten out ones of the form 'Something, The'. Basically anything with a ', ' has than removed and the first prepended. diff -r 9da75d87e93b -r 9502f4883006 makeWeb.sh --- a/makeWeb.sh Mon Feb 18 22:06:17 2013 +0000 +++ b/makeWeb.sh Mon Feb 18 22:37:46 2013 +0000 @@ -50,6 +50,10 @@ 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