source: pst/xml/xmlto.xml@ a3ee3886

12.2 lazarus trunk
Last change on this file since a3ee3886 was e375445, checked in by Bruce Dubbs <bdubbs@…>, 5 weeks ago

Tag Chapters 48 and 49 (SGML/XML) and a few other packages.

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