Section L.2 Installing xsltproc
Subsection L.2.1 xsltproc binaries
This is the most annoying part of the installation. Obtain four zip archives from Igor Zlatkovic’s FTP site that hosts the most recent Libxml binaries for Windows. At the time of this writing, the 64-bit binaries were considered experimental. I have had no trouble using the 32-bit binaries on my 64-bit Windows 7 system, so I suggest that all PreTeXt users download the most recent 32-bit version of the following libraries:
1
ftp://ftp.zlatkovic.com/libxml
We only need a handful of files from these archives. So the simplest thing is to leave them in your Downloads folder and grab what we need. Create a new folder
C:\xsltproc
(it can be anywhere, as long as it’s a new location). We’ll call this location <xsltproc>
in case you named your folder something different.Extract the following files from the four zip archives you downloaded above into
<xsltproc>
:Subsection L.2.2 Change PATH environment variable
Note: if you prefer not to meddle with this, it can be avoided. Now, we need to make sure your system can find these files when we need them.
Congratulations, you have successfully installed
xsltproc
.Note that you have installed the
xmllint
utility as part of this procedure. This utility will allow some text editors to lint your PreTeXt files, that is, to automatically detect and highlight errors, and perhaps even to explain them.