소스 검색

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
Manuel Canales Esparcia 20 년 전
부모
커밋
80d66d1587
6개의 변경된 파일17개의 추가작업 그리고 16개의 파일을 삭제
  1. 3 3
      stylesheets/lfs-chunked.xsl
  2. 1 1
      stylesheets/lfs-chunked2.xsl
  3. 1 1
      stylesheets/lfs-nochunks.xsl
  4. 4 4
      stylesheets/lfs-pdf.xsl
  5. 5 5
      stylesheets/lfs-profile.xsl
  6. 3 2
      stylesheets/pdf/lfs-pagesetup.xsl

+ 3 - 3
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"/>

+ 1 - 1
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 -->

+ 1 - 1
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" />

+ 4 - 4
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"/>

+ 5 - 5
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"/>

+ 3 - 2
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>