To compile a file, first make sure you are in the directory in your Git Bash shell which contains the file to be compiled.
mathbookfolders are in your default directory on your local machine, you can always start off your
xsltproccompilation commands with
~/xsltproc/xsltproc --xinclude ~/mathbook/xsl/mathbook-html.xsl(for HTML),
~/xsltproc/xsltproc --xinclude ~/mathbook/xsl/mathbook-html.xsl(for LaTeX),
and simply append the name of your PTX (XML) file. If you have installed or moved one or both of these directories elsewhere, you will need to change the path(s) to
xsltproc.exeand/or to the
xslfile in the command.
You can always compile your LaTeX file to PDF by typing
pdflatexand appending the name of your LaTeX file (provided you're in the directory containing your LaTeX file).