Quick start user guide
To get started with ptx2pdf you need XeTeX and the ptx2pdf macro package installed. (Instructions can be found here.) We have a sample project that can be downloaded here. ptx2pdf-sample-GLW.zip
A typical ptx2pdf project consists of:
- project file, this is the tex file that contains the references to all the files that are needed,
- setup file, this is a txt file that contains the user defined setups,
- usfm.sty, the standard USFM style sheet,
- one or more sfm file(s) containing the formated scripture(s)
The project file, e.g. GLW.tex
This file links the macros and the style sheet and the actual scripture file(s). The sample project file looks like this:
The setup file, e.g. GLW-setup.txt
This file contains the user accessible setups for this project. The sample project setup file looks like this:
Typesetting GLW.tex
To typeset GLW.tex open the file in your standard TeX editor to typeset or type in terminal: