diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2005-09-10 11:18:50 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2005-09-10 11:18:50 +0000 |
commit | 80d66d1587a81148a7558c87fd5cc0d9ebcbf7d3 (patch) | |
tree | 15b59e2693594ac30c9c92510514db9c4fc7a09b /stylesheets | |
parent | 2e02c35ad71fcbd0b932edf49eb9a8d5e49179b1 (diff) |
Updated the stylesheets to use version 1.69.1
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6820 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets')
-rw-r--r-- | stylesheets/lfs-chunked.xsl | 6 | ||||
-rw-r--r-- | stylesheets/lfs-chunked2.xsl | 2 | ||||
-rw-r--r-- | stylesheets/lfs-nochunks.xsl | 2 | ||||
-rw-r--r-- | stylesheets/lfs-pdf.xsl | 8 | ||||
-rw-r--r-- | stylesheets/lfs-profile.xsl | 10 | ||||
-rw-r--r-- | stylesheets/pdf/lfs-pagesetup.xsl | 5 |
6 files changed, 17 insertions, 16 deletions
diff --git a/stylesheets/lfs-chunked.xsl b/stylesheets/lfs-chunked.xsl index 7234248ac..08d620841 100644 --- a/stylesheets/lfs-chunked.xsl +++ b/stylesheets/lfs-chunked.xsl @@ -5,8 +5,8 @@ version="1.0"> <xsl:import href="lfs-chunked2.xsl"/> - <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.68.1/xhtml/chunk-common.xsl"/> - <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.68.1/xhtml/manifest.xsl"/> + <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/chunk-common.xsl"/> + <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/manifest.xsl"/> <!-- From the original chunk.xsl file: @@ -24,7 +24,7 @@ Voila! (Man I hope we can do this better in XSLT 2.0) --> - <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.68.1/xhtml/profile-chunk-code.xsl"/> + <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-chunk-code.xsl"/> <!-- Including our others customized chunks templates --> <xsl:include href="xhtml/lfs-legalnotice.xsl"/> diff --git a/stylesheets/lfs-chunked2.xsl b/stylesheets/lfs-chunked2.xsl index bdc63f289..675c0a1e5 100644 --- a/stylesheets/lfs-chunked2.xsl +++ b/stylesheets/lfs-chunked2.xsl @@ -5,7 +5,7 @@ version="1.0"> <!-- We use XHTML --> - <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.68.1/xhtml/docbook.xsl"/> + <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/docbook.xsl"/> <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/> <!-- Including our others customized elements templates --> diff --git a/stylesheets/lfs-nochunks.xsl b/stylesheets/lfs-nochunks.xsl index 2582a9aa5..7093af7d0 100644 --- a/stylesheets/lfs-nochunks.xsl +++ b/stylesheets/lfs-nochunks.xsl @@ -5,7 +5,7 @@ version="1.0"> <!-- We use XHTML --> - <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.68.1/xhtml/profile-docbook.xsl"/> + <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl"/> <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet --> <xsl:output method="html" encoding="ISO-8859-1" indent="no" /> diff --git a/stylesheets/lfs-pdf.xsl b/stylesheets/lfs-pdf.xsl index d062fe863..e9c15a21a 100644 --- a/stylesheets/lfs-pdf.xsl +++ b/stylesheets/lfs-pdf.xsl @@ -4,7 +4,7 @@ xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0"> <!-- We use FO and FOP as the processor --> - <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.68.1/fo/docbook.xsl"/> + <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.69.1/fo/docbook.xsl"/> <xsl:param name="fop.extensions" select="1"/> <xsl:param name="draft.mode" select="'no'"/> @@ -18,16 +18,16 @@ <!-- This file contains our localization strings (for internationalization) --> <xsl:param name="local.l10n.xml" select="document('lfs-l10n.xml')"/> - + <!-- Standart paper size --> <xsl:param name="paper.type" select="'letter'"/> - <!-- Paper size required by the publisher + <!-- Paper size required by the publisher <xsl:param name="paper.type" select="'Customized'"/> <xsl:param name="page.width">7.25in</xsl:param> <xsl:param name="page.height">9.25in</xsl:param> --> - + <!-- Printing Style --> <!-- Change "double.sided" to "1" for published versions --> <xsl:param name="double.sided" select="0"/> diff --git a/stylesheets/lfs-profile.xsl b/stylesheets/lfs-profile.xsl index 16ab132b4..68dca215b 100644 --- a/stylesheets/lfs-profile.xsl +++ b/stylesheets/lfs-profile.xsl @@ -4,13 +4,13 @@ version="1.0"> <!-- Include common profiling stylesheet --> - <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.68.1/profiling/profile-mode.xsl"/> - + <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.69.1/profiling/profile-mode.xsl"/> + <!-- Generate DocBook instance with correct DOCTYPE --> - <xsl:output method="xml" + <xsl:output method="xml" doctype-public="-//OASIS//DTD DocBook XML V4.4//EN" doctype-system="http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"/> - + <!-- Profiling parameters --> <xsl:param name="profile.arch" select="''"/> <xsl:param name="profile.condition" select="''"/> @@ -26,7 +26,7 @@ <xsl:param name="profile.attribute" select="''"/> <xsl:param name="profile.value" select="''"/> <xsl:param name="profile.separator" select="';'"/> - + <!-- Call common profiling mode --> <xsl:template match="/"> <xsl:apply-templates select="." mode="profile"/> diff --git a/stylesheets/pdf/lfs-pagesetup.xsl b/stylesheets/pdf/lfs-pagesetup.xsl index 88538a3cb..7e19099ce 100644 --- a/stylesheets/pdf/lfs-pagesetup.xsl +++ b/stylesheets/pdf/lfs-pagesetup.xsl @@ -64,8 +64,8 @@ <!-- Font size for chapter title. --> <xsl:template match="title" mode="chapter.titlepage.recto.auto.mode"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" - xsl:use-attribute-sets="chapter.titlepage.recto.style" + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" + xsl:use-attribute-sets="chapter.titlepage.recto.style" font-size="21pt" font-weight="bold" text-align="left"> <xsl:call-template name="component.title"> <xsl:with-param name="node" select="ancestor-or-self::chapter[1]"/> @@ -77,6 +77,7 @@ <xsl:param name="page.margin.inner">0.5in</xsl:param> <xsl:param name="page.margin.outer">0.375in</xsl:param> <xsl:param name="body.start.indent" select="'0.7pc'"/> + <xsl:param name="title.margin.left">-0.7pc</xsl:param> <xsl:attribute-set name="normal.para.spacing"> <xsl:attribute name="space-before.optimum">0.6em</xsl:attribute> <xsl:attribute name="space-before.minimum">0.4em</xsl:attribute> |