source: stylesheets/lfs-print.xsl@ e119983

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

Ported the last changes in the stylesheets from trunk to testing.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@3930 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 <!-- Paper size required by the publisher -->
16 <xsl:param name="paper.type" select="'Cunstommized'"/>
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">yes</xsl:param> <xsl:template match="*" mode="page.citation">
40 <xsl:param name="id" select="'???'"/>
41 <fo:inline keep-together.within-line="always">
42 <xsl:text>[p</xsl:text>
43 <fo:page-number-citation ref-id="{$id}"/>
44 <xsl:text>]</xsl:text>
45 </fo:inline>
46 </xsl:template>
47
48 <!-- Prevent duplicate e-mails in the Acknowledgments pages-->
49 <xsl:param name="ulink.show" select="0"/>
50
51</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.