source: stylesheets/lfs-print.xsl@ fc26c03

6.0
Last change on this file since fc26c03 was a9e89d0, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

HEAD: StyleSheets - unified the identation to use spaces.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3663 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 1.8 KB
Line 
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 <!-- We use FO and FOP as the processor -->
7 <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/fo/docbook.xsl"/>
8 <xsl:param name="fop.extensions" select="1"/>
9 <xsl:param name="draft.mode" select="'no'"/>
10
11 <!-- Including our others customized templates -->
12 <xsl:include href="print/lfs-index.xsl"/>
13 <xsl:include href="print/lfs-pagesetup.xsl"/>
14
15 <!-- Probably want to make the paper size configurable -->
16 <xsl:param name="paper.type" select="'A4'"/>
17
18 <!-- Printing Style -->
19 <xsl:param name="double.sided" select="1"/>
20 <xsl:param name="hyphenate">true</xsl:param>
21 <xsl:param name="alignment">justify</xsl:param>
22
23 <!-- Hyphenate links -->
24 <xsl:param name="ulink.hyphenate" select="' '"></xsl:param>
25
26 <!-- Font size -->
27 <xsl:param name="body.font.master">8</xsl:param>
28 <xsl:param name="body.font.size">10pt</xsl:param>
29
30 <!-- TOC stuff -->
31 <xsl:param name="generate.toc">
32 book toc
33 part nop
34 </xsl:param>
35 <xsl:param name="toc.section.depth">1</xsl:param>
36 <xsl:param name="generate.section.toc.level" select="-1"></xsl:param>
37 <xsl:param name="toc.indent.width" select="18"></xsl:param>
38
39 <!-- Page number in Xref-->
40 <xsl:param name="insert.xref.page.number">yes</xsl:param> <xsl:template match="*" mode="page.citation">
41 <xsl:param name="id" select="'???'"/>
42 <fo:inline keep-together.within-line="always">
43 <xsl:text>[p</xsl:text>
44 <fo:page-number-citation ref-id="{$id}"/>
45 <xsl:text>]</xsl:text>
46 </fo:inline>
47 </xsl:template>
48
49 <!-- Prevent duplicate e-mails in the Acknowledgments pages-->
50 <xsl:param name="ulink.show" select="0"/>
51
52</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.