Section 28.1 Electronic versus Print
pretext-latex.xsl can produce two very similar outputs. Each is a file in LaTeX syntax, which can be converted to a PDF with a LaTeX executable (“engine”). However, there are two purposes for such a PDF. The first is a document which is meant to be read on a screen. We call this an electronic PDF. The second is meant to be printed as a physical book, so it would be the file you provide to a copy shop, campus bookstore, or print-on-demand service (see Chapter 41). We call this a print PDF. So as you read this, keep in mind that the LaTeX conversion is really two-converters-in-one.
As an illustration of the difference, an electronic PDF will contain cross-references that are active, and colored to be obvious to the reader. For the print PDF the same cross-reference will be black, inactive, and by default contain the page number of the target.
The publisher file entry
latex/@print controls the selection of the two output modes of this single stylesheet. The default is
no for the electronic version, and
yes will change to the print version. See Subsection 40.3.1 for the specifics of this entry.
In this chapter, we describe both of these two conversions together, since they are only slightly dissimilar.