Fixed broken commands in the for loop in the DocBook XML DTD instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3616 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2005-04-01 21:25:35 +00:00
parent 0fa91c667a
commit 9c9fb93c64

View File

@ -71,8 +71,9 @@ chown -R root:root . &&
cp -v -af docbook.cat *.dtd ent/ *.mod \
/usr/share/xml/docbook/xml-dtd-&DocBook-version;</command></userinput></screen>
<para>Create and populate the <filename>/etc/xml/docbook</filename> catalog
file by running the following commands as the root user:</para>
<para>Create (or update) and populate the
<filename>/etc/xml/docbook</filename> catalog file by running the following
commands as the root user:</para>
<screen><userinput role='root'><command>if [ ! -e /etc/xml/docbook ]; then
xmlcatalog --noout --create /etc/xml/docbook
@ -122,24 +123,29 @@ xmlcatalog --noout --add "rewriteURI" \
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
/etc/xml/docbook</command></userinput></screen>
<para>Create and populate the <filename>/etc/xml/catalog</filename> catalog
file by running the following commands as the root user:</para>
<para>Create (or update) and populate the
<filename>/etc/xml/catalog</filename> catalog file by running the following
commands as the root user:</para>
<screen><userinput role='root'><command>if [ ! -e /etc/xml/catalog ]; then
xmlcatalog --noout --create /etc/xml/catalog
fi &amp;&amp;
xmlcatalog --noout --add "delegatePublic" \
"-//OASIS//ENTITIES DocBook XML" \
"file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
"file:///etc/xml/docbook" \
/etc/xml/catalog &amp;&amp;
xmlcatalog --noout --add "delegatePublic" \
"-//OASIS//DTD DocBook XML" \
"file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
"file:///etc/xml/docbook" \
/etc/xml/catalog &amp;&amp;
xmlcatalog --noout --add "delegateSystem" \
"http://www.oasis-open.org/docbook/" \
"file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
"file:///etc/xml/docbook" \
/etc/xml/catalog &amp;&amp;
xmlcatalog --noout --add "delegateURI" \
"http://www.oasis-open.org/docbook/" \
"file:///etc/xml/docbook" /etc/xml/catalog</command></userinput></screen>
"file:///etc/xml/docbook" \
/etc/xml/catalog</command></userinput></screen>
</sect2>
@ -174,23 +180,23 @@ do
xmlcatalog --noout --add "public" \
"-//OASIS//DTD DocBook XML V$DTDVERSION//EN" \
"http://www.oasis-open.org/docbook/xml/$DTDVERSION/docbookx.dtd" \
/etc/xml/docbook &amp;&amp;
/etc/xml/docbook
xmlcatalog --noout --add "rewriteSystem" \
"http://www.oasis-open.org/docbook/xml/$DTDVERSION" \
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
/etc/xml/docbook &amp;&amp;
/etc/xml/docbook
xmlcatalog --noout --add "rewriteURI" \
"http://www.oasis-open.org/docbook/xml/$DTDVERSION" \
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
/etc/xml/docbook &amp;&amp;
/etc/xml/docbook
xmlcatalog --noout --add "delegateSystem" \
"http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \
"file:///etc/xml/docbook" \
/etc/xml/catalog &amp;&amp;
/etc/xml/catalog
xmlcatalog --noout --add "delegateURI" \
"http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \
"file:///etc/xml/docbook" \
/etc/xml/catalog &amp;&amp;
/etc/xml/catalog
done</command></userinput></screen>
</sect3>