Просмотр исходного кода

Renamed several top-level files to make thay book agnostic.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/new-xsl@8192 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Manuel Canales Esparcia 18 лет назад
Родитель
Сommit
3338656a43
7 измененных файлов с 50 добавлено и 20 удалено
  1. 9 3
      chunk-master.xsl
  2. 7 5
      chunk-slave.xsl
  3. 12 4
      chunkfast.xsl
  4. 5 0
      common.xsl
  5. 6 4
      nochunks.xsl
  6. 6 4
      pdf.xsl
  7. 5 0
      profile.xsl

+ 9 - 3
lfs-chunked1.xsl → chunk-master.xsl

@@ -1,15 +1,21 @@
 <?xml version='1.0' encoding='ISO-8859-1'?>
 
+<!--
+$LastChangedBy$
+$Date$
+-->
+
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xmlns="http://www.w3.org/1999/xhtml"
                 version="1.0">
 
-   <!-- Chunked output templates.
-        Include customized chunks templates.
+   <!-- Top-level chunked code for normal processing.
+        Import customized output templates.
+        Include customized chunk templates.
         Replaces {docbook-xsl}/xhtml/chunk.xsl -->
 
     <!-- Our master non-chunking presentation templates -->
-  <xsl:import href="lfs-chunked2.xsl"/>
+  <xsl:import href="chunk-slave.xsl"/>
 
     <!-- Upstream chunk code named templates -->
   <xsl:import href="docbook-xsl-snapshot/xhtml/chunk-common.xsl"/>

+ 7 - 5
lfs-chunked2.xsl → chunk-slave.xsl

@@ -1,11 +1,16 @@
 <?xml version='1.0' encoding='ISO-8859-1'?>
 
+<!--
+$LastChangedBy$
+$Date$
+-->
+
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xmlns="http://www.w3.org/1999/xhtml"
                 version="1.0">
 
    <!-- Second level chunked output template.
-        Sets global params and include customized elements templates-->
+        Sets global params and include customized elements templates. -->
 
     <!-- Upstream XHTML presentation templates -->
   <xsl:import href="docbook-xsl-snapshot/xhtml/docbook.xsl"/>
@@ -14,7 +19,7 @@
   <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
 
     <!-- Including our customized elements templates -->
-  <xsl:include href="lfs-common.xsl"/>
+  <xsl:include href="common.xsl"/>
   <xsl:include href="xhtml/lfs-admon.xsl"/>
   <xsl:include href="xhtml/lfs-mixed.xsl"/>
   <xsl:include href="xhtml/lfs-sections.xsl"/>
@@ -22,9 +27,6 @@
   <xsl:include href="xhtml/lfs-toc.xsl"/>
   <xsl:include href="xhtml/lfs-xref.xsl"/>
 
-    <!-- The LFS book type to be processed (lfs, blfs, clfs, or hlfs) -->
-  <xsl:param name="book-type">lfs</xsl:param>
-
     <!-- The CSS Stylesheets. We set here relative path from sub-dirs HTML files.
     The path from top-level HTML files (index.html, partX.html, etc) MUST be
     fixed via a sed in the Makefile-->

+ 12 - 4
lfs-chunked.xsl → chunkfast.xsl

@@ -1,5 +1,10 @@
 <?xml version='1.0' encoding='ISO-8859-1'?>
 
+<!--
+$LastChangedBy$
+$Date$
+-->
+
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xmlns="http://www.w3.org/1999/xhtml"
                 xmlns:exsl="http://exslt.org/common"
@@ -7,12 +12,15 @@
                 version="1.0"
                 exclude-result-prefixes="cf exsl">
 
-   <!-- Top-level chunked templates.
-        Import customized chunks templates.
-        Replaces {docbook-xsl}/xhtml/chunkfast.xsl -->
+   <!-- Top-level chunked code for fast processing.
+        Import standart customized chunk code.
+        Replaces {docbook-xsl}/xhtml/chunkfast.xsl
+
+        Note: Using this file as the top-level for chunked output implies that
+              profiling must be done on a previous step. -->
 
     <!-- Our master chunking templates -->
-  <xsl:import href="lfs-chunked1.xsl"/>
+  <xsl:import href="chunk-master.xsl"/>
 
     <!-- Use chunk.fast code? 1 = yes, 0 = no -->
   <xsl:param name="chunk.fast" select="1"/>

+ 5 - 0
lfs-common.xsl → common.xsl

@@ -1,5 +1,10 @@
 <?xml version='1.0' encoding='ISO-8859-1'?>
 
+<!--
+$LastChangedBy$
+$Date$
+-->
+
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xmlns="http://www.w3.org/1999/xhtml"
                 version="1.0">

+ 6 - 4
lfs-nochunks.xsl → nochunks.xsl

@@ -1,5 +1,10 @@
 <?xml version='1.0' encoding='ISO-8859-1'?>
 
+<!--
+$LastChangedBy$
+$Date$
+-->
+
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xmlns="http://www.w3.org/1999/xhtml"
                 version="1.0">
@@ -14,16 +19,13 @@
   <xsl:output method="html" encoding="ISO-8859-1" indent="no" />
 
    <!-- Including our others customized templates -->
-  <xsl:include href="lfs-common.xsl"/>
+  <xsl:include href="common.xsl"/>
   <xsl:include href="xhtml/lfs-index.xsl"/>
   <xsl:include href="xhtml/lfs-mixed.xsl"/>
   <xsl:include href="xhtml/lfs-sections.xsl"/>
   <xsl:include href="xhtml/lfs-toc.xsl"/>
   <xsl:include href="xhtml/lfs-xref.xsl"/>
 
-    <!-- The LFS book type to be processed (lfs, blfs, clfs, or hlfs) -->
-  <xsl:param name="book-type">lfs</xsl:param>
-
     <!-- Control generation of ToCs and LoTs -->
   <xsl:param name="generate.toc">
     book      toc,title

+ 6 - 4
lfs-pdf.xsl → pdf.xsl

@@ -1,5 +1,10 @@
 <?xml version='1.0' encoding='ISO-8859-1'?>
 
+<!--
+$LastChangedBy$
+$Date$
+-->
+
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xmlns:fo="http://www.w3.org/1999/XSL/Format"
                 version="1.0">
@@ -19,7 +24,7 @@
   <!--<xsl:output  encoding="UTF-8" indent="yes" />-->
 
     <!-- Including our others customized templates. -->
-  <xsl:include href="lfs-common.xsl"/>
+  <xsl:include href="common.xsl"/>
   <xsl:include href="pdf/lfs-admon.xsl"/>
   <xsl:include href="pdf/lfs-index.xsl"/>
   <xsl:include href="pdf/lfs-lists.xsl"/>
@@ -27,9 +32,6 @@
   <xsl:include href="pdf/lfs-pagesetup.xsl"/>
   <xsl:include href="pdf/lfs-xref.xsl"/>
 
-    <!-- The LFS book type to be processed (lfs, blfs, clfs, or hlfs) -->
-  <xsl:param name="book-type">lfs</xsl:param>
-
     <!-- Activating FOP-1 extensions. We use FOP-0.93 as the FO procesor. -->
   <xsl:param name="fop1.extensions" select="1"/>
 

+ 5 - 0
lfs-profile.xsl → profile.xsl

@@ -1,5 +1,10 @@
 <?xml version='1.0' encoding='ISO-8859-1'?>
 
+<!--
+$LastChangedBy$
+$Date$
+-->
+
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 version="1.0">