source: general/genutils/tidy.xml@ b136a6d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since b136a6d was c18d3b25, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Tagged tidy.xml

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

  • Property mode set to 100644
File size: 7.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY tidy-download-http "http://tidy.sourceforge.net/src/tidy_src_&tidy-version;.tgz">
8 <!ENTITY tidy-download-ftp " ">
9 <!ENTITY tidy-md5sum "94b5825afab39eed91c2c449b20afd52">
10 <!ENTITY tidy-size "246 KB">
11 <!ENTITY tidy-buildsize "9.8 MB">
12 <!ENTITY tidy-time "0.23 SBU">
13
14 <!ENTITY tidy-docs-download "http://tidy.sourceforge.net/docs/tidy_docs.tgz">
15 <!ENTITY tidy-docs-md5sum "00808694ad7cb21a7c40387423f60993">
16 <!ENTITY tidy-docs-size "152 KB">
17]>
18
19<sect1 id="html-tidy" xreflabel="HTML Tidy-&tidy-version;">
20 <?dbhtml filename="tidy.html"?>
21
22 <sect1info>
23 <othername>$LastChangedBy$</othername>
24 <date>$Date$</date>
25 </sect1info>
26
27 <title>HTML Tidy-&tidy-version;</title>
28
29 <indexterm zone="html-tidy">
30 <primary sortas="a-HTML-Tidy">HTML Tidy</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to HTML Tidy</title>
35
36 <para>The <application>HTML Tidy</application> package contains a
37 command line tool and libraries used to read HTML, XHTML and XML
38 files and write cleaned up markup. It detects and corrects many common coding
39 errors and strives to produce visually equivalent markup that is both
40 W3C compliant and compatible with most browsers.</para>
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>Download (HTTP): <ulink url="&tidy-download-http;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download (FTP): <ulink url="&tidy-download-ftp;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download MD5 sum: &tidy-md5sum;</para>
52 </listitem>
53 <listitem>
54 <para>Download size: &tidy-size;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated disk space required: &tidy-buildsize;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated build time: &tidy-time;</para>
61 </listitem>
62 </itemizedlist>
63
64 <note>
65 <para><application>HTML Tidy</application> is
66 updated very frequently by its maintainers, and the source package listed
67 above may not be available at the listed URL due to the
68 release of a newer version. The most current source package can be always be
69 downloaded from <ulink url="http://tidy.sourceforge.net/src/"/>. If this
70 version is newer than the version listed above, the following instructions
71 should work, but have not yet been tested by BLFS. If you'd rather download
72 the version listed above, you can find it at
73 <ulink url="http://tidy.sourceforge.net/src/old/"/>.</para>
74 </note>
75
76 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
77
78 <bridgehead renderas="sect4">Documentation</bridgehead>
79 <itemizedlist spacing="compact">
80 <listitem>
81 <para>Documentation: <ulink url="&tidy-docs-download;"/></para>
82 </listitem>
83 <listitem>
84 <para>Download MD5 sum: &tidy-docs-md5sum;</para>
85 </listitem>
86 <listitem>
87 <para>Download size: &tidy-docs-size;</para>
88 </listitem>
89 </itemizedlist>
90
91 <bridgehead renderas="sect4">Patches</bridgehead>
92 <itemizedlist spacing="compact">
93 <listitem>
94 <para>Required patch: <ulink
95 url="&patch-root;/tidy-&tidy-version;-prevent_PRE_newlines-1.patch"/></para>
96 </listitem>
97 </itemizedlist>
98
99 <bridgehead renderas="sect3">HTML Tidy Dependencies</bridgehead>
100
101 <bridgehead renderas="sect4">Optional</bridgehead>
102 <para><ulink url="http://dmalloc.com/">Dmalloc</ulink></para>
103
104 </sect2>
105
106 <sect2 role="installation">
107 <title>Installation of HTML Tidy</title>
108
109 <para>The <application>HTML Tidy</application> documentation
110 is contained in a separate tarball. Unpack both the source and docs tarballs
111 before starting the build.</para>
112
113 <para>Install <application>HTML Tidy</application> by
114 running the following commands:</para>
115
116<screen><userinput>patch -Np1 -i ../tidy-&tidy-version;-prevent_PRE_newlines-1.patch &amp;&amp;
117sh build/gnuauto/setup.sh &amp;&amp;
118./configure --prefix=/usr &amp;&amp;
119make</userinput></screen>
120
121<para>Now, as the root user:</para>
122
123 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
124
125<screen role="root"><userinput>make install &amp;&amp;
126install -v -m644 htmldoc/man_page.txt \
127 /usr/share/man/man1/tidy.1 &amp;&amp;
128install -v -d -m755 /usr/share/doc/tidy &amp;&amp;
129cp -v -R htmldoc /usr/share/doc/tidy</userinput></screen>
130
131 </sect2>
132
133 <sect2 role="commands">
134 <title>Command Explanations</title>
135
136 <para><command>sh build/gnuauto/setup.sh</command>: This command prepares
137 the source tree for building using the GNU <quote>Auto</quote> tools.</para>
138
139 </sect2>
140
141 <sect2 role="configuration">
142 <title>Configuring HTML Tidy</title>
143
144 <sect3>
145 <title>Config Files</title>
146
147 <para>The absolute path of the file specified in
148 <envar>$HTML_TIDY</envar>.</para>
149
150 </sect3>
151
152 <sect3>
153 <title>Configuration Information</title>
154
155 <para>The default configuration options can be set in the file defined in
156 <envar>$HTML_TIDY</envar>. Additional configuration options can be passed to
157 <command>tidy</command> via command line parameters or the
158 <option>-config &lt;file&gt;</option> parameter.</para>
159
160 </sect3>
161
162 </sect2>
163
164 <sect2 role="content">
165 <title>Contents</title>
166
167 <segmentedlist>
168 <segtitle>Installed Programs</segtitle>
169 <segtitle>Installed Library</segtitle>
170 <segtitle>Installed Directory</segtitle>
171 <seglistitem>
172 <seg>tab2space and tidy</seg>
173 <seg>libtidy.[so,a]</seg>
174 <seg>/usr/share/doc/tidy</seg>
175 </seglistitem>
176 </segmentedlist>
177
178 <variablelist>
179 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
180 <?dbfo list-presentation="list"?>
181 <?dbhtml list-presentation="table"?>
182
183 <varlistentry id="tab2space">
184 <term><command>tab2space</command></term>
185 <listitem>
186 <para>is a utility to expand tabs and ensure consistent line
187 endings.</para>
188 <indexterm zone="html-tidy tab2space">
189 <primary sortas="b-tab2space">tab2space</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry id="tidy">
195 <term><command>tidy</command></term>
196 <listitem>
197 <para>validates, corrects, and pretty-prints HTML files.</para>
198 <indexterm zone="html-tidy tidy">
199 <primary sortas="b-tidy">tidy</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="libtidy">
205 <term><filename class='libraryfile'>libtidy.[so,a]</filename></term>
206 <listitem>
207 <para>libraries provide the <application>HTML Tidy</application> API
208 functions to <command>tidy</command> and can also be called by other
209 programs.</para>
210 <indexterm zone="html-tidy libtidy">
211 <primary sortas="c-libtidy">libtidy.[so,a]</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 </variablelist>
217
218 </sect2>
219
220</sect1>
221
Note: See TracBrowser for help on using the repository browser.