source: stylesheets/lfs-pdf.xsl@ 0868461

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 0868461 was ded6ddd, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Updated the stylesheets to their current version.

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

  • Property mode set to 100644
File size: 2.1 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="'A4'"/>
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 <xsl:param name="admon.graphics.path"
33 select="'/usr/share/xml/docbook/xsl-stylesheets-1.65.1/images/'"/>
34
35 <!-- Shade screen -->
36 <xsl:param name="shade.verbatim" select="1"/>
37
38 <!-- TOC generation -->
39 <xsl:param name="generate.toc">
40 book toc
41 part nop
42 </xsl:param>
43 <xsl:param name="toc.section.depth">1</xsl:param>
44 <xsl:param name="generate.section.toc.level" select="-1"/>
45 <xsl:param name="toc.indent.width" select="18"/>
46
47 <!-- Page number in Xref-->
48 <xsl:param name="insert.xref.page.number">yes</xsl:param>
49 <xsl:template match="*" mode="page.citation">
50 <xsl:param name="id" select="'???'"/>
51 <fo:inline keep-together.within-line="always">
52 <xsl:text>[p.</xsl:text>
53 <fo:page-number-citation ref-id="{$id}"/>
54 <xsl:text>]</xsl:text>
55 </fo:inline>
56 </xsl:template>
57
58 <!-- Prevent duplicate e-mails in the Acknowledgments pages-->
59 <xsl:param name="ulink.show" select="0"/>
60
61</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.