2004-05-08 15:19:53 +01:00
|
|
|
<?xml version='1.0' encoding='ISO-8859-1'?>
|
|
|
|
|
2004-05-03 11:33:11 +01:00
|
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
|
xmlns:fo="http://www.w3.org/1999/XSL/Format"
|
|
|
|
version="1.0">
|
|
|
|
|
|
|
|
<!-- We use FO and FOP as the processor -->
|
|
|
|
<xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/fo/docbook.xsl"/>
|
|
|
|
<xsl:param name="fop.extensions" select="1"/>
|
|
|
|
<xsl:param name="draft.mode" select="'no'"/>
|
2004-05-08 15:19:53 +01:00
|
|
|
|
|
|
|
<!-- Including our others customized templates -->
|
|
|
|
<xsl:include href="pdf/lfs-index.xsl"/>
|
|
|
|
<xsl:include href="pdf/lfs-pagesetup.xsl"/>
|
|
|
|
|
2004-05-03 11:33:11 +01:00
|
|
|
<!-- Probably want to make the paper size configurable -->
|
|
|
|
<xsl:param name="paper.type" select="'A4'"/>
|
|
|
|
|
2004-05-08 15:19:53 +01:00
|
|
|
<!-- Don't hyphenate -->
|
|
|
|
<xsl:param name="hyphenate">false</xsl:param>
|
|
|
|
<xsl:param name="alignment">left</xsl:param>
|
2004-05-03 11:33:11 +01:00
|
|
|
|
|
|
|
<!-- Font size -->
|
|
|
|
<xsl:param name="body.font.master">8</xsl:param>
|
|
|
|
<xsl:param name="body.font.size">10pt</xsl:param>
|
|
|
|
|
2004-05-08 15:19:53 +01:00
|
|
|
<!-- Graphics in admonitions -->
|
|
|
|
<xsl:param name="admon.graphics" select="1"/>
|
|
|
|
<xsl:param name="admon.graphics.path"
|
|
|
|
select="'/usr/share/xml/docbook/xsl-stylesheets-1.65.1/images/'"/>
|
|
|
|
|
|
|
|
<!-- Shade screen -->
|
|
|
|
<xsl:param name="shade.verbatim" select="1"/>
|
2004-05-03 11:33:11 +01:00
|
|
|
|
2004-05-08 15:19:53 +01:00
|
|
|
<!-- TOC generation -->
|
2004-05-03 11:33:11 +01:00
|
|
|
<xsl:param name="generate.toc">
|
|
|
|
book toc
|
|
|
|
part nop
|
|
|
|
</xsl:param>
|
|
|
|
<xsl:param name="toc.section.depth">1</xsl:param>
|
2004-05-08 15:19:53 +01:00
|
|
|
<xsl:param name="generate.section.toc.level" select="-1"/>
|
|
|
|
<xsl:param name="toc.indent.width" select="18"/>
|
2004-05-03 11:33:11 +01:00
|
|
|
|
|
|
|
<!-- Page number in Xref-->
|
|
|
|
<xsl:param name="insert.xref.page.number">yes</xsl:param>
|
2004-05-08 15:19:53 +01:00
|
|
|
<xsl:template match="*" mode="page.citation">
|
|
|
|
<xsl:param name="id" select="'???'"/>
|
|
|
|
<fo:inline keep-together.within-line="always">
|
|
|
|
<xsl:text>[p.</xsl:text>
|
|
|
|
<fo:page-number-citation ref-id="{$id}"/>
|
|
|
|
<xsl:text>]</xsl:text>
|
|
|
|
</fo:inline>
|
2004-05-03 11:33:11 +01:00
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<!-- Prevent duplicate e-mails in the Acknowledgments pages-->
|
|
|
|
<xsl:param name="ulink.show" select="0"/>
|
|
|
|
|
|
|
|
</xsl:stylesheet>
|