source: general/genutils/tidy.xml@ 53a3831

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 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 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 53a3831 was 53a3831, checked in by Randy McMurchy <randy@…>, 20 years ago

Updated to HTML Tidy-041005

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

  • Property mode set to 100644
File size: 4.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/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-size "244 KB">
10 <!ENTITY tidy-buildsize "9.3 MB">
11 <!ENTITY tidy-time "0.26 SBU">
12]>
13
14<sect1 id="tidy" xreflabel="HTML Tidy-&tidy-version;">
15<sect1info>
16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
18</sect1info>
19<?dbhtml filename="tidy.html"?>
20<title>HTML Tidy-&tidy-version;</title>
21
22<sect2>
23<title>Introduction to <application>HTML Tidy</application></title>
24
25<para>The <application><acronym>HTML</acronym> Tidy</application> package
26contains a command line tool and libraries used to read
27<acronym>HTML</acronym>, <acronym>XHTML</acronym> and <acronym>XML</acronym>
28files and write cleaned up markup. It detects and corrects many common coding
29errors and strives to produce visually equivalent markup that is both
30<acronym>W3C</acronym> compliant and compatible with most browsers.</para>
31
32<sect3><title>Package information</title>
33<itemizedlist spacing="compact">
34<listitem><para>Download (HTTP):
35<ulink url="&tidy-download-http;"/></para></listitem>
36<listitem><para>Download (FTP):
37<ulink url="&tidy-download-ftp;"/></para></listitem>
38<listitem><para>Download size: &tidy-size;</para></listitem>
39<listitem><para>Estimated Disk space required:
40&tidy-buildsize;</para></listitem>
41<listitem><para>Estimated build time: &tidy-time;</para></listitem>
42</itemizedlist>
43</sect3>
44
45<sect3><title>Additional downloads</title>
46<itemizedlist spacing="compact">
47<listitem><para>Documentation: <ulink
48url="http://tidy.sourceforge.net/docs/tidy_docs.tgz"/></para></listitem>
49</itemizedlist>
50</sect3>
51
52</sect2>
53
54<sect2>
55<title>Installation of <application><acronym>HTML</acronym>
56Tidy</application></title>
57
58<para>The <application><acronym>HTML</acronym> Tidy</application> documentation
59is contained in a separate tarball. Unpack both the source and docs tarballs
60before starting the build.</para>
61
62<para>Install <application><acronym>HTML</acronym> Tidy</application> by
63running the following commands:</para>
64
65<screen><userinput><command>sh build/gnuauto/setup.sh &amp;&amp;
66./configure --prefix=/usr &amp;&amp;
67make &amp;&amp;
68make install &amp;&amp;
69install -m644 -oroot -groot htmldoc/man_page.txt \
70 /usr/share/man/man1/tidy.1 &amp;&amp;
71install -d -m755 -oroot -groot /usr/share/doc/tidy &amp;&amp;
72cp -R htmldoc /usr/share/doc/tidy &amp;&amp;
73chown -R root:root /usr/share/doc/tidy</command></userinput></screen>
74
75</sect2>
76
77<sect2>
78<title>Command explanations</title>
79
80<para><command>sh build/gnuauto/setup.sh</command>: This command prepares the
81source tree for building using the <acronym>GNU</acronym> <quote>Auto</quote>
82tools.</para>
83
84</sect2>
85
86<sect2>
87<title>Configuring <application><acronym>HTML</acronym>
88Tidy</application></title>
89
90<sect3><title>Config files</title>
91<para>The absolute path of the file specified in
92<envar>$HTML_TIDY</envar>.</para>
93</sect3>
94
95<sect3><title>Configuration Information</title>
96
97<para>The default configuration options can be set in the file defined in
98<envar>$HTML_TIDY</envar>. Additional configuration options can be passed to
99<command>tidy</command> via command line parameters or the
100<parameter>-config &lt;file&gt;</parameter> parameter.</para>
101</sect3>
102
103</sect2>
104
105<sect2>
106<title>Contents</title>
107
108<para>The <application><acronym>HTML</acronym> Tidy</application> package
109contains <command>tidy</command>, <command>tab2space</command> and the
110<filename class='libraryfile'>libtidy</filename> libraries.</para>
111
112</sect2>
113
114<sect2><title>Description</title>
115
116<sect3><title>tidy</title>
117<para><command>tidy</command> validates, corrects, and pretty-prints
118<acronym>HTML</acronym> files.</para>
119</sect3>
120
121<sect3><title>tab2space</title>
122<para><command>tab2space</command> is a utility to expand tabs and ensure
123consistent line endings.</para>
124</sect3>
125
126<sect3><title>libtidy libraries</title>
127<para><filename class='libraryfile'>libtidy</filename> libraries provide the
128<application><acronym>HTML</acronym> Tidy</application> <acronym>API</acronym>
129functions to <command>tidy</command> and can also be called by other
130programs.</para>
131</sect3>
132
133</sect2>
134
135</sect1>
136
Note: See TracBrowser for help on using the repository browser.