Section 2.4 For Advanced Users New to PreTeXt
This section is intended for users who have read Chapter 1 and are already experienced with other open-source software projects or command-line tools. If you’re more interested in a browser-based workflow to getting started with PreTeXt, check out Section 2.1.
PreTeXt is an open-source XML language primarily powered by XSLT and Python tools.
1
en.wikipedia.org/wiki/XML
2
en.wikipedia.org/wiki/XSLT
3
en.wikipedia.org/wiki/Python_(programming_language)
For new authors comfortable working on the command line who want to use their favorite text editor or IDE, we recommend
pip install
ing the PreTeXt-CLI from the Python Package Index. Section 5.2 has these details, and pretext -h
and pretext CMD -h
are at your disposal as well after installation.Some context for experienced Python developers: PreTeXt development is primarily split over two GitHub repositories: PreTeXtBook/pretext for the “core” functionality of PreTeXt, and the more recent PreTeXtBook/pretext-cli that packages up these resources into a Python package with several UX enhancements such as a simplified command line interface and project management that does not require the use of custom makefiles.
4
github.com/PreTeXtBook/pretext
5
github.com/PreTeXtBook/pretext-cli
If you’re interested in potentially contributing back to PreTeXt someday, please feel free to request to join our developer Google Group and say hello!
6
groups.google.com/g/pretext-dev