Section 42.3 PDF (LaTeX) Options
These options affect the conversion to LaTeX, which can in turn be converted into PDF. See Chapter 29 for a more general overview of this conversion with more details. This includes some existing options that will eventually migrate to the publication file.
Subsection 42.3.1 LaTeX Print Option
The conversion to LaTeX can produce a PDF optimized for print, or optimized for use electronically on a screen. The
/publication/latex/@print
attribute can have the value yes
to produce a print version, or the value no
to produce an electronic version. The default is an electronic version. See Section 29.1 for more detail.
Subsection 42.3.2 LaTeX Sides Option
The conversion to LaTeX can produce a PDF designed for printing on only one side of the page, or on both sides of the page. The
/publication/latex/@sides
attribute can have the value one
for a one-sided version, or the value two
to produce a two-sided version. The default depends on if the output is electronic (one-sided) or print (two-sided). See Section 29.3 for more detail.
Subsection 42.3.3 LaTeX Page Options
The following options affect the “shape” of each page, so are in a way less “global” than some of the previous options. These are all attributes of the
/publication/latex/page
element.
-
Text Alignment, Right Edge.
Set
/publication/latex/page/@right-alignment
to values
flush
(default) orragged
to influence the right edge of the block of text on a page. See Section 29.2 for more. -
Text Alignment, Bottom Edge.
Set
/publication/latex/page/@bottom-alignment
to values
flush
orragged
(default) to influence the bottom edge of the block of text on a page. See Section 29.2 for more.
Subsection 42.3.4 LaTeX Worksheet Options
By default, worksheets are formatted differently than other pages, including customizable margins, workspace between exercises, and on their own pages. This separate formatting can be ignored, causing worksheets to be treated like any other division, using the
/publication/latex/worksheet/@formatted
attribute, setting the value to no
. The default value is yes
.
Subsection 42.3.5 LaTeX Asymptote Links
The conversion to LaTeX can provide a link to an HTML version of each Asymptote graphic. The
/publication/latex/asymptote/@links
attribute can have the value yes
to produce links, or the value no
to not create links. Note that a base URL must be set for this feature to be functional (Subsection 28.1.3). The default is no
. See Section 29.5 for more detail.