[ded6ddd] | 1 | <?xml version='1.0' encoding='ISO-8859-1'?>
|
---|
| 2 |
|
---|
[287ea55] | 3 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
| 4 | xmlns:fo="http://www.w3.org/1999/XSL/Format"
|
---|
| 5 | version="1.0">
|
---|
| 6 |
|
---|
| 7 | <!-- We use FO and FOP as the processor -->
|
---|
| 8 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/fo/docbook.xsl"/>
|
---|
| 9 | <xsl:param name="fop.extensions" select="1"/>
|
---|
| 10 | <xsl:param name="draft.mode" select="'no'"/>
|
---|
[ded6ddd] | 11 |
|
---|
| 12 | <!-- Including our others customized templates -->
|
---|
| 13 | <xsl:include href="pdf/lfs-index.xsl"/>
|
---|
| 14 | <xsl:include href="pdf/lfs-pagesetup.xsl"/>
|
---|
| 15 |
|
---|
[287ea55] | 16 | <!-- Probably want to make the paper size configurable -->
|
---|
| 17 | <xsl:param name="paper.type" select="'A4'"/>
|
---|
| 18 |
|
---|
[ded6ddd] | 19 | <!-- Don't hyphenate -->
|
---|
| 20 | <xsl:param name="hyphenate">false</xsl:param>
|
---|
| 21 | <xsl:param name="alignment">left</xsl:param>
|
---|
[287ea55] | 22 |
|
---|
| 23 | <!-- Font size -->
|
---|
| 24 | <xsl:param name="body.font.master">8</xsl:param>
|
---|
| 25 | <xsl:param name="body.font.size">10pt</xsl:param>
|
---|
| 26 |
|
---|
[ded6ddd] | 27 | <!-- Graphics in admonitions -->
|
---|
| 28 | <xsl:param name="admon.graphics" select="1"/>
|
---|
| 29 | <xsl:param name="admon.graphics.path"
|
---|
| 30 | select="'/usr/share/xml/docbook/xsl-stylesheets-1.65.1/images/'"/>
|
---|
| 31 |
|
---|
| 32 | <!-- Shade screen -->
|
---|
| 33 | <xsl:param name="shade.verbatim" select="1"/>
|
---|
[287ea55] | 34 |
|
---|
[ded6ddd] | 35 | <!-- TOC generation -->
|
---|
[287ea55] | 36 | <xsl:param name="generate.toc">
|
---|
| 37 | book toc
|
---|
| 38 | part nop
|
---|
| 39 | </xsl:param>
|
---|
| 40 | <xsl:param name="toc.section.depth">1</xsl:param>
|
---|
[ded6ddd] | 41 | <xsl:param name="generate.section.toc.level" select="-1"/>
|
---|
| 42 | <xsl:param name="toc.indent.width" select="18"/>
|
---|
[287ea55] | 43 |
|
---|
| 44 | <!-- Page number in Xref-->
|
---|
| 45 | <xsl:param name="insert.xref.page.number">yes</xsl:param>
|
---|
[ded6ddd] | 46 | <xsl:template match="*" mode="page.citation">
|
---|
| 47 | <xsl:param name="id" select="'???'"/>
|
---|
| 48 | <fo:inline keep-together.within-line="always">
|
---|
| 49 | <xsl:text>[p.</xsl:text>
|
---|
| 50 | <fo:page-number-citation ref-id="{$id}"/>
|
---|
| 51 | <xsl:text>]</xsl:text>
|
---|
| 52 | </fo:inline>
|
---|
[287ea55] | 53 | </xsl:template>
|
---|
| 54 |
|
---|
| 55 | <!-- Prevent duplicate e-mails in the Acknowledgments pages-->
|
---|
| 56 | <xsl:param name="ulink.show" select="0"/>
|
---|
| 57 |
|
---|
| 58 | </xsl:stylesheet>
|
---|