source: stylesheets/lfs-print.xsl@ bb9c6141

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

Print output: added graphics and background color to admonitions, shaded screen.

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

  • Property mode set to 100644
File size: 1.7 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 -->
[cbd57db]12 <xsl:include href="pdf/lfs-index.xsl"/>
13 <xsl:include href="pdf/lfs-pagesetup.xsl"/>
14 <xsl:include href="pdf/lfs-sections.xsl"/>
15 <xsl:include href="pdf/lfs-mixed.xsl"/>
[ded6ddd]16
[e119983]17 <!-- Paper size required by the publisher -->
[4066cbe]18 <xsl:param name="paper.type" select="'Customized'"/>
[e119983]19 <xsl:param name="page.width">7.25in</xsl:param>
20 <xsl:param name="page.height">9.25in</xsl:param>
[ded6ddd]21
[a9e89d0]22 <!-- Printing Style -->
[ded6ddd]23 <xsl:param name="double.sided" select="1"/>
[e119983]24 <xsl:param name="hyphenate">false</xsl:param>
[ded6ddd]25 <xsl:param name="alignment">justify</xsl:param>
26
[a9e89d0]27 <!-- Font size -->
[e119983]28 <xsl:param name="body.font.master">6</xsl:param>
29 <xsl:param name="body.font.size">8pt</xsl:param>
[ded6ddd]30
[a9e89d0]31 <!-- TOC stuff -->
[ded6ddd]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
[cbd57db]40 <!-- Page number in Xref ?-->
[fae4d63a]41 <xsl:param name="insert.xref.page.number">no</xsl:param>
[ded6ddd]42
[a9e89d0]43 <!-- Prevent duplicate e-mails in the Acknowledgments pages-->
[ded6ddd]44 <xsl:param name="ulink.show" select="0"/>
45
46</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.