Changeset 3fe8b511 for stylesheets/blfs-print.xsl
- Timestamp:
- 01/07/2005 05:14:15 AM (19 years ago)
- Branches:
- 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, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- d8dc77a
- Parents:
- bad8b53
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/blfs-print.xsl
rbad8b53 r3fe8b511 1 <?xml version='1.0' encoding='ISO-8859-1'?>2 3 <!-- Version 0.9 - Manuel Canales Esparcia <macana@lfs-es.org>4 Based 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="print/lfs-index.xsl"/>17 <xsl:include href="print/lfs-pagesetup.xsl"/>18 19 <!-- Probably want to make the paper size configurable -->20 <xsl:param name="paper.type" select="'letter'"/>21 22 <!-- Printing Style -->23 <xsl:param name="double.sided" select="1"/>24 <xsl:param name="hyphenate">true</xsl:param>25 <xsl:param name="alignment">justify</xsl:param>26 27 <!-- Hyphenate links -->28 <xsl:param name="ulink.hyphenate" select="' '"></xsl:param>29 30 <!-- Font size -->31 <xsl:param name="body.font.master">8</xsl:param>32 <xsl:param name="body.font.size">10pt</xsl:param>33 34 <!-- TOC stuff -->35 <xsl:param name="generate.toc">36 book toc37 part nop38 </xsl:param>39 <xsl:param name="toc.section.depth">1</xsl:param>40 <xsl:param name="generate.section.toc.level" select="-1"></xsl:param>41 <xsl:param name="toc.indent.width" select="18"></xsl:param>42 43 <!-- Page number in Xref-->44 <xsl:param name="insert.xref.page.number">yes</xsl:param>45 <xsl:template match="*" mode="page.citation">46 <xsl:param name="id" select="'???'"/>47 <fo:inline keep-together.within-line="always">48 <xsl:text>[p</xsl:text>49 <fo:page-number-citation ref-id="{$id}"/>50 <xsl:text>]</xsl:text>51 </fo:inline>52 </xsl:template>53 54 <!-- Prevent duplicate e-mails in the Acknowledgments pages-->55 <xsl:param name="ulink.show" select="0"/>56 57 </xsl:stylesheet>
Note:
See TracChangeset
for help on using the changeset viewer.