[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 |
|
---|
| 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 |
|
---|
| 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"/>
|
---|
| 12 | <xsl:param name="fop.extensions" select="1"/>
|
---|
| 13 | <xsl:param name="draft.mode" select="'no'"/>
|
---|
| 14 |
|
---|
| 15 | <!-- Including our others customized templates -->
|
---|
| 16 | <xsl:include href="print/lfs-index.xsl"/>
|
---|
| 17 | <xsl:include href="print/lfs-pagesetup.xsl"/>
|
---|
| 18 |
|
---|
| 19 | <!-- Probably want to make the paper size configurable -->
|
---|
| 20 | <xsl:param name="paper.type" select="'letter'"/>
|
---|
| 21 |
|
---|
| 22 | <!-- Printing Style -->
|
---|
| 23 | <xsl:param name="double.sided" select="1"/>
|
---|
| 24 | <xsl:param name="hyphenate">true</xsl:param>
|
---|
| 25 | <xsl:param name="alignment">justify</xsl:param>
|
---|
| 26 |
|
---|
| 27 | <!-- Hyphenate links -->
|
---|
| 28 | <xsl:param name="ulink.hyphenate" select="' '"></xsl:param>
|
---|
| 29 |
|
---|
| 30 | <!-- Font size -->
|
---|
| 31 | <xsl:param name="body.font.master">8</xsl:param>
|
---|
| 32 | <xsl:param name="body.font.size">10pt</xsl:param>
|
---|
| 33 |
|
---|
| 34 | <!-- TOC stuff -->
|
---|
| 35 | <xsl:param name="generate.toc">
|
---|
| 36 | book toc
|
---|
| 37 | part nop
|
---|
| 38 | </xsl:param>
|
---|
| 39 | <xsl:param name="toc.section.depth">1</xsl:param>
|
---|
| 40 | <xsl:param name="generate.section.toc.level" select="-1"></xsl:param>
|
---|
| 41 | <xsl:param name="toc.indent.width" select="18"></xsl:param>
|
---|
| 42 |
|
---|
| 43 | <!-- Page number in Xref-->
|
---|
| 44 | <xsl:param name="insert.xref.page.number">yes</xsl:param>
|
---|
| 45 | <xsl:template match="*" mode="page.citation">
|
---|
| 46 | <xsl:param name="id" select="'???'"/>
|
---|
| 47 | <fo:inline keep-together.within-line="always">
|
---|
| 48 | <xsl:text>[p</xsl:text>
|
---|
| 49 | <fo:page-number-citation ref-id="{$id}"/>
|
---|
| 50 | <xsl:text>]</xsl:text>
|
---|
| 51 | </fo:inline>
|
---|
| 52 | </xsl:template>
|
---|
| 53 |
|
---|
| 54 | <!-- Prevent duplicate e-mails in the Acknowledgments pages-->
|
---|
| 55 | <xsl:param name="ulink.show" select="0"/>
|
---|
| 56 |
|
---|
| 57 | </xsl:stylesheet>
|
---|