source: general/genutils/tidy.xml@ 8aeb474

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 8aeb474 was a385460, checked in by Krejzi <krejzi@…>, 12 years ago

Mark more packages as LFS 7.1 checked. Remove unnecesary instructions from OpenSSH and Subversion pages.

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

  • Property mode set to 100644
File size: 6.4 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 "&sources-anduin-http;/t/tidy-&tidy-version;.tar.bz2">
8 <!ENTITY tidy-download-ftp " ">
9 <!ENTITY tidy-md5sum "dd1fe109b4259ad3f364b175787ad5e9">
10 <!ENTITY tidy-size "807 KB">
11 <!ENTITY tidy-buildsize "12 MB">
12 <!ENTITY tidy-time "0.2 SBU">
13]>
14
15<sect1 id="html-tidy" xreflabel="HTML Tidy-&tidy-version;">
16 <?dbhtml filename="tidy.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>HTML Tidy-&tidy-version;</title>
24
25 <indexterm zone="html-tidy">
26 <primary sortas="a-HTML-Tidy">HTML Tidy</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to HTML Tidy</title>
31
32 <para>The <application>HTML Tidy</application> package contains a
33 command line tool and libraries used to read HTML, XHTML and XML files
34 and write cleaned up markup. It detects and corrects many common coding
35 errors and strives to produce visually equivalent markup that is both
36 W3C compliant and compatible with most browsers.</para>
37
38 &lfs72_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&tidy-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&tidy-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &tidy-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &tidy-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &tidy-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &tidy-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <para><application>HTML Tidy</application> tarballs are no longer generated
63 by the maintainers. To build from source, the
64 <application>HTML Tidy</application> developers recommend using current
65 CVS. The source tarball shown above was created by the BLFS team by pulling
66 a CVS version, then generating the autotool components and documentation.
67 BLFS made no changes to the existing source files.</para>
68
69 <bridgehead renderas="sect3">HTML Tidy Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Optional</bridgehead>
72 <para role="optional"><ulink url="http://dmalloc.com/">Dmalloc</ulink></para>
73
74 <para condition="html" role="usernotes">User Notes:
75 <ulink url="&blfs-wiki;/tidy"/></para>
76
77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of HTML Tidy</title>
81
82 <para>Install <application>HTML Tidy</application> by
83 running the following commands:</para>
84
85<screen><userinput>./configure --prefix=/usr &amp;&amp;
86make</userinput></screen>
87
88 <para>This package does not come with a test suite.</para>
89 <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
90
91 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
92
93<screen role="root"><userinput>make install &amp;&amp;
94
95install -v -m644 -D htmldoc/tidy.1 \
96 /usr/share/man/man1/tidy.1 &amp;&amp;
97install -v -m755 -d /usr/share/doc/tidy-&tidy-version; &amp;&amp;
98install -v -m644 htmldoc/*.{html,gif,css} \
99 /usr/share/doc/tidy-&tidy-version;</userinput></screen>
100
101 <para>If you wish to install the API documentation you must have
102 <xref linkend="doxygen"/> installed, then change directories into the
103 <filename class='directory'>htmldoc</filename> of the source tree and
104 issue the command <command>doxygen</command>. Then as the
105 <systemitem class="username">root</systemitem> user copy
106 the <filename class='directory'>api</filename> directory to
107 <filename class='directory'>/usr/share/doc/tidy-&tidy-version;.</filename></para>
108
109 </sect2>
110
111 <sect2 role="configuration">
112 <title>Configuring HTML Tidy</title>
113
114 <sect3>
115 <title>Config Files</title>
116
117 <para>The absolute path of the file specified in
118 <envar>$HTML_TIDY</envar>.</para>
119
120 </sect3>
121
122 <sect3>
123 <title>Configuration Information</title>
124
125 <para>The default configuration options can be set in the file defined in
126 <envar>$HTML_TIDY</envar>. Additional configuration options can be passed
127 to <command>tidy</command> via command line parameters or the
128 <option>-config &lt;file&gt;</option> parameter.</para>
129
130 </sect3>
131
132 </sect2>
133
134 <sect2 role="content">
135 <title>Contents</title>
136
137 <segmentedlist>
138 <segtitle>Installed Programs</segtitle>
139 <segtitle>Installed Library</segtitle>
140 <segtitle>Installed Directory</segtitle>
141 <seglistitem>
142 <seg>tab2space and tidy</seg>
143 <seg>libtidy.{so,a}</seg>
144 <seg>/usr/share/doc/tidy-&tidy-version;</seg>
145 </seglistitem>
146 </segmentedlist>
147
148 <variablelist>
149 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
150 <?dbfo list-presentation="list"?>
151 <?dbhtml list-presentation="table"?>
152
153 <varlistentry id="tab2space">
154 <term><command>tab2space</command></term>
155 <listitem>
156 <para>is a utility to expand tabs and ensure consistent line
157 endings.</para>
158 <indexterm zone="html-tidy tab2space">
159 <primary sortas="b-tab2space">tab2space</primary>
160 </indexterm>
161 </listitem>
162 </varlistentry>
163
164 <varlistentry id="tidy">
165 <term><command>tidy</command></term>
166 <listitem>
167 <para>validates, corrects, and pretty-prints HTML files.</para>
168 <indexterm zone="html-tidy tidy">
169 <primary sortas="b-tidy">tidy</primary>
170 </indexterm>
171 </listitem>
172 </varlistentry>
173
174 <varlistentry id="libtidy">
175 <term><filename class='libraryfile'>libtidy.{so,a}</filename></term>
176 <listitem>
177 <para>libraries provide the <application>HTML Tidy</application> API
178 functions to <command>tidy</command> and can also be called by other
179 programs.</para>
180 <indexterm zone="html-tidy libtidy">
181 <primary sortas="c-libtidy">libtidy.{so,a}</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 </variablelist>
187
188 </sect2>
189
190</sect1>
Note: See TracBrowser for help on using the repository browser.