source: stylesheets/blfs-pdf.xsl@ 5d4975d

10.0 10.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn nosym perl-modules qt5new systemd-11177 systemd-13485 trunk v5_1 v5_1-pre1 xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 5d4975d was 5d4975d, checked in by Larry Lawrence <larry@…>, 17 years ago

updated stylesheets to 0.9

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2121 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 1.9 KB
Line 
1<?xml version='1.0' encoding='ISO-8859-1'?>
2
3<!-- Version 0.9 - Manuel Canales Esparcia <macana@lfs-es.org>
4Based on the original lfs-pdf.xsl created by Matthew Burgess -->
5
6<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
7 xmlns:fo="http://www.w3.org/1999/XSL/Format"
8 version="1.0">
9
10 <!-- We use FO and FOP as the processor -->
11 <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/fo/docbook.xsl"/>
12 <xsl:param name="fop.extensions" select="1"/>
13 <xsl:param name="draft.mode" select="'no'"/>
14
15 <!-- Including our others customized templates -->
16 <xsl:include href="pdf/lfs-index.xsl"/>
17 <xsl:include href="pdf/lfs-pagesetup.xsl"/>
18
19 <!-- Probably want to make the paper size configurable -->
20 <xsl:param name="paper.type" select="'letter'"/>
21
22 <!-- Don't hyphenate -->
23 <xsl:param name="hyphenate">false</xsl:param>
24 <xsl:param name="alignment">left</xsl:param>
25
26 <!-- Font size -->
27 <xsl:param name="body.font.master">8</xsl:param>
28 <xsl:param name="body.font.size">10pt</xsl:param>
29
30 <!-- Graphics in admonitions -->
31 <xsl:param name="admon.graphics" select="1"/>
32
33 <!-- Shade screen -->
34 <xsl:param name="shade.verbatim" select="1"/>
35
36 <!-- TOC generation -->
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"/>
43 <xsl:param name="toc.indent.width" select="18"/>
44
45 <!-- Page number in Xref-->
46 <xsl:param name="insert.xref.page.number">yes</xsl:param>
47 <xsl:template match="*" mode="page.citation">
48 <xsl:param name="id" select="'???'"/>
49 <fo:inline keep-together.within-line="always">
50 <xsl:text>[p.</xsl:text>
51 <fo:page-number-citation ref-id="{$id}"/>
52 <xsl:text>]</xsl:text>
53 </fo:inline>
54 </xsl:template>
55
56 <!-- Prevent duplicate e-mails in the Acknowledgments pages-->
57 <xsl:param name="ulink.show" select="0"/>
58
59</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.