Last active
August 12, 2019 21:03
-
-
Save daverosoff/f9418bbf0a9a3c840731e169bf55583d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ptx-check() { | |
java\ | |
-classpath /home/vagrant/jing-trang/build\ | |
-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration\ | |
-jar /home/vagrant/jing-trang/build/jing.jar\ | |
/vagrant/mathbook/schema/pretext.rng "$1" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This utility function for PreTeXt schema validation is listed in the Author's Guide. It is due to @Jahrme. If you want to use it, you will probably need to make some changes to the paths
PTX_DIR
andJING_DIR
.