source: stylesheets/lfs-print.xsl@ 4066cbe

6.0
Last change on this file since 4066cbe was 4066cbe, checked in by Gerard Beekmans <gerard@…>, 20 years ago

Fixed typo in stylesheet

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

  • Property mode set to 100644
File size: 2.0 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 <!-- Paper size required by the publisher -->
16 <xsl:param name="paper.type" select="'Customized'"/>
17 <xsl:param name="page.width">7.25in</xsl:param>
18 <xsl:param name="page.height">9.25in</xsl:param>
19
20 <!-- Printing Style -->
21 <xsl:param name="double.sided" select="1"/>
22 <xsl:param name="hyphenate">false</xsl:param>
23 <xsl:param name="alignment">justify</xsl:param>
24
25 <!-- Font size -->
26 <xsl:param name="body.font.master">6</xsl:param>
27 <xsl:param name="body.font.size">8pt</xsl:param>
28
29 <!-- TOC stuff -->
30 <xsl:param name="generate.toc">
31 book toc
32 part nop
33 </xsl:param>
34 <xsl:param name="toc.section.depth">1</xsl:param>
35 <xsl:param name="generate.section.toc.level" select="-1"></xsl:param>
36 <xsl:param name="toc.indent.width" select="18"></xsl:param>
37
38 <!-- Page number in Xref-->
39 <xsl:param name="insert.xref.page.number">no</xsl:param>
40 <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 <!-- Sections numbering -->
53 <xsl:param name="section.autolabel" select="1"/>
54 <xsl:param name="section.label.includes.component.label" select="1"/>
55
56</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.