source: pst/sgml/docbook-utils.xml@ f938faf6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f938faf6 was 9f94cd9, checked in by Randy McMurchy <randy@…>, 20 years ago

Fixed DocBook-utils build problem

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

  • Property mode set to 100644
File size: 5.4 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<?dbhtml filename="docbook-utils.html"?>
16<title>DocBook-utils-&docbook-utils-version;</title>
17
18
19<sect2>
20<title>Introduction to <application>DocBook-utils</application></title>
21
22<para>The <application>DocBook-utils</application> package is a collection of
23utility scripts used to convert and analyze <acronym>SGML</acronym> documents
24in general, and DocBook files in particular. The scripts are used to convert
25from DocBook or other <acronym>SGML</acronym> formats into
26<quote>classical</quote> file formats like <acronym>HTML</acronym>, man, info,
27<acronym>RTF</acronym> and many more. There's also a utility to compare two
28<acronym>SGML</acronym> files and only display the differences in markup. This
29is useful for comparing documents prepared for different languages.</para>
30
31<sect3><title>Package information</title>
32<itemizedlist spacing='compact'>
33<listitem><para>Download (HTTP): <ulink url="&docbook-utils-download-http;"/></para></listitem>
34<listitem><para>Download (FTP): <ulink url="&docbook-utils-download-ftp;"/></para></listitem>
35<listitem><para>Download size: &docbook-utils-size;</para></listitem>
36<listitem><para>Estimated Disk space required: &docbook-utils-buildsize;</para></listitem>
37<listitem><para>Estimated build time: &docbook-utils-time;</para></listitem></itemizedlist>
38</sect3>
39
40<sect3><title><application>DocBook-utils</application> dependencies</title>
41
42<sect4><title>Required</title>
43<para><xref linkend="openjade"/>,
44<xref linkend="docbook-dsssl"/> and
45<xref linkend="sgml-dtd-3"/></para></sect4>
46
47<sect4><title>Optional</title>
48<para><xref linkend="jadetex"/> (for conversion to <acronym>DVI</acronym>,
49<acronym>PS</acronym> and <acronym>PDF</acronym>),
50<xref linkend="perl-modules"/>: SGMLSpm-&SGMLSpm-version; (for conversion to
51man and texinfo), and
52<xref linkend="lynx"/> or <xref linkend="Links"/> or <xref linkend="w3m"/>
53(for conversion to <acronym>ASCII</acronym> text)</para></sect4>
54</sect3>
55
56</sect2>
57
58<sect2>
59<title>Installation of <application>DocBook-utils</application></title>
60
61<para>Install <application>DocBook-utils</application> by running the
62following commands:</para>
63
64<screen><userinput><command>sed -i.orig -e "/CATALOG \/etc\/sgml\/OpenSP-1.5.1.cat/d" \
65 /etc/sgml/catalog &amp;&amp;
66sed -i.orig -e "/CATALOG \/etc\/sgml\/OpenSP-1.5.1.cat/d" \
67 /etc/sgml/sgml-docbook.cat &amp;&amp;
68./configure --prefix=/usr &amp;&amp;
69make &amp;&amp;
70make install &amp;&amp;
71cp /etc/sgml/catalog.orig /etc/sgml/catalog &amp;&amp;
72cp /etc/sgml/sgml-docbook.cat.orig /etc/sgml/sgml-docbook.cat</command></userinput></screen>
73</sect2>
74
75<sect2>
76<title>Command explanations</title>
77
78<para><command>sed -i.orig -e ...</command>: These two <command>sed</command>'s
79remove <application>OpenSP</application> catalog definitions from the
80<acronym>SGML</acronym> catalogs because the SGMLDECL unicode.sd declaration
81creates errors when <command>openjade</command> builds the
82<application>DocBook-utils</application> documentation files. Backup copies of
83the files are made and copied back to their original place after the build is
84complete. Though these errors are harmless, and won't affect
85<application>DocBook-utils</application> functionality after the build, the
86declarations are temporarily removed to provide a clean package build.</para>
87
88</sect2>
89
90<sect2>
91<title>Contents</title>
92
93<para>The <application>DocBook-utils</application> package contains
94<command>docbook2dvi</command>, <command>docbook2html</command>,
95<command>docbook2man</command>, <command>docbook2pdf</command>,
96<command>docbook2ps</command>, <command>docbook2rtf</command>,
97<command>docbook2tex</command>, <command>docbook2texi</command>,
98<command>docbook2txt</command>, <command>jw</command> and
99<command>sgmldiff</command>.</para>
100
101</sect2>
102
103<sect2><title>Description</title>
104
105<sect3><title>docbook2{dvi,html,man,pdf,ps,rtf,tex,texi,txt}</title>
106
107<para>The <command>docbook2{format}</command> scripts are simple one-line
108wrappers to <command>jw</command>. They are provided as easy-to-remember
109names used to convert DocBook or other <acronym>SGML</acronym> files to the
110respective format.</para></sect3>
111
112<sect3><title>jw</title>
113
114<para><command>jw</command> is a script used to convert DocBook or other
115<acronym>SGML</acronym> files to various output formats. It hides most of
116<application>OpenJade</application>'s complexity and adds comfortable
117features.</para></sect3>
118
119<sect3><title>sgmldiff</title>
120
121<para><command>sgmldiff</command> is used to compare two
122<acronym>SGML</acronym> files and only return the differences in the markup.
123This is especially useful to compare files that should be identical except
124for language differences in the content.</para></sect3>
125
126</sect2>
127
128</sect1>
129
Note: See TracBrowser for help on using the repository browser.