Ignore:
Timestamp:
07/27/2004 06:14:17 PM (20 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
f14e196d
Parents:
e130cf46
Message:

Added FTP download location to OpenSP; changed FTP download location and removed redundant sed command in DocBook-DTD-3.1 instructions; added UnZip as an optional dependency and changed sed commands to in-place edits on DocBook-DTD instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2503 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/sgml/sgml-dtd.xml

    re130cf46 rcb6de2e  
    33  <!ENTITY % general-entities SYSTEM "../../general.ent">
    44  %general-entities;
    5  
     5
    66  <!ENTITY sgml-dtd-download-http "http://www.docbook.org/sgml/4.3/docbook-&sgml-dtd-version;.zip">
    77  <!ENTITY sgml-dtd-download-ftp  " ">
     
    1616
    1717<sect2>
    18 <title>Introduction to <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application></title>
     18<title>Introduction to <application>DocBook <acronym>SGML</acronym>
     19<acronym>DTD</acronym></application></title>
    1920
    20 <para>The <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application> package contains document type definitions for verification of
    21 <acronym>SGML</acronym> data files against the DocBook rule set. These are
    22 useful for structuring books and software documentation to a standard
    23 allowing you to utilize transformations already written for that
     21<para>The <application>DocBook <acronym>SGML</acronym>
     22<acronym>DTD</acronym></application> package contains document type definitions
     23for verification of <acronym>SGML</acronym> data files against the DocBook rule
     24set. These are useful for structuring books and software documentation to a
     25standard allowing you to utilize transformations already written for that
    2426standard.</para>
    2527
     
    3739</sect3>
    3840
    39 <sect3><title><application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application> dependencies</title>
     41<sect3><title><application>DocBook <acronym>SGML</acronym>
     42<acronym>DTD</acronym></application> dependencies</title>
    4043<sect4><title>Required</title>
    41 <para><xref linkend="sgml-common"/></para></sect4>
     44<para><xref linkend="sgml-common"/> and <xref linkend="unzip"/></para></sect4>
    4245</sect3>
    4346
     
    4548
    4649<sect2>
    47 <title>Installation of <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application></title>
     50<title>Installation of <application>DocBook <acronym>SGML</acronym>
     51<acronym>DTD</acronym></application></title>
    4852
    49 <para>Install <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application> by running the following commands:</para>
     53<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../use-unzip.xml"/>
    5054
    51 <screen><userinput><command>cp docbook.cat docbook.cat.orig &amp;&amp;
    52 sed -e '/ISO 8879/d' docbook.cat.orig > docbook.cat &amp;&amp;
    53 cp docbook.cat docbook.cat.orig &amp;&amp;
    54 sed -e '/gml/d' docbook.cat.orig > docbook.cat &amp;&amp;
     55<para>Install <application>DocBook <acronym>SGML</acronym>
     56<acronym>DTD</acronym></application> by running the following commands:</para>
     57
     58<screen><userinput><command>sed -i -e '/ISO 8879/d' docbook.cat &amp;&amp;
     59sed -i -e '/gml/d' docbook.cat &amp;&amp;
    5560install -d /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version; &amp;&amp;
    5661chown -R root:root . &amp;&amp;
     
    6873<title>Command explanations</title>
    6974
    70 <para><screen><command>cp docbook.cat docbook.cat.orig
    71 sed -e '/ISO 8879/d' docbook.cat.orig > docbook.cat
    72 cp docbook.cat docbook.cat.orig
    73 sed -e '/gml/d' docbook.cat.orig > docbook.cat</command></screen>
     75<para><screen><command>sed -i -e '/ISO 8879/d' docbook.cat
     76sed -i -e '/gml/d' docbook.cat</command></screen>
    7477These commands remove the ENT definitions from the catalog file.</para>
    7578
     
    7780
    7881<sect2>
    79 <title>Configuring <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application></title>
     82<title>Configuring <application>DocBook <acronym>SGML</acronym>
     83<acronym>DTD</acronym></application></title>
    8084
    8185<sect3><title>Config files</title>
     
    108112<title>Contents</title>
    109113
    110 <para>The <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application> package contains <filename>DTD</filename> files and
    111 <filename>MOD</filename> files.</para>
     114<para>The <application>DocBook <acronym>SGML</acronym>
     115<acronym>DTD</acronym></application> package contains <filename>DTD</filename>
     116files and <filename>MOD</filename> files.</para>
    112117
    113118</sect2>
     
    116121
    117122<sect3><title>DTD files</title>
    118 <para><filename>DTD</filename> files contain a document type definition which defines the
    119 element types and the attribute lists that can be used in the
     123<para><filename>DTD</filename> files contain a document type definition which
     124defines the element types and the attribute lists that can be used in the
    120125corresponding <acronym>SGML</acronym> files.</para></sect3>
    121126
    122127<sect3><title>MOD files</title>
    123 <para><filename>MOD</filename> files contain components of the document type definition that
    124 are sourced into the <filename>DTD</filename> files.</para></sect3>
     128<para><filename>MOD</filename> files contain components of the document type
     129definition that are sourced into the <filename>DTD</filename> files.</para>
     130</sect3>
    125131
    126132</sect2>
Note: See TracChangeset for help on using the changeset viewer.