Section 41.1 Preparation
We do not encourage authors to make small adjustments in style, especially if they have few skills in book design. Instead, they should choose a design built by others that will fit their needs and desires. We do encourage publishers with design skills to create complete and harmonious designs, and to donate these back to PreTeXt with an open license, for use by all authors. This chapter assumes you are such a publisher. Further, it assumes you have certain technical skills. Specifically
- Good familiarity with basic TeX and LaTeX.
- The ability to debug LaTeX compilations gone bad.
- Willingness to study several LaTeX packages that may be new to you.
- Willingess to mimic and experiment with basic eXtensible Stylsheet Language (XSL).
Fortunately, it is easy to start small, get good results, and expand your skills further.
Begin by creating a file that is a new XSL stylesheet. You can likely safely copy a mature one from the
xsl/latexdirectory. Be certain to keep the first few declarations. The
<xsl:import>is critical, since it will “pull in” all the basic code for the PreTeXt conversion to LaTeX. You will be overriding and appending to that code (which PreTeXt has made straightforward). You can start with an absolute path from your filesystem root, but once public a relative path will be necessary. Remove all of the
<xsl:template>elements, leaving a hollow shell to begin working with.