r5056 - in trunk/BOOK: . introduction/welcome pst/xml

randy at linuxfromscratch.org randy at linuxfromscratch.org
Sun Sep 11 06:47:34 PDT 2005


Author: randy
Date: 2005-09-11 07:47:33 -0600 (Sun, 11 Sep 2005)
New Revision: 5056

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/pst/xml/docbook-xsl.xml
Log:
Minor corrections to the XSL Stylesheets as suggested by Manuel

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2005-09-11 12:31:25 UTC (rev 5055)
+++ trunk/BOOK/general.ent	2005-09-11 13:47:33 UTC (rev 5056)
@@ -1,4 +1,4 @@
-<!ENTITY day          "10">
+<!ENTITY day          "11">
 <!ENTITY month        "09">
 <!ENTITY year         "2005">
 <!ENTITY version      "svn-&year;&month;&day;">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-09-11 12:31:25 UTC (rev 5055)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-09-11 13:47:33 UTC (rev 5056)
@@ -42,6 +42,16 @@
 -->
 
     <listitem>
+      <para>September 11th, 2005</para>
+      <itemizedlist>
+        <listitem>
+          <para>[randy] - Minor corrections to the XSL Stylesheets
+          instructions, suggested by Manuel Canales Esparcia.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>September 10th, 2005</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/pst/xml/docbook-xsl.xml
===================================================================
--- trunk/BOOK/pst/xml/docbook-xsl.xml	2005-09-11 12:31:25 UTC (rev 5055)
+++ trunk/BOOK/pst/xml/docbook-xsl.xml	2005-09-11 13:47:33 UTC (rev 5056)
@@ -127,22 +127,42 @@
 fi &&
 
 xmlcatalog --noout --add "rewriteSystem" \
-    "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
-    "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
+           "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
+           "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
     /etc/xml/catalog &&
+
 xmlcatalog --noout --add "rewriteURI" \
-    "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
-    "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
+           "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
+           "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
     /etc/xml/catalog &&
+
 xmlcatalog --noout --add "rewriteSystem" \
-    "http://docbook.sourceforge.net/release/xsl/current" \
-    "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
+           "http://docbook.sourceforge.net/release/xsl/current" \
+           "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
     /etc/xml/catalog &&
+
 xmlcatalog --noout --add "rewriteURI" \
-    "http://docbook.sourceforge.net/release/xsl/current" \
-    "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
+           "http://docbook.sourceforge.net/release/xsl/current" \
+           "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
     /etc/xml/catalog</userinput></screen>
 
+      <para>Occasionally, you may find the need to install other versions of
+      the XSL stylesheets as some projects reference a specific version. One
+      example is BLFS-6.0, which needs the 1.67.2 version. In these instances
+      you should install any other required version in its own versioned
+      directory and create catalog entries as follows (substitute the desired
+      version number for <replaceable>[version]</replaceable>):</para>
+
+<screen role="root"><userinput>xmlcatalog --noout --add "rewriteSystem" \
+           "http://docbook.sourceforge.net/release/xsl/<replaceable>[version]</replaceable>" \
+           "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>[version]</replaceable>" \
+    /etc/xml/catalog &&
+
+xmlcatalog --noout --add "rewriteURI" \
+           "http://docbook.sourceforge.net/release/xsl/<replaceable>[version]</replaceable>" \
+           "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>[version]</replaceable>" \
+    /etc/xml/catalog</userinput></screen>
+
       <para>If you will be using the stylesheets from this installation to
       render the LFS and HLFS SVN books, then you need to create a symbolic
       link to the stylesheets directory so that the image files will be
@@ -195,19 +215,6 @@
     "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
     /etc/xml/catalog</userinput></screen>
 
-      <para>Alternatively, other versions can be installed in their own
-      versioned directories and catalog entries made in the following
-      form:</para>
-
-<screen role="root"><userinput>xmlcatalog -\-noout -\-add "rewriteSystem" \
-    "http://docbook.sourceforge.net/release/xsl/<replaceable>[version]</replaceable>" \
-    "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>[version]</replaceable>" \
-    /etc/xml/catalog &&
-xmlcatalog -\-noout -\-add "rewriteURI" \
-    "http://docbook.sourceforge.net/release/xsl/<replaceable>[version]</replaceable>" \
-    "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>[version]</replaceable>" \
-    /etc/xml/catalog</userinput></screen>
-
 -->
 
     </sect3>




More information about the blfs-book mailing list