1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY xmlto-download-http "https://releases.pagure.org/xmlto/xmlto-&xmlto-version;.tar.bz2">
|
---|
8 | <!ENTITY xmlto-download-ftp " ">
|
---|
9 | <!ENTITY xmlto-md5sum "93bab48d446c826399d130d959fe676f">
|
---|
10 | <!ENTITY xmlto-size "128 KB">
|
---|
11 | <!ENTITY xmlto-buildsize "1.5 MB (with tests)">
|
---|
12 | <!ENTITY xmlto-time "less than 0.1 SBU (with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="xmlto" xreflabel="xmlto-&xmlto-version;">
|
---|
16 | <?dbhtml filename="xmlto.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>xmlto-&xmlto-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="xmlto">
|
---|
26 | <primary sortas="a-xmlto">xmlto</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to xmlto</title>
|
---|
31 |
|
---|
32 | <para>The <application>xmlto</application> package is a front-end to a XSL
|
---|
33 | toolchain. It chooses an appropriate stylesheet for the conversion you want
|
---|
34 | and applies it using an external XSLT processor. It also performs any
|
---|
35 | necessary post-processing.</para>
|
---|
36 |
|
---|
37 | &lfs83_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>Download (HTTP): <ulink url="&xmlto-download-http;"/></para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>Download (FTP): <ulink url="&xmlto-download-ftp;"/></para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>Download MD5 sum: &xmlto-md5sum;</para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Download size: &xmlto-size;</para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Estimated disk space required: &xmlto-buildsize;</para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>Estimated build time: &xmlto-time;</para>
|
---|
58 | </listitem>
|
---|
59 | </itemizedlist>
|
---|
60 |
|
---|
61 | <bridgehead renderas="sect3">xmlto Dependencies</bridgehead>
|
---|
62 |
|
---|
63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
64 | <para role="required">
|
---|
65 | <xref linkend="DocBook"/>,
|
---|
66 | <xref linkend="docbook-xsl"/>, and
|
---|
67 | <xref linkend="libxslt"/>
|
---|
68 | </para>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect4">Optional (for DVI, PDF, and postscript
|
---|
71 | backend post-processing)</bridgehead>
|
---|
72 | <para role="optional">
|
---|
73 | <xref role="runtime" linkend="fop"/>,
|
---|
74 | <!-- <ulink url="http://dblatex.sourceforge.net/">dblatex</ulink>, and -->
|
---|
75 | <ulink url="http://sourceforge.net/projects/dblatex/files/dblatex/">dblatex</ulink>, and
|
---|
76 | <ulink url="http://www.garshol.priv.no/download/xmltools/prod/PassiveTeX.html">
|
---|
77 | PassiveTeX</ulink>
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | <bridgehead renderas="sect4">Optional (for text backend
|
---|
81 | post-processing)</bridgehead>
|
---|
82 | <para role="optional">
|
---|
83 | One of
|
---|
84 | <xref role="runtime" linkend="Links"/>,
|
---|
85 | <xref role="runtime" linkend="lynx"/>,
|
---|
86 | <xref role="runtime" linkend="w3m"/>, or
|
---|
87 | <ulink url="&elinks-url;">ELinks</ulink>
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <para condition="html" role="usernotes">User Notes:
|
---|
91 | <ulink url="&blfs-wiki;/xmlto"/></para>
|
---|
92 |
|
---|
93 | </sect2>
|
---|
94 |
|
---|
95 | <sect2 role="installation">
|
---|
96 | <title>Installation of xmlto</title>
|
---|
97 |
|
---|
98 | <para>Install <application>xmlto</application> by running the following
|
---|
99 | commands:</para>
|
---|
100 |
|
---|
101 | <screen><userinput>LINKS="/usr/bin/links" \
|
---|
102 | ./configure --prefix=/usr &&
|
---|
103 |
|
---|
104 | make</userinput></screen>
|
---|
105 |
|
---|
106 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
107 |
|
---|
108 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
109 |
|
---|
110 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
111 |
|
---|
112 | </sect2>
|
---|
113 |
|
---|
114 | <sect2 role="commands">
|
---|
115 | <title>Command Explanations</title>
|
---|
116 |
|
---|
117 | <para>
|
---|
118 | <envar>LINKS="/usr/bin/links"</envar>: This environment variable fixes a
|
---|
119 | bug causing <command>xmlto</command> to think that
|
---|
120 | <command>links</command> command is the same as
|
---|
121 | <command>elinks</command>. Setting this variable does not cause problems
|
---|
122 | if <xref linkend="links"/> is not installed, unless
|
---|
123 | you have <ulink url="http://elinks.or.cz/">ELinks</ulink> installed, and
|
---|
124 | wish to use it for text backend post-processing, in which case,
|
---|
125 | remove it.
|
---|
126 | </para>
|
---|
127 |
|
---|
128 | </sect2>
|
---|
129 |
|
---|
130 | <sect2 role="content">
|
---|
131 | <title>Contents</title>
|
---|
132 |
|
---|
133 | <segmentedlist>
|
---|
134 | <segtitle>Installed Programs</segtitle>
|
---|
135 | <segtitle>Installed Libraries</segtitle>
|
---|
136 | <segtitle>Installed Directory</segtitle>
|
---|
137 |
|
---|
138 | <seglistitem>
|
---|
139 | <seg>xmlif and xmlto</seg>
|
---|
140 | <seg>None</seg>
|
---|
141 | <seg>/usr/share/xmlto</seg>
|
---|
142 | </seglistitem>
|
---|
143 | </segmentedlist>
|
---|
144 |
|
---|
145 | <variablelist>
|
---|
146 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
147 | <?dbfo list-presentation="list"?>
|
---|
148 | <?dbhtml list-presentation="table"?>
|
---|
149 |
|
---|
150 | <varlistentry id="xmlif">
|
---|
151 | <term><command>xmlif</command></term>
|
---|
152 | <listitem>
|
---|
153 | <para>is a conditional processing instructions for XML.</para>
|
---|
154 | <indexterm zone="xmlto xmlif">
|
---|
155 | <primary sortas="b-xmlif">xmlif</primary>
|
---|
156 | </indexterm>
|
---|
157 | </listitem>
|
---|
158 | </varlistentry>
|
---|
159 |
|
---|
160 | <varlistentry id="xmlto-prog">
|
---|
161 | <term><command>xmlto</command></term>
|
---|
162 | <listitem>
|
---|
163 | <para>applies an XSL stylesheet to an XML document.</para>
|
---|
164 | <indexterm zone="xmlto xmlto-prog">
|
---|
165 | <primary sortas="b-xmlto">xmlto</primary>
|
---|
166 | </indexterm>
|
---|
167 | </listitem>
|
---|
168 | </varlistentry>
|
---|
169 |
|
---|
170 | </variablelist>
|
---|
171 |
|
---|
172 | </sect2>
|
---|
173 |
|
---|
174 | </sect1>
|
---|