aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/lfs-chunked.xsl
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-07-05 22:31:18 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-07-05 22:31:18 +0000
commitb3a7074bf3ff05792c06c88b3127df8708c24239 (patch)
treeace923a61f29e0bffbe1c5c59a1c68877fffb571 /stylesheets/lfs-chunked.xsl
parent3a1e4220080239c9fb9e2c9bae0ff2d192be7324 (diff)
Start using the new stylesheets.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8201 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets/lfs-chunked.xsl')
-rw-r--r--stylesheets/lfs-chunked.xsl34
1 files changed, 9 insertions, 25 deletions
diff --git a/stylesheets/lfs-chunked.xsl b/stylesheets/lfs-chunked.xsl
index 08d620841..efea518f8 100644
--- a/stylesheets/lfs-chunked.xsl
+++ b/stylesheets/lfs-chunked.xsl
@@ -1,34 +1,18 @@
<?xml version='1.0' encoding='ISO-8859-1'?>
+<!--
+$LastChangedBy: manuel $
+$Date: 2007-05-19 20:43:37 +0200 (sáb, 19 may 2007) $
+-->
+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml"
version="1.0">
- <xsl:import href="lfs-chunked2.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:
-
- Why is chunk-code now xsl:included?
-
- Suppose you want to customize *both* the chunking algorithm used *and* the
- presentation of some elements that may be chunks. In order to do that, you
- must get the order of imports "just right". The answer is to make your own
- copy of this file, where you replace the initial import of "docbook.xsl"
- with an import of your own base.xsl (that does its own import of docbook.xsl).
-
- Put the templates for changing the presentation of elements in your base.xsl.
-
- Put the templates that control chunking after the include of chunk-code.xsl.
-
- Voila! (Man I hope we can do this better in XSLT 2.0) -->
-
- <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-chunk-code.xsl"/>
+ <!-- LFS top-level chunk templates. -->
+ <xsl:import href="lfs-xsl/chunkfast.xsl"/>
- <!-- Including our others customized chunks templates -->
- <xsl:include href="xhtml/lfs-legalnotice.xsl"/>
- <xsl:include href="xhtml/lfs-index.xsl"/>
- <xsl:include href="xhtml/lfs-navigational.xsl"/>
+ <!-- The LFS book type to be processed (lfs, blfs, clfs, or hlfs) -->
+ <xsl:param name="book-type">lfs</xsl:param>
</xsl:stylesheet>