source: pst/sgml/docbook-utils.xml@ 0dddae0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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
Last change on this file since 0dddae0 was 0dddae0, checked in by Wayne Blaszczyk <wblaszcz@…>, 14 years ago

Updated to GTK-Doc-1.14 and minor formatting changes to docbook-dsssl, sgml-common, docbook-utils, and tcl.

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

  • Property mode set to 100644
File size: 8.6 KB
RevLine 
[d7fb898e]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[d7fb898e]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY docbook-utils-download-http "http://sources-redhat.mirrors.redwire.net/docbook-tools/new-trials/SOURCES/docbook-utils-&docbook-utils-version;.tar.gz">
8 <!ENTITY docbook-utils-download-ftp "ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/docbook-utils-&docbook-utils-version;.tar.gz">
[2dde015]9 <!ENTITY docbook-utils-md5sum "6b41b18c365c01f225bc417cf632d81c">
[e8b9dbf7]10 <!ENTITY docbook-utils-size "124 KB">
11 <!ENTITY docbook-utils-buildsize "1.44 MB">
[738c5f8]12 <!ENTITY docbook-utils-time "less than 0.1 SBU">
[d7fb898e]13]>
14
15<sect1 id="docbook-utils" xreflabel="DocBook-utils-&docbook-utils-version;">
[5bae145]16 <?dbhtml filename="docbook-utils.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>DocBook-utils-&docbook-utils-version;</title>
24
25 <indexterm zone="docbook-utils">
26 <primary sortas="a-DocBook-utils">DocBook-utils</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to DocBook-utils</title>
31
32 <para>The <application>DocBook-utils</application> package is a collection
33 of utility scripts used to convert and analyze SGML documents in general,
34 and DocBook files in particular. The scripts are used to convert from
35 DocBook or other SGML formats into <quote>classical</quote> file formats
36 like HTML, man, info, RTF and many more. There's also a utility to compare
37 two SGML files and only display the differences in markup. This is useful
38 for comparing documents prepared for different languages.</para>
39
[00555b0f]40 &lfs65_checked;
41
[5bae145]42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>Download (HTTP): <ulink url="&docbook-utils-download-http;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download (FTP): <ulink url="&docbook-utils-download-ftp;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download MD5 sum: &docbook-utils-md5sum;</para>
52 </listitem>
53 <listitem>
54 <para>Download size: &docbook-utils-size;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated disk space required: &docbook-utils-buildsize;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated build time: &docbook-utils-time;</para>
61 </listitem>
62 </itemizedlist>
63
64 <bridgehead renderas="sect3">DocBook-utils Dependencies</bridgehead>
65
66 <bridgehead renderas="sect4">Required</bridgehead>
[d352a28]67 <para role="required"><xref linkend="openjade"/>,
[0dddae0]68 <xref linkend="docbook-dsssl"/>, and
[5bae145]69 <xref linkend="sgml-dtd-3"/></para>
70
[738c5f8]71 <bridgehead renderas="sect4">Optional (Runtime Dependencies Only)</bridgehead>
[d352a28]72 <para role="optional"><xref linkend="jadetex"/> (for conversion to DVI, PS and PDF),
[ba4b31cf]73 <xref linkend="perl-sgmlspm"/> (for conversion to man and texinfo), and
[5bae145]74 <xref linkend="lynx"/> or <xref linkend="Links"/> or <xref linkend="w3m"/>
75 (for conversion to ASCII text)</para>
76
[977061b0]77 <para condition="html" role="usernotes">User Notes:
78 <ulink url="&blfs-wiki;/docbook-utils"/></para>
79
[5bae145]80 </sect2>
81
82 <sect2 role="installation">
83 <title>Installation of DocBook-utils</title>
84
[738c5f8]85 <!-- This shouldn't be required any longer as the OpenSP catalog stuff
86 was removed from BLFS two revisions ago.
87
[5bae145]88 <note>
89 <para>Earlier versions of the BLFS <application>OpenSP</application>
90 instructions installed a catalog containing an SGMLDECL
91 <filename>unicode.sd</filename> declaration into the system SGML
92 catalogs. This declaration causes some of the
93 <application>OpenJade</application> programs to fail occasionally.
94 You'll need to remove these catalog definitions if they exist, or
95 the package build will fail. The following command can determine if
96 you need to remove these catalog definitions:</para>
97
98<screen><userinput>grep "OpenSP-1.5.1" /etc/sgml/catalog</userinput></screen>
99
100 <para>If anything was returned, run the following command as the
101 <systemitem class="username">root</systemitem> user to remove the
102 catalog definitions:</para>
103
104<screen role="root"><userinput>sed -i.orig \
[04af8b24]105 -e "/CATALOG \/etc\/sgml\/OpenSP-1.5.1.cat/d" \
106 /etc/sgml/catalog \
[5bae145]107 /etc/sgml/sgml-docbook.cat</userinput></screen>
[04af8b24]108
[5bae145]109 </note>
[d7fb898e]110
[738c5f8]111 -->
112
[5bae145]113 <para>Install <application>DocBook-utils</application> by running the
114 following commands:</para>
[2dde015]115
[ecb6484a]116<screen><userinput>sed -i 's:/html::' doc/HTML/Makefile.in &amp;&amp;
117./configure --prefix=/usr &amp;&amp;
[5bae145]118make</userinput></screen>
[2dde015]119
[738c5f8]120 <para>This package does not come with a test suite.</para>
121
[5bae145]122 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[eb091c9]123
[5bae145]124<screen role="root"><userinput>make install</userinput></screen>
[eb091c9]125
[5bae145]126 <para>Many packages use an alternate name for the
127 <application>DocBook-utils</application> scripts. If you wish to create
128 these alternate names, use the following command:</para>
129
130<screen role="root"><userinput>for doctype in html ps dvi man pdf rtf tex texi txt
[eb091c9]131do
132 ln -s docbook2$doctype /usr/bin/db2$doctype
[5bae145]133done</userinput></screen>
134
[4570991]135 <note>
136 <para>The <command>jw</command> script uses the <command>which</command>
137 command to locate required utilities. You must install
138 <xref linkend="which"/> before attempting to use any of the
139 <application>DocBook-utils</application> programs.</para>
140 </note>
141
[5bae145]142 </sect2>
143
[ecb6484a]144 <sect2 role="commands">
145 <title>Command Explanations</title>
146
147 <para><command>sed -i 's:/html::' doc/HTML/Makefile.in</command>:
148 This command changes the installation directory of the HTML documents.</para>
149
150 </sect2>
151
[5bae145]152 <sect2 role="content">
153 <title>Contents</title>
154
155 <segmentedlist>
156 <segtitle>Installed Programs</segtitle>
157 <segtitle>Installed Libraries</segtitle>
158 <segtitle>Installed Directories</segtitle>
159 <segtitle>Installed Symlinks</segtitle>
160
161 <seglistitem>
162 <seg>docbook2dvi, docbook2html, docbook2man, docbook2pdf, docbook2ps,
163 docbook2rtf, docbook2tex, docbook2texi, docbook2txt, jw, and
164 sgmldiff</seg>
165 <seg>None</seg>
[ecb6484a]166 <seg>/usr/share/doc/docbook-utils-&docbook-utils-version; and
[5bae145]167 /usr/share/sgml/docbook/utils-&docbook-utils-version;</seg>
168 <seg>db2dvi, db2html, db2man, db2pdf, db2ps, db2rtf, db2tex, db2texi,
169 and db2txt</seg>
170 </seglistitem>
171 </segmentedlist>
172
173 <variablelist>
174 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
175 <?dbfo list-presentation="list"?>
176 <?dbhtml list-presentation="table"?>
177
178 <varlistentry id="docbook2">
179 <term><command>docbook2*</command></term>
180 <listitem>
181 <para>are simple one-line wrapper scripts to <command>jw</command>.
182 They are provided as easy-to-remember names used to convert DocBook or
183 other SGML files to the respective format.</para>
184 <indexterm zone="docbook-utils docbook2">
185 <primary sortas="b-docbook2-star">docbook2*</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="db2">
191 <term><command>db2*</command></term>
192 <listitem>
193 <para>are symlinks pointing at the respectively named
194 <command>docbook2*</command> commands, created to satisfy some
195 program's use of these names.</para>
196 <indexterm zone="docbook-utils db2">
197 <primary sortas="g-db2-star">db2*</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 <varlistentry id="jw">
203 <term><command>jw</command></term>
204 <listitem>
205 <para>is a script used to convert DocBook or other SGML files to various
206 output formats. It hides most of <application>OpenJade</application>'s
207 complexity and adds comfortable features.</para>
208 <indexterm zone="docbook-utils jw">
209 <primary sortas="b-jw">jw</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="sgmldiff">
215 <term><command>sgmldiff</command></term>
216 <listitem>
217 <para>is used to compare two SGML files and only return the differences
218 in the markup. This is especially useful to compare files that should be
219 identical except for language differences in the content.</para>
220 <indexterm zone="docbook-utils sgmldiff">
221 <primary sortas="b-sgmldiff">sgmldiff</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 </variablelist>
227
228 </sect2>
[d7fb898e]229
230</sect1>
Note: See TracBrowser for help on using the repository browser.