source: pst/sgml/docbook-utils.xml@ 5fbff85

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
Last change on this file since 5fbff85 was 0b5a693, checked in by Randy McMurchy <randy@…>, 19 years ago

Final round of renaming the package-name entities

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

  • Property mode set to 100644
File size: 5.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/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-size "125 KB">
10 <!ENTITY docbook-utils-buildsize "1.5 MB">
11 <!ENTITY docbook-utils-time ".04 SBU">
12]>
13
14<sect1 id="docbook-utils" xreflabel="DocBook-utils-&docbook-utils-version;">
15<sect1info>
16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
18</sect1info>
19<?dbhtml filename="docbook-utils.html"?>
20<title>DocBook-utils-&docbook-utils-version;</title>
21
22<sect2>
23<title>Introduction to <application>DocBook-utils</application></title>
24
25<para>The <application>DocBook-utils</application> package is a collection of
26utility scripts used to convert and analyze <acronym>SGML</acronym> documents
27in general, and DocBook files in particular. The scripts are used to convert
28from DocBook or other <acronym>SGML</acronym> formats into
29<quote>classical</quote> file formats like <acronym>HTML</acronym>, man, info,
30<acronym>RTF</acronym> and many more. There's also a utility to compare two
31<acronym>SGML</acronym> files and only display the differences in markup. This
32is useful for comparing documents prepared for different languages.</para>
33
34<sect3><title>Package information</title>
35<itemizedlist spacing='compact'>
36<listitem><para>Download (HTTP): <ulink url="&docbook-utils-download-http;"/></para></listitem>
37<listitem><para>Download (FTP): <ulink url="&docbook-utils-download-ftp;"/></para></listitem>
38<listitem><para>Download size: &docbook-utils-size;</para></listitem>
39<listitem><para>Estimated disk space required: &docbook-utils-buildsize;</para></listitem>
40<listitem><para>Estimated build time: &docbook-utils-time;</para></listitem></itemizedlist>
41</sect3>
42
43<sect3><title><application>DocBook-utils</application> dependencies</title>
44
45<sect4><title>Required</title>
46<para><xref linkend="openjade"/>,
47<xref linkend="docbook-dsssl"/> and
48<xref linkend="sgml-dtd-3"/></para></sect4>
49
50<sect4><title>Optional</title>
51<para><xref linkend="jadetex"/> (for conversion to
52<acronym>DVI</acronym>, <acronym>PS</acronym> and <acronym>PDF</acronym>),
53<xref linkend="perl-modules"/>: SGMLSpm-&SGMLSpm-version; (for conversion to
54man and texinfo), and
55<xref linkend="lynx"/> or <xref linkend="Links"/> or <xref linkend="w3m"/>
56(for conversion to <acronym>ASCII</acronym> text)</para></sect4>
57</sect3>
58
59</sect2>
60
61<sect2>
62<title>Installation of <application>DocBook-utils</application></title>
63
64<note><para>Earlier versions of the <acronym>BLFS</acronym>
65<application>OpenSP</application> instructions installed a catalog
66containing an SGMLDECL <filename>unicode.sd</filename> declaration
67into the system <acronym>SGML</acronym> catalogs. This declaration
68causes some of the <application>OpenJade</application> programs to
69fail occasionally. You'll need to remove these catalog definitions
70if they exist, or the package build will fail. The following command
71can determine if you need to remove these catalog definitions:</para>
72
73<screen><userinput><command>grep "OpenSP-1.5.1" /etc/sgml/catalog</command></userinput></screen>
74
75<para>If anything was returned, run the following command to remove
76the catalog definitions:</para>
77
78<screen><userinput><command>sed -i.orig \
79 -e "/CATALOG \/etc\/sgml\/OpenSP-1.5.1.cat/d" \
80 /etc/sgml/catalog \
81 /etc/sgml/sgml-docbook.cat</command></userinput></screen></note>
82
83<para>Install <application>DocBook-utils</application> by running the
84following commands:</para>
85
86<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
87make &amp;&amp;
88make install</command></userinput></screen>
89
90<para>Many packages use an alternate name for the
91<application>DocBook-utils</application> scripts. If you wish to create these
92alternate names, use the following command:</para>
93
94<screen><userinput><command>for doctype in html ps dvi man pdf rtf tex texi txt
95do
96 ln -s docbook2$doctype /usr/bin/db2$doctype
97done</command></userinput></screen>
98
99</sect2>
100
101<sect2>
102<title>Contents</title>
103
104<para>The <application>DocBook-utils</application> package contains
105<command>docbook2dvi</command>, <command>docbook2html</command>,
106<command>docbook2man</command>, <command>docbook2pdf</command>,
107<command>docbook2ps</command>, <command>docbook2rtf</command>,
108<command>docbook2tex</command>, <command>docbook2texi</command>,
109<command>docbook2txt</command>, <command>jw</command> and
110<command>sgmldiff</command>.</para>
111
112</sect2>
113
114<sect2><title>Description</title>
115
116<sect3><title>docbook2{dvi,html,man,pdf,ps,rtf,tex,texi,txt}</title>
117
118<para>The <command>docbook2{format}</command> scripts are simple one-line
119wrappers to <command>jw</command>. They are provided as easy-to-remember
120names used to convert DocBook or other <acronym>SGML</acronym> files to the
121respective format.</para></sect3>
122
123<sect3><title>jw</title>
124
125<para><command>jw</command> is a script used to convert DocBook or other
126<acronym>SGML</acronym> files to various output formats. It hides most of
127<application>OpenJade</application>'s complexity and adds comfortable
128features.</para></sect3>
129
130<sect3><title>sgmldiff</title>
131
132<para><command>sgmldiff</command> is used to compare two
133<acronym>SGML</acronym> files and only return the differences in the markup.
134This is especially useful to compare files that should be identical except
135for language differences in the content.</para></sect3>
136
137</sect2>
138
139</sect1>
140
Note: See TracBrowser for help on using the repository browser.