source: stylesheets/lfs-pdf.xsl@ 3e0c81bb

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

Full internationalization support into the stylesheets.

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

  • Property mode set to 100644
File size: 1.9 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"/>
[3453864]15 <xsl:include href="pdf/lfs-admon.xsl"/>
[cbd57db]16 <xsl:include href="pdf/lfs-mixed.xsl"/>
[2e3a473]17 <xsl:include href="pdf/lfs-xref.xsl"/>
[ded6ddd]18
[3e0c81bb]19 <!-- This file contains our localization strings (for internationalization) -->
20 <xsl:param name="local.l10n.xml" select="document('lfs-l10n.xml')"/>
21
[e119983]22 <!-- Paper size required by the publisher -->
[4066cbe]23 <xsl:param name="paper.type" select="'Customized'"/>
[e119983]24 <xsl:param name="page.width">7.25in</xsl:param>
25 <xsl:param name="page.height">9.25in</xsl:param>
[ded6ddd]26
[a9e89d0]27 <!-- Printing Style -->
[ded6ddd]28 <xsl:param name="double.sided" select="1"/>
[e119983]29 <xsl:param name="hyphenate">false</xsl:param>
[ded6ddd]30 <xsl:param name="alignment">justify</xsl:param>
31
[a9e89d0]32 <!-- Font size -->
[357107a]33 <xsl:param name="body.font.master">9</xsl:param>
[ed5f52d]34 <xsl:param name="body.font.size">12pt</xsl:param>
[ded6ddd]35
[a9e89d0]36 <!-- TOC stuff -->
[ded6ddd]37 <xsl:param name="generate.toc">
38 book toc
39 part nop
40 </xsl:param>
41 <xsl:param name="toc.section.depth">1</xsl:param>
42 <xsl:param name="generate.section.toc.level" select="-1"></xsl:param>
43 <xsl:param name="toc.indent.width" select="18"></xsl:param>
44
[cbd57db]45 <!-- Page number in Xref ?-->
[fae4d63a]46 <xsl:param name="insert.xref.page.number">no</xsl:param>
[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.