In general, assuming 3-ring binding, we want the folio (page number) opposite the binding edge; on the outside for all portrait pages; and on the right for all landscape pages.
In the diagrams above,
is the last modification
timestamp of the file;
is the absolute path to its
directory; and the
has the form
is the file's
the page number, and
is the total number of pages.
These are the critical dimensions; for the current values, see Section 8, “Manifest constants”.
|Size of the margin on the bound (hole-punched) side.|
|For multi-column output, the separation between the columns.|
|Height of the running head and the space below it.|
|Size of the narrow margin perpendicular to the bound/unbound axis.|
|Size of the margin on the unbound (not hole-punched) side.|
The various options affect not only the setup of page masters, but also the generation of body pages. The logic that breaks long lines must know how many characters will fit in the width of each column, and that is a function of the command line arguments.
XSL-FO does multi-column output easily, so long as all
the columns are the same width. In each
region-body has a
column-count attribute that may be
any integer, and a
that specifies the distance between columns.
To get a hairline vertical rule at the left side of each
column, we wrap the entire content of the XSL-FO
flow element in a
border-left-width='0.4pt', while setting the other
three border widths to zero.