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