source: pst/sgml/docbook-utils.xml@ 977061b0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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
Last change on this file since 977061b0 was 977061b0, checked in by Randy McMurchy <randy@…>, 18 years ago

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #8

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

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