source: general/genutils/tidy.xml@ 82b70873

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 82b70873 was 6732c094, checked in by Randy McMurchy <randy@…>, 17 years ago

Updated all the XML files (and the one stylesheet) to use the 4.5 version of DocBook XML DTD

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

  • Property mode set to 100644
File size: 9.1 KB
Line 
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 tidy-download-http "&files-anduin;/sources/tidy-&tidy-version;.tar.bz2">
8 <!ENTITY tidy-download-ftp " ">
9 <!ENTITY tidy-md5sum "468bfaa5cf917a8ecbe7834c13a61376">
10 <!ENTITY tidy-size "872 KB">
11 <!ENTITY tidy-buildsize "15 MB">
12 <!ENTITY tidy-time "0.2 SBU">
13
14 <!ENTITY tidy-docs-version "051020">
15 <!ENTITY tidy-docs-download "http://tidy.sourceforge.net/docs/tidy_docs_&tidy-docs-version;.tgz">
16 <!ENTITY tidy-docs-md5sum "86de2f198e57399c063d2567b2a25628">
17 <!ENTITY tidy-docs-size "150 KB">
18]>
19
20<sect1 id="html-tidy" xreflabel="HTML Tidy-&tidy-version;">
21 <?dbhtml filename="tidy.html"?>
22
23 <sect1info>
24 <othername>$LastChangedBy$</othername>
25 <date>$Date$</date>
26 </sect1info>
27
28 <title>HTML Tidy-&tidy-version;</title>
29
30 <indexterm zone="html-tidy">
31 <primary sortas="a-HTML-Tidy">HTML Tidy</primary>
32 </indexterm>
33
34 <sect2 role="package">
35 <title>Introduction to HTML Tidy</title>
36
37 <para>The <application>HTML Tidy</application> package contains a
38 command line tool and libraries used to read HTML, XHTML and XML files
39 and write cleaned up markup. It detects and corrects many common coding
40 errors and strives to produce visually equivalent markup that is both
41 W3C compliant and compatible with most browsers.</para>
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>Download (HTTP): <ulink url="&tidy-download-http;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download (FTP): <ulink url="&tidy-download-ftp;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download MD5 sum: &tidy-md5sum;</para>
53 </listitem>
54 <listitem>
55 <para>Download size: &tidy-size;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated disk space required: &tidy-buildsize;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated build time: &tidy-time;</para>
62 </listitem>
63 </itemizedlist>
64
65 <para><application>HTML Tidy</application> tarballs are no longer generated
66 by the maintainers. To build from source, the
67 <application>HTML Tidy</application> developers recommend using current
68 CVS. The source tarball shown above was created by the BLFS team by pulling
69 a CVS version and generating the autotool components. BLFS made no changes
70 to the existing source files.</para>
71
72 <!-- <note>
73 <para><application>HTML Tidy</application> is
74 updated very frequently by its maintainers, and the source package listed
75 above may not be available at the listed URL due to the
76 release of a newer version. The most current source package can be always
77 be downloaded from <ulink url="http://tidy.sourceforge.net/src/"/>. If
78 this version is newer than the version listed above, the following
79 instructions should work, but have not yet been tested by the BLFS team.
80 If you'd rather download the version listed above, you can find it at
81 <ulink url="http://tidy.sourceforge.net/src/old/"/>.</para>
82 </note> -->
83
84 <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead> -->
85
86 <!-- <bridgehead renderas="sect4">Documentation</bridgehead>
87 <itemizedlist spacing="compact">
88 <listitem>
89 <para>Documentation: <ulink url="&tidy-docs-download;"/></para>
90 </listitem>
91 <listitem>
92 <para>Download MD5 sum: &tidy-docs-md5sum;</para>
93 </listitem>
94 <listitem>
95 <para>Download size: &tidy-docs-size;</para>
96 </listitem>
97 </itemizedlist> -->
98
99 <!-- <bridgehead renderas="sect4">Patches</bridgehead>
100 <itemizedlist spacing="compact">
101 <listitem>
102 <para>Required patch: <ulink
103 url="&patch-root;/tidy-&tidy-version;-prevent_PRE_newlines-1.patch"/></para>
104 </listitem>
105 </itemizedlist> -->
106
107 <bridgehead renderas="sect3">HTML Tidy Dependencies</bridgehead>
108
109 <!-- <bridgehead renderas="sect4">Recommended (To Build the Man Page and Quick
110 Reference Docs)</bridgehead>
111 <para role="recommended"><xref linkend="libxslt"/></para> -->
112
113 <bridgehead renderas="sect4">Optional</bridgehead>
114 <para role="optional"><ulink url="http://dmalloc.com/">Dmalloc</ulink></para>
115
116 <para condition="html" role="usernotes">User Notes:
117 <ulink url="&blfs-wiki;/tidy"/></para>
118
119 </sect2>
120
121 <sect2 role="installation">
122 <title>Installation of HTML Tidy</title>
123
124 <!-- <para>The <application>HTML Tidy</application> documentation
125 is contained in a separate tarball. Unpack both the source and docs
126 tarballs before starting the build.</para> -->
127
128 <para>Install <application>HTML Tidy</application> by
129 running the following commands:</para>
130
131<screen><userinput>./configure --prefix=/usr &amp;&amp;
132make</userinput></screen>
133
134 <para>To test the results, issue: <command>make check</command>.</para>
135
136 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
137
138<screen role="root"><userinput>make install</userinput></screen>
139
140 <para>If you wish to install the API documentation, issue the following
141 command as the <systemitem class="username">root</systemitem> user:</para>
142
143<screen role="root"><userinput>make -C htmldoc install_apidocs</userinput></screen>
144
145 <!-- <para>If you have <xref linkend="libxslt"/> installed, issue the following
146 commands as an unprivileged user to build the man page and HTML
147 documentation:</para>
148
149<screen><userinput>cd htmldoc &amp;&amp;
150tidy -xml-help &gt; tidy-help.xml &amp;&amp;
151tidy -xml-config &gt; tidy-config.xml &amp;&amp;
152xsltproc -o tidy.1 tidy1.xsl tidy-help.xml &amp;&amp;
153xsltproc -o quickref.html quickref-html.xsl tidy-config.xml &amp;&amp;
154cd ..</userinput></screen>
155
156 <para>If you built the man page and the Quick Reference HTML file, install
157 the man page by issuing the following command as the
158 <systemitem class="username">root</systemitem> user:</para>
159
160<screen role="root"><userinput>install -v -m644 htmldoc/tidy.1 /usr/share/man/man1</userinput></screen>
161
162 <para>Now finish the installation by installing the pre-built
163 documentation as the <systemitem class="username">root</systemitem>
164 user:</para>
165
166<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/tidy-&tidy-docs-version; &amp;&amp;
167cp -v -R htmldoc/* /usr/share/doc/tidy-&tidy-docs-version;</userinput></screen> -->
168
169 </sect2>
170
171 <!-- <sect2 role="commands">
172 <title>Command Explanations</title>
173
174 <para><command>sh build/gnuauto/setup.sh</command>: This command prepares
175 the source tree for building using the GNU <quote>Auto</quote>
176 tools.</para>
177
178 </sect2> -->
179
180 <sect2 role="configuration">
181 <title>Configuring HTML Tidy</title>
182
183 <sect3>
184 <title>Config Files</title>
185
186 <para>The absolute path of the file specified in
187 <envar>$HTML_TIDY</envar>.</para>
188
189 </sect3>
190
191 <sect3>
192 <title>Configuration Information</title>
193
194 <para>The default configuration options can be set in the file defined in
195 <envar>$HTML_TIDY</envar>. Additional configuration options can be passed
196 to <command>tidy</command> via command line parameters or the
197 <option>-config &lt;file&gt;</option> parameter.</para>
198
199 </sect3>
200
201 </sect2>
202
203 <sect2 role="content">
204 <title>Contents</title>
205
206 <segmentedlist>
207 <segtitle>Installed Programs</segtitle>
208 <segtitle>Installed Library</segtitle>
209 <segtitle>Installed Directory</segtitle>
210 <seglistitem>
211 <seg>tab2space and tidy</seg>
212 <seg>libtidy.{so,a}</seg>
213 <seg>/usr/share/doc/tidy-&tidy-docs-version;</seg>
214 </seglistitem>
215 </segmentedlist>
216
217 <variablelist>
218 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
219 <?dbfo list-presentation="list"?>
220 <?dbhtml list-presentation="table"?>
221
222 <varlistentry id="tab2space">
223 <term><command>tab2space</command></term>
224 <listitem>
225 <para>is a utility to expand tabs and ensure consistent line
226 endings.</para>
227 <indexterm zone="html-tidy tab2space">
228 <primary sortas="b-tab2space">tab2space</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="tidy">
234 <term><command>tidy</command></term>
235 <listitem>
236 <para>validates, corrects, and pretty-prints HTML files.</para>
237 <indexterm zone="html-tidy tidy">
238 <primary sortas="b-tidy">tidy</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="libtidy">
244 <term><filename class='libraryfile'>libtidy.{so,a}</filename></term>
245 <listitem>
246 <para>libraries provide the <application>HTML Tidy</application> API
247 functions to <command>tidy</command> and can also be called by other
248 programs.</para>
249 <indexterm zone="html-tidy libtidy">
250 <primary sortas="c-libtidy">libtidy.{so,a}</primary>
251 </indexterm>
252 </listitem>
253 </varlistentry>
254
255 </variablelist>
256
257 </sect2>
258
259</sect1>
Note: See TracBrowser for help on using the repository browser.