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