diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-05-16 10:45:28 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-05-16 10:45:28 +0000 |
commit | 60567469138a5efd28f21c5f220a590966c65f51 (patch) | |
tree | 84a67d4ae6917033e54444023212425f66bc0843 | |
parent | 9c70994429ec949f5807d36aa3cc3ddf1ec96bd8 (diff) |
* Added nochunks output
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/b5_1/BOOK@3606 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | stylesheets/lfs-nochunks.xsl | 29 |
2 files changed, 34 insertions, 0 deletions
@@ -33,5 +33,10 @@ print: sed -i -e "s/inherit/all/" lfs-print.fo fop.sh lfs-print.fo lfs-print.pdf +nochunks: + xsltproc --xinclude --nonet --output lfs.html \ + stylesheets/lfs-nochunks.xsl index.xml + tidy -config tidy.conf lfs.html || true + validate: xmllint --noout --nonet --xinclude --postvalid index.xml diff --git a/stylesheets/lfs-nochunks.xsl b/stylesheets/lfs-nochunks.xsl new file mode 100644 index 000000000..41038a992 --- /dev/null +++ b/stylesheets/lfs-nochunks.xsl @@ -0,0 +1,29 @@ +<?xml version='1.0' encoding='ISO-8859-1'?> + +<!-- Version 0.9 - Manuel Canales Esparcia <macana@lfs-es.org> +Based on the original lfs-chunked.xsl created by Matthew Burgess --> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns="http://www.w3.org/1999/xhtml" + version="1.0"> + + <!-- We use XHTML --> + <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/xhtml/docbook.xsl"/> + + <!-- Including our others customized templates --> + <xsl:include href="xhtml/lfs-admon.xsl"/> + <xsl:include href="xhtml/lfs-index.xsl"/> + <xsl:include href="xhtml/lfs-mixed.xsl"/> + <xsl:include href="xhtml/lfs-navigational.xsl"/> + <!-- The following breaks hyperlinks in the TOC --> + <!-- <xsl:include href="xhtml/lfs-titles.xsl"/> --> + <xsl:include href="xhtml/lfs-toc.xsl"/> + + <!-- The CSS Stylesheet --> + <xsl:param name="html.stylesheet" select="'lfs.css'"/> + + <!-- Dropping some unwanted style attributes --> + <xsl:param name="ulink.target" select="''"></xsl:param> + <xsl:param name="css.decoration" select="0"></xsl:param> + +</xsl:stylesheet> |