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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5d4975d was 5d4975d, checked in by Larry Lawrence <larry@…>, 20 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
RevLine 
[5d4975d]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
[eff3826]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
[5d4975d]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"/>
[eff3826]12 <xsl:param name="fop.extensions" select="1"/>
13 <xsl:param name="draft.mode" select="'no'"/>
14
[5d4975d]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>
[eff3826]25
[5d4975d]26 <!-- Font size -->
[eff3826]27 <xsl:param name="body.font.master">8</xsl:param>
28 <xsl:param name="body.font.size">10pt</xsl:param>
29
[5d4975d]30 <!-- Graphics in admonitions -->
31 <xsl:param name="admon.graphics" select="1"/>
[eff3826]32
[5d4975d]33 <!-- Shade screen -->
34 <xsl:param name="shade.verbatim" select="1"/>
35
36 <!-- TOC generation -->
[eff3826]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>
[5d4975d]42 <xsl:param name="generate.section.toc.level" select="-1"/>
43 <xsl:param name="toc.indent.width" select="18"/>
[eff3826]44
45 <!-- Page number in Xref-->
46 <xsl:param name="insert.xref.page.number">yes</xsl:param>
[5d4975d]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>
[eff3826]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.