aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2004-12-02 23:36:48 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2004-12-02 23:36:48 +0000
commit266a7bd267207b0d679b4f849f34b3aad892363e (patch)
treef31a6c46df4b2506962df9efad66e684f288acb3
parentc4683bf1113bcfb1dcdb7178c80d1b2a1484e0f5 (diff)
* (INSTALL) Document how to install the latest known good version of the
docbook-xsl package * (stylesheets/*.xsl) reference the latest known good version of the stylesheets git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4343 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--INSTALL22
-rw-r--r--general.ent4
-rw-r--r--stylesheets/lfs-chunked.xsl6
-rw-r--r--stylesheets/lfs-chunked2.xsl2
-rw-r--r--stylesheets/lfs-nochunks.xsl2
-rw-r--r--stylesheets/lfs-pdf.xsl2
-rw-r--r--stylesheets/lfs-profile.xsl2
-rw-r--r--stylesheets/pdf/lfs-mixed.xsl2
8 files changed, 26 insertions, 16 deletions
diff --git a/INSTALL b/INSTALL
index bf48541bb..eb098712a 100644
--- a/INSTALL
+++ b/INSTALL
@@ -20,14 +20,24 @@ If all you want to do is convert XML to HTML perform the following:
* DocBook DTD
- http://www.linuxfromscratch.org/blfs/view/svn/pst/xml.html
-* DocBook XSL Stylesheets (1.67.0)
- - http://www.linuxfromscratch.org/blfs/view/svn/pst/docbook-xsl.html
- - additionally create a link from
- /usr/share/xml/docbook/xsl-stylesheets-1.67.0 to
+* DocBook XSL Stylesheets (1.67.2)
+ install -d /usr/share/xml/docbook/xsl-stylesheets-1.67.2
+ chown -R root:root .
+ cp -af INSTALL VERSION common eclipse extensions fo html htmlhelp images \
+ javahelp lib manpages params profiling template xhtml \
+ /usr/share/xml/docbook/xsl-stylesheets-1.67.2
+ install -d /usr/share/doc/xml
+ cp -af doc/* /usr/share/doc/xml
+ cd /usr/share/xml/docbook/xsl-stylesheets-1.67.2 && \
+ sed -i -e 's@current/@1.67.2/@' INSTALL && \
+ sh INSTALL
+ xmlcatalog --noout --add "delegateURI" \
+ "http://docbook.sourceforge.net/release/xsl/1.67.2/" \
+ "file:///usr/share/xml/docbook/xsl-stylesheets-1.67.2/catalog.xml" \
+ /etc/xml/catalog
+ ln -sf xsl-stylesheets-$(VERSION) \
/usr/share/xml/docbook/xsl-stylesheets-current
- ln -s xsl-stylesheets-[version] /usr/share/xml/docbook/xsl-stylesheets-current
-
* HTMLTidy
- http://www.linuxfromscratch.org/blfs/view/svn/general/tidy.html
- you'll also need the patch at http://linuxfromscratch.org/~matthew/tidy-041026-prevent_PRE_newlines-1.patch as well.
diff --git a/general.ent b/general.ent
index 9379cd96e..b915c3f83 100644
--- a/general.ent
+++ b/general.ent
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20041201">
-<!ENTITY releasedate "December 1, 2004">
+<!ENTITY version "SVN-20041202">
+<!ENTITY releasedate "December 2, 2004">
<!ENTITY milestone "6.1">
<!ENTITY lfs-root "http://www.linuxfromscratch.org/">
diff --git a/stylesheets/lfs-chunked.xsl b/stylesheets/lfs-chunked.xsl
index ce9021a78..bfe985b7a 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.65.1/xhtml/chunk-common.xsl"/>
- <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.65.1/xhtml/manifest.xsl"/>
+ <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/chunk-common.xsl"/>
+ <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.67.2/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.65.1/xhtml/chunk-code.xsl"/>
+ <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/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 b3a79fd5d..6a4699542 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.65.1/xhtml/docbook.xsl"/>
+ <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/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 7f771f511..a01f86510 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.65.1/xhtml/docbook.xsl"/>
+ <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/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 a5c893dbb..ab768a49a 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.65.1/fo/docbook.xsl"/>
+ <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/fo/docbook.xsl"/>
<xsl:param name="fop.extensions" select="1"/>
<xsl:param name="draft.mode" select="'no'"/>
diff --git a/stylesheets/lfs-profile.xsl b/stylesheets/lfs-profile.xsl
index 85ad9a7c7..7e63811e5 100644
--- a/stylesheets/lfs-profile.xsl
+++ b/stylesheets/lfs-profile.xsl
@@ -4,6 +4,6 @@
xmlns:fo="http://www.w3.org/1999/XSL/Format"
version="1.0">
- <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/profiling/profile.xsl"/>
+ <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/profiling/profile.xsl"/>
</xsl:stylesheet>
diff --git a/stylesheets/pdf/lfs-mixed.xsl b/stylesheets/pdf/lfs-mixed.xsl
index c4ce94aaa..256b75fee 100644
--- a/stylesheets/pdf/lfs-mixed.xsl
+++ b/stylesheets/pdf/lfs-mixed.xsl
@@ -63,7 +63,7 @@
<!-- Graphics in admonitions -->
<xsl:param name="admon.graphics" select="1"/>
<xsl:param name="admon.graphics.path"
- select="'/usr/share/xml/docbook/xsl-stylesheets-1.65.1/images/'"/>
+ select="'/usr/share/xml/docbook/xsl-stylesheets-1.67.2/images/'"/>
<!-- Admonition block properties -->
<xsl:template match="important|warning|caution">