DEST="/documents and settings/william zeitler/my documents/prj/websites/faithfulbible.com/dw" # create the PDF # NOTE: we ALWAYS need to update the PDF #texify -p w-FaithfulNT.tex #cp w-FaithfulNT.pdf "$DEST/FaithfulNT.pdf" # create the HTML # NOTE: Only update the HTML as necessary #rm *.htm for i in *.tex do if [ $i == "w-*" ] then continue; fi j=`echo $i | sed 's/.tex//'` echo $j if [ $i -nt $j.htm ] then # strip/cleanup the ugly footnotes that tth generates /tth/tth Footnotes:##' | \ grep -v '


File translated from' | \ grep -v 'TEX' | \ grep -v 'by ' | \ grep -v 'TTH,' | \ grep -v 'version 3.60.$j.htm # cp $j.htm "$DEST/nt" fi done