Changeset af7b097 for stylesheets/blfs-pdf.xsl
- Timestamp:
- 01/09/2005 06:25:29 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:
- 1a0f605
- Parents:
- 6822b09
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/blfs-pdf.xsl
r6822b09 raf7b097 1 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 2 6 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 9 6 10 7 <!-- We use FO and FOP as the processor --> 11 <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.6 5.1/fo/docbook.xsl"/>8 <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/fo/docbook.xsl"/> 12 9 <xsl:param name="fop.extensions" select="1"/> 13 10 <xsl:param name="draft.mode" select="'no'"/> 14 11 15 12 <!-- Including our others customized templates --> 13 <xsl:include href="pdf/lfs-admon.xsl"/> 16 14 <xsl:include href="pdf/lfs-index.xsl"/> 15 <xsl:include href="pdf/lfs-mixed.xsl"/> 17 16 <xsl:include href="pdf/lfs-pagesetup.xsl"/> 17 <xsl:include href="pdf/lfs-sections.xsl"/> 18 <xsl:include href="pdf/lfs-xref.xsl"/> 19 20 <!-- This file contains our localization strings (for internationalization) --> 21 <xsl:param name="local.l10n.xml" select="document('lfs-l10n.xml')"/> 18 22 19 23 <!-- Probably want to make the paper size configurable --> 20 24 <xsl:param name="paper.type" select="'letter'"/> 21 25 22 <!-- Don't hyphenate --> 26 <!-- Printing Style --> 27 <xsl:param name="double.sided" select="1"/> 23 28 <xsl:param name="hyphenate">false</xsl:param> 24 <xsl:param name="alignment"> left</xsl:param>29 <xsl:param name="alignment">justify</xsl:param> 25 30 26 31 <!-- 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"/> 32 <xsl:param name="body.font.master">9</xsl:param> 33 <xsl:param name="body.font.size">12pt</xsl:param> 35 34 36 35 <!-- TOC generation --> … … 44 43 45 44 <!-- 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> 45 <xsl:param name="insert.xref.page.number">no</xsl:param> 55 46 56 47 <!-- Prevent duplicate e-mails in the Acknowledgments pages-->
Note:
See TracChangeset
for help on using the changeset viewer.