echo "Validating GreekCommentaryLuke.xml"
xmlstarlet val -e -d tei_tc.dtd GreekCommentaryLuke.xml
echo "Creating Text HTML derivative (GreekCommentaryLuke.html)"
java -jar /home/thanneken/git/teic/Stylesheets/lib/saxon9he.jar -s:GreekCommentaryLuke.xml -xsl:tei2html.xsl -o:GreekCommentaryLuke.html -dtd:on
echo "Asking tidy to check and format"
tidy -qe GreekCommentaryLuke.html
tidy -qmi -w 200 GreekCommentaryLuke.html
echo "Creating IIIF Manifest (GreekCommentaryLuke.json)"
java -jar /home/thanneken/git/teic/Stylesheets/lib/saxon9he.jar -s:GreekCommentaryLuke.xml -xsl:tei2iiif.xsl -o:GreekCommentaryLuke.json -dtd:on
# echo "Creating IIIF Annotations (aXXX.json)"
# java -jar /home/thanneken/git/teic/Stylesheets/lib/saxon9he.jar -s:GreekCommentaryLuke.xml -xsl:tei2annotations.xsl -dtd:on
# echo "Creating Latex derivative (LatinMoses-auto.latex)"
# java -jar /home/thanneken/git/teic/Stylesheets/lib/saxon9he.jar -s:GreekCommentaryLuke.xml -xsl:tei2latex.xsl -o:GreekCommentaryLuke-auto.latex -dtd:on
# echo "Done deriving from LatinMoses.xml"
# xelatex LatinMoses.latex
# xelatex LatinMoses.latex
# xelatex LatinMoses.latex

