mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Removed loop including many versions of XML stylesheets being rewrote to the current version in the DocBook XML Stylesheets instructions, suggested by Manuel Canales Esparcia
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3623 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
ecc303213d
commit
90ca10dd69
@ -139,26 +139,24 @@ 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
|
||||
catalog with the current version of the <acronym>XML</acronym> stylesheets.
|
||||
Some project stylesheets reference specific versions of
|
||||
<acronym>XSL</acronym> stylesheets, like <acronym>BLFS</acronym>-6.0, which
|
||||
needs the 1.67.2 version. The following commands can also serve
|
||||
as an example for using a single <acronym>XSL</acronym> version to support
|
||||
any hard coded versions, as needed. Ensure you modify the
|
||||
<command>for</command> command below to only include the stylesheet versions
|
||||
you desire (remove references to stylesheet versions you have installed, or
|
||||
plan to install). Issue the following commands as the root user:</para>
|
||||
needs the 1.67.2 version. The following commands can serve as an example for
|
||||
using a single <acronym>XSL</acronym> version to support any hard coded
|
||||
versions, as needed. Us the following as an example to use the current
|
||||
version of the stylesheets for the 1.67.2 version. Edit or add to the
|
||||
commands to suit your particular needs. Issue the commands as the root
|
||||
user:</para>
|
||||
|
||||
<screen><userinput><command>for XSLVERSION in 1.61.3 1.65.1 1.66.1 1.67.0 1.67.2 1.68.0
|
||||
do
|
||||
xmlcatalog --noout --add "rewriteSystem" \
|
||||
"http://docbook.sourceforge.net/release/xsl/$XSLVERSION" \
|
||||
<screen><userinput><command>xmlcatalog --noout --add "rewriteSystem" \
|
||||
"http://docbook.sourceforge.net/release/xsl/1.67.2" \
|
||||
"/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
|
||||
/etc/xml/catalog
|
||||
xmlcatalog --noout --add "rewriteURI" \
|
||||
"http://docbook.sourceforge.net/release/xsl/$XSLVERSION" \
|
||||
/etc/xml/catalog &&
|
||||
xmlcatalog --noout --add "rewriteURI" \
|
||||
"http://docbook.sourceforge.net/release/xsl/1.67.2" \
|
||||
"/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
|
||||
/etc/xml/catalog
|
||||
done</command></userinput></screen>
|
||||
/etc/xml/catalog</command></userinput></screen>
|
||||
|
||||
<para>Alternatively, other versions can be installed in their own
|
||||
versioned directories and catalog entries made in the following
|
||||
|
Loading…
Reference in New Issue
Block a user