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
|
---|
23 | utility scripts used to convert and analyze <acronym>SGML</acronym> documents
|
---|
24 | in general, and DocBook files in particular. The scripts are used to convert
|
---|
25 | from 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
|
---|
29 | is 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"/></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
|
---|
51 | man 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
|
---|
62 | following commands:</para>
|
---|
63 |
|
---|
64 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
65 | make &&
|
---|
66 | make install</command></userinput></screen>
|
---|
67 |
|
---|
68 | </sect2>
|
---|
69 |
|
---|
70 | <sect2>
|
---|
71 | <title>Contents</title>
|
---|
72 |
|
---|
73 | <para>The <application>DocBook-utils</application> package contains
|
---|
74 | <command>docbook2dvi</command>, <command>docbook2html</command>,
|
---|
75 | <command>docbook2man</command>, <command>docbook2pdf</command>,
|
---|
76 | <command>docbook2ps</command>, <command>docbook2rtf</command>,
|
---|
77 | <command>docbook2tex</command>, <command>docbook2texi</command>,
|
---|
78 | <command>docbook2txt</command>, <command>jw</command> and
|
---|
79 | <command>sgmldiff</command>.</para>
|
---|
80 |
|
---|
81 | </sect2>
|
---|
82 |
|
---|
83 | <sect2><title>Description</title>
|
---|
84 |
|
---|
85 | <sect3><title>docbook2{dvi,html,man,pdf,ps,rtf,tex,texi,txt}</title>
|
---|
86 |
|
---|
87 | <para>The <command>docbook2{format}</command> scripts are simple one-line
|
---|
88 | wrappers to <command>jw</command>. They are provided as easy-to-remember
|
---|
89 | names used to convert DocBook or other <acronym>SGML</acronym> files to the
|
---|
90 | respective format.</para></sect3>
|
---|
91 |
|
---|
92 | <sect3><title>jw</title>
|
---|
93 |
|
---|
94 | <para><command>jw</command> is a script used to convert DocBook or other
|
---|
95 | <acronym>SGML</acronym> files to various output formats. It hides most of
|
---|
96 | <application>OpenJade</application>'s complexity and adds comfortable
|
---|
97 | features.</para></sect3>
|
---|
98 |
|
---|
99 | <sect3><title>sgmldiff</title>
|
---|
100 |
|
---|
101 | <para><command>sgmldiff</command> is used to compare two
|
---|
102 | <acronym>SGML</acronym> files and only return the differences in the markup.
|
---|
103 | This is especially useful to compare files that should be identical except
|
---|
104 | for language differences in the content.</para></sect3>
|
---|
105 |
|
---|
106 | </sect2>
|
---|
107 |
|
---|
108 | </sect1>
|
---|
109 |
|
---|