Prechádzať zdrojové kódy

* (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

Matthew Burgess 19 rokov pred
rodič
commit
266a7bd267

+ 16 - 6
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.

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

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

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

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

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

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

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