|
| 1 | +<?xml version="1.0" encoding="ISO-8859-1"?> |
| 2 | + |
| 3 | +<xsl:stylesheet version="1.0" |
| 4 | +xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
| 5 | + |
| 6 | +<!-- TLDP Print XSL; generate Formatting Objects (FO) for print outputs |
| 7 | + This is a small customization layer on top of upstream |
| 8 | + docbook-xsl-stylesheets. Since the XML_CATALOG_FILES will locate |
| 9 | + the installed version of the required import resources, we will use |
| 10 | + the system identifier in the xsl:import line. |
| 11 | + --> |
| 12 | +<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/> |
| 13 | + |
| 14 | +<!-- Number all sections in the style of 'CH.S1.S2 Section Title' where |
| 15 | + CH is the chapter number, S1 is the section number and S2 is the |
| 16 | + sub-section number. The lables are not limited to any particular |
| 17 | + depth and can go as far as there are sections. --> |
| 18 | +<xsl:param name="section.autolabel" select="1"></xsl:param> |
| 19 | +<xsl:param name="section.label.includes.component.label" select="0"></xsl:param> |
| 20 | + |
| 21 | +<!-- Turn off the default 'full justify' and go with 'left justify' |
| 22 | + instead. This avoids the large gaps that can sometimes appear |
| 23 | + between words in fully-justified documents. --> |
| 24 | +<xsl:param name="alignment">start</xsl:param> |
| 25 | + |
| 26 | +<!-- Shade Verbatim Sections such as programlisting and screen --> |
| 27 | +<xsl:param name="shade.verbatim" select="1"/> |
| 28 | + |
| 29 | +<!-- Create bookmarks in .PDF files --> |
| 30 | +<xsl:param name="fop.extensions" select="0"/> |
| 31 | + |
| 32 | +<!-- Use fop1 extensions, per |
| 33 | + https://lists.oasis-open.org/archives/docbook-apps/201110/msg00080.html |
| 34 | + --> |
| 35 | +<xsl:param name="fop1.extensions" select="1"/> |
| 36 | + |
| 37 | +</xsl:stylesheet> |
0 commit comments