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