Changeset 50d3491a for pst/sgml/sgml-dtd.xml
- Timestamp:
- 06/14/2004 04:35:14 AM (20 years ago)
- 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:
- 44b376e7
- Parents:
- 5d1668d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/sgml/sgml-dtd.xml
r5d1668d r50d3491a 1 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 2 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ 3 <!ENTITY % general-entities SYSTEM "../../general.ent"> 4 %general-entities; 5 6 <!ENTITY sgml-dtd-download-http "http://www.docbook.org/sgml/4.3/docbook-&sgml-dtd-version;.zip"> 7 <!ENTITY sgml-dtd-download-ftp " "> 8 <!ENTITY sgml-dtd-size "76 KB"> 9 <!ENTITY sgml-dtd-buildsize "389 KB"> 10 <!ENTITY sgml-dtd-time "0.01 SBU"> 11 ]> 12 1 13 <sect1 id="sgml-dtd" xreflabel="DocBook SGML DTD-&sgml-dtd-version;"> 2 14 <?dbhtml filename="sgml-dtd.html"?> 3 15 <title>DocBook SGML DTD-&sgml-dtd-version;</title> 4 16 5 &sgml-dtd-intro; 6 &sgml-dtd-inst; 7 &sgml-dtd-exp; 8 &sgml-dtd-config; 9 &sgml-dtd-desc; 17 <sect2> 18 <title>Introduction to <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application></title> 19 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 24 standard.</para> 25 26 <sect3><title>Package information</title> 27 <itemizedlist spacing='compact'> 28 <listitem><para>Download (HTTP): <ulink 29 url="&sgml-dtd-download-http;"/></para></listitem> 30 <listitem><para>Download (FTP): <ulink 31 url="&sgml-dtd-download-ftp;"/></para></listitem> 32 <listitem><para>Download size: &sgml-dtd-size;</para></listitem> 33 <listitem><para>Estimated Disk space required: 34 &sgml-dtd-buildsize;</para></listitem> 35 <listitem><para>Estimated build time: 36 &sgml-dtd-time;</para></listitem></itemizedlist> 37 </sect3> 38 39 <sect3><title><application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application> dependencies</title> 40 <sect4><title>Required</title> 41 <para><xref linkend="sgml-common"/></para></sect4> 42 </sect3> 43 44 </sect2> 45 46 <sect2> 47 <title>Installation of <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application></title> 48 49 <para>Install <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application> by running the following commands:</para> 50 51 <screen><userinput><command>cp docbook.cat docbook.cat.orig && 52 sed -e '/ISO 8879/d' docbook.cat.orig > docbook.cat && 53 cp docbook.cat docbook.cat.orig && 54 sed -e '/gml/d' docbook.cat.orig > docbook.cat && 55 install -d /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version; && 56 chown -R root:root . && 57 chmod -R 755 . && 58 install docbook.cat /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog && 59 cp -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version; && 60 install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-version;.cat \ 61 /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog && 62 install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-version;.cat \ 63 /etc/sgml/sgml-docbook.cat</command></userinput></screen> 64 65 </sect2> 66 67 <sect2> 68 <title>Command explanations</title> 69 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> 74 These commands remove the ENT definitions from the catalog file.</para> 75 76 </sect2> 77 78 <sect2> 79 <title>Configuring <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application></title> 80 81 <sect3><title>Config files</title> 82 <para><filename>/etc/sgml/catalog</filename></para> 83 </sect3> 84 85 <sect3><title>Configuration Information</title> 86 87 <para>The above installation script updates the catalog. 88 </para> 89 90 <para>Using only the most current 4.x version of <application>DocBook 91 <acronym>SGML</acronym> <acronym>DTD</acronym></application> requires the 92 following:</para> 93 <screen><userinput><command>cat >> /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog << "EOF"</command> 94 -- Begin Single Major Version catalog changes -- 95 96 PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd" 97 PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd" 98 PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "docbook.dtd" 99 100 -- End Single Major Version catalog changes -- 101 <command>EOF</command></userinput></screen> 102 103 </sect3> 104 105 </sect2> 106 107 <sect2> 108 <title>Contents</title> 109 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> 112 113 </sect2> 114 115 <sect2><title>Description</title> 116 117 <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 120 corresponding <acronym>SGML</acronym> files.</para></sect3> 121 122 <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> 125 126 </sect2> 10 127 11 128 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.