mirror of https://github.com/tLDP/LDP
much newer tools require param changes
fop.extensions are no longer supported, deprecated fop1.extensions are required when handling some of our documents which contain all sorts of features; citations for choices are in the XSL shade.verbatim is just to make FOP output look more like other LDP PDFs
This commit is contained in:
parent
8a83e582a0
commit
439e8f80aa
|
@ -11,8 +11,30 @@
|
||||||
|
|
||||||
<!-- Change this to the path to where you have installed Norman
|
<!-- Change this to the path to where you have installed Norman
|
||||||
Walsh's XSL stylesheets. -->
|
Walsh's XSL stylesheets. -->
|
||||||
<xsl:import href="/usr/share/sgml/docbook/docbook-xsl-1.41/fo/docbook.xsl"/>
|
<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/current/fo/docbook.xsl"/>
|
||||||
|
|
||||||
|
<!-- Number all sections in the style of 'CH.S1.S2 Section Title' where
|
||||||
|
CH is the chapter number, S1 is the section number and S2 is the
|
||||||
|
sub-section number. The lables are not limited to any particular
|
||||||
|
depth and can go as far as there are sections. -->
|
||||||
|
<xsl:param name="section.autolabel" select="1"></xsl:param>
|
||||||
|
<xsl:param name="section.label.includes.component.label" select="0"></xsl:param>
|
||||||
|
|
||||||
|
<!-- Turn off the default 'full justify' and go with 'left justify'
|
||||||
|
instead. This avoids the large gaps that can sometimes appear
|
||||||
|
between words in fully-justified documents. -->
|
||||||
|
<xsl:param name="alignment">start</xsl:param>
|
||||||
|
|
||||||
|
<!-- Shade Verbatim Sections such as programlisting and screen -->
|
||||||
|
<xsl:param name="shade.verbatim" select="1"/>
|
||||||
|
|
||||||
|
<!-- Create bookmarks in .PDF files -->
|
||||||
|
<xsl:param name="fop.extensions" select="0"/>
|
||||||
|
|
||||||
|
<!-- Use fop1 extensions, per
|
||||||
|
https://lists.oasis-open.org/archives/docbook-apps/201110/msg00080.html
|
||||||
|
-->
|
||||||
|
<xsl:param name="fop1.extensions" select="1"/>
|
||||||
|
|
||||||
<!-- Customized parameters and templates go here. -->
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
|
Loading…
Reference in New Issue