r3220 - in trunk/BOOK: pst/xml stylesheets/xhtml

larry at linuxfromscratch.org larry at linuxfromscratch.org
Fri Jan 7 12:35:42 PST 2005


Author: larry
Date: 2005-01-07 13:35:41 -0700 (Fri, 07 Jan 2005)
New Revision: 3220

Modified:
   trunk/BOOK/pst/xml/docbook-xsl.xml
   trunk/BOOK/pst/xml/docbook.xml
   trunk/BOOK/stylesheets/xhtml/lfs-index.xsl
Log:
fix bug 1154 and spacing in index for second entry

Modified: trunk/BOOK/pst/xml/docbook-xsl.xml
===================================================================
--- trunk/BOOK/pst/xml/docbook-xsl.xml	2005-01-07 17:42:45 UTC (rev 3219)
+++ trunk/BOOK/pst/xml/docbook-xsl.xml	2005-01-07 20:35:41 UTC (rev 3220)
@@ -79,25 +79,39 @@
     "file:///etc/xml/docbook" /etc/xml/catalog &&
 xmlcatalog --noout --add "delegateURI" \
     "http://docbook.sourceforge.net/release/xsl/" \
-    "file:///etc/xml/docbook" /etc/xml/catalog &&
-echo \
-'export XML_CATALOG_FILES="/usr/share/xml/docbook/xsl-stylesheets&docbook-xsl-version;/catalog.xml /etc/xml/catalog"' \
-    >> /etc/profile</command></userinput></screen>
+    "file:///etc/xml/docbook" /etc/xml/catalog</command></userinput></screen>
 
 </sect2>
 
 <sect2>
+<title>Command explanations</title>
+
+<para><command>sh INSTALL</command>: This command creates a local
+catalog for the <acronym>XSL</acronym> files.</para>
+
+</sect2>
+
+
+<sect2>
 <title>Configuring <application>DocBook <acronym>XSL</acronym> 
 Stylesheets</application></title>
 
 <sect3 id="docbook-xsl-config"><title>Config files</title>
 <para><filename>/etc/xml/catalog</filename></para>
-<!-- <indexterm zone="docbook-xsl docbook-xsl-config"><primary
-sortas="e-catalog">catalog</primary></indexterm> -->
+<indexterm zone="docbook-xsl docbook-xsl-config"><primary
+sortas="e-catalog">catalog</primary></indexterm>
 </sect3>
 
 <sect3><title>Configuration Information</title>
 
+<para>The system profile needs to be updated to utilize the new
+installed catalog. This can be done with the following command:</para>
+
+<screen><userinput><command>cat > /etc/profile.d/xsl.sh << "EOF"</command>
+# Set up Environment Variable for XSL Processing
+export XML_CATALOG_FILES="/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;/catalog.xml /etc/xml/catalog"
+<command>EOF</command></userinput></screen>
+
 <para>The above installation script creates the files and updates the
 catalog. Some project stylesheets reference specific versions of
 <acronym>XSL</acronym> stylesheets, like <acronym>BLFS</acronym>, which

Modified: trunk/BOOK/pst/xml/docbook.xml
===================================================================
--- trunk/BOOK/pst/xml/docbook.xml	2005-01-07 17:42:45 UTC (rev 3219)
+++ trunk/BOOK/pst/xml/docbook.xml	2005-01-07 20:35:41 UTC (rev 3220)
@@ -125,9 +125,9 @@
 <para><filename>/etc/xml/catalog</filename>, 
 <filename>/etc/xml/docbook</filename></para>
 <indexterm zone="DocBook docbook-config"><primary
-sortas="e-docbook">docbook</primary></indexterm>
+sortas="e-docbook">/etc/xml/docbook</primary></indexterm>
 <indexterm zone="DocBook docbook-config"><primary
-sortas="e-catalog">catalog</primary></indexterm>
+sortas="e-catalog">/etc/xml/catalog</primary></indexterm>
 </sect3>
 
 <sect3><title>Configuration Information</title>

Modified: trunk/BOOK/stylesheets/xhtml/lfs-index.xsl
===================================================================
--- trunk/BOOK/stylesheets/xhtml/lfs-index.xsl	2005-01-07 17:42:45 UTC (rev 3219)
+++ trunk/BOOK/stylesheets/xhtml/lfs-index.xsl	2005-01-07 20:35:41 UTC (rev 3220)
@@ -170,7 +170,7 @@
               <xsl:with-param name="object" select="$target2[1]"/>
             </xsl:call-template>
           </xsl:attribute>
-          <xsl:text>description</xsl:text>
+          <xsl:text>description </xsl:text>
         </a>
       </xsl:when>
       <xsl:otherwise>




More information about the blfs-book mailing list