Skip to main content

Section 42.3 PDF () Options

These options affect the conversion to , 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 Print Option

The conversion to 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 Sides Option

The conversion to 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 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) or ragged 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 or ragged (default) to influence the bottom edge of the block of text on a page. See Section 29.2 for more.

Subsection 42.3.4 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.