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
RevLine 
[ded6ddd]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">
[a9e89d0]6 <!-- We use FO and FOP as the processor -->
[ded6ddd]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
[a9e89d0]11 <!-- Including our others customized templates -->
[ded6ddd]12 <xsl:include href="print/lfs-index.xsl"/>
13 <xsl:include href="print/lfs-pagesetup.xsl"/>
14
[e119983]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>
[ded6ddd]19
[a9e89d0]20 <!-- Printing Style -->
[ded6ddd]21 <xsl:param name="double.sided" select="1"/>
[e119983]22 <xsl:param name="hyphenate">false</xsl:param>
[ded6ddd]23 <xsl:param name="alignment">justify</xsl:param>
24
[a9e89d0]25 <!-- Font size -->
[e119983]26 <xsl:param name="body.font.master">6</xsl:param>
27 <xsl:param name="body.font.size">8pt</xsl:param>
[ded6ddd]28
[a9e89d0]29 <!-- TOC stuff -->
[ded6ddd]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
[a9e89d0]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>
[ded6ddd]43 <fo:page-number-citation ref-id="{$id}"/>
[a9e89d0]44 <xsl:text>]</xsl:text>
45 </fo:inline>
46 </xsl:template>
[ded6ddd]47
[a9e89d0]48 <!-- Prevent duplicate e-mails in the Acknowledgments pages-->
[ded6ddd]49 <xsl:param name="ulink.show" select="0"/>
50
51</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.