diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-05-19 20:16:58 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-05-19 20:16:58 +0000 |
commit | a9e89d0c26b67d4f4ad136be1f701665c7b04c72 (patch) | |
tree | dcb6fb3d304753460d6f275ac3e3d9b74a2896a2 /stylesheets/lfs-print.xsl | |
parent | 28501c71298af5866445fa8c8dd6e71f61287271 (diff) |
HEAD: StyleSheets - unified the identation to use spaces.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3663 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets/lfs-print.xsl')
-rw-r--r-- | stylesheets/lfs-print.xsl | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/stylesheets/lfs-print.xsl b/stylesheets/lfs-print.xsl index d56a9bd3c..929c15ce5 100644 --- a/stylesheets/lfs-print.xsl +++ b/stylesheets/lfs-print.xsl @@ -3,32 +3,31 @@ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0"> - - <!-- We use FO and FOP as the processor --> + <!-- We use FO and FOP as the processor --> <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/fo/docbook.xsl"/> <xsl:param name="fop.extensions" select="1"/> <xsl:param name="draft.mode" select="'no'"/> - <!-- Including our others customized templates --> + <!-- Including our others customized templates --> <xsl:include href="print/lfs-index.xsl"/> <xsl:include href="print/lfs-pagesetup.xsl"/> - <!-- Probably want to make the paper size configurable --> + <!-- Probably want to make the paper size configurable --> <xsl:param name="paper.type" select="'A4'"/> - <!-- Printing Style --> + <!-- Printing Style --> <xsl:param name="double.sided" select="1"/> <xsl:param name="hyphenate">true</xsl:param> <xsl:param name="alignment">justify</xsl:param> - <!-- Hyphenate links --> + <!-- Hyphenate links --> <xsl:param name="ulink.hyphenate" select="' '"></xsl:param> - <!-- Font size --> + <!-- Font size --> <xsl:param name="body.font.master">8</xsl:param> <xsl:param name="body.font.size">10pt</xsl:param> - <!-- TOC stuff --> + <!-- TOC stuff --> <xsl:param name="generate.toc"> book toc part nop @@ -37,18 +36,17 @@ <xsl:param name="generate.section.toc.level" select="-1"></xsl:param> <xsl:param name="toc.indent.width" select="18"></xsl:param> - <!-- Page number in Xref--> - <xsl:param name="insert.xref.page.number">yes</xsl:param> - <xsl:template match="*" mode="page.citation"> - <xsl:param name="id" select="'???'"/> - <fo:inline keep-together.within-line="always"> - <xsl:text>[p</xsl:text> + <!-- Page number in Xref--> + <xsl:param name="insert.xref.page.number">yes</xsl:param> <xsl:template match="*" mode="page.citation"> + <xsl:param name="id" select="'???'"/> + <fo:inline keep-together.within-line="always"> + <xsl:text>[p</xsl:text> <fo:page-number-citation ref-id="{$id}"/> - <xsl:text>]</xsl:text> - </fo:inline> - </xsl:template> + <xsl:text>]</xsl:text> + </fo:inline> + </xsl:template> - <!-- Prevent duplicate e-mails in the Acknowledgments pages--> + <!-- Prevent duplicate e-mails in the Acknowledgments pages--> <xsl:param name="ulink.show" select="0"/> </xsl:stylesheet> |