r2742 - in trunk/BOOK: . general/genutils introduction/welcome

randy at linuxfromscratch.org randy at linuxfromscratch.org
Sat Sep 18 23:46:15 PDT 2004


Author: randy
Date: 2004-09-19 00:46:13 -0600 (Sun, 19 Sep 2004)
New Revision: 2742

Added:
   trunk/BOOK/general/genutils/tidy.xml
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/genutils/genutils.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/introduction/welcome/credits.xml
Log:
Added new package HTML Tidy

Modified: trunk/BOOK/general/genutils/genutils.xml
===================================================================
--- trunk/BOOK/general/genutils/genutils.xml	2004-09-14 18:45:45 UTC (rev 2741)
+++ trunk/BOOK/general/genutils/genutils.xml	2004-09-19 06:46:13 UTC (rev 2742)
@@ -15,5 +15,6 @@
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="imagemagick.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="hd2u.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="screen.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tidy.xml"/>
 
 </chapter>

Added: trunk/BOOK/general/genutils/tidy.xml
===================================================================
--- trunk/BOOK/general/genutils/tidy.xml	2004-09-14 18:45:45 UTC (rev 2741)
+++ trunk/BOOK/general/genutils/tidy.xml	2004-09-19 06:46:13 UTC (rev 2742)
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+   "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!ENTITY tidy-download-http "http://tidy.sourceforge.net/src/tidy_src_&tidy-version;.tgz">
+  <!ENTITY tidy-download-ftp  " ">
+  <!ENTITY tidy-size          "244 KB">
+  <!ENTITY tidy-buildsize     "9.4 MB">
+  <!ENTITY tidy-time          "0.25 SBU">
+]>
+
+<sect1 id="tidy" xreflabel="HTML Tidy-&tidy-version;">
+<sect1info>
+<othername>$LastChangedBy$</othername>
+<date>$Date$</date>
+</sect1info>
+<?dbhtml filename="tidy.html"?>
+<title>HTML Tidy-&tidy-version;</title>
+
+<sect2>
+<title>Introduction to <application>HTML Tidy</application></title>
+
+<para>The <application><acronym>HTML</acronym> Tidy</application> package 
+contains a command line tool and libraries used to read 
+<acronym>HTML</acronym>, <acronym>XHTML</acronym> and <acronym>XML</acronym> 
+files and write cleaned up markup. It detects and corrects many common coding 
+errors and strives to produce visually equivalent markup that is both 
+<acronym>W3C</acronym> compliant and compatible with most browsers.</para>
+
+<sect3><title>Package information</title>
+<itemizedlist spacing="compact">
+<listitem><para>Download (HTTP): 
+<ulink url="&tidy-download-http;"/></para></listitem>
+<listitem><para>Download (FTP): 
+<ulink url="&tidy-download-ftp;"/></para></listitem>
+<listitem><para>Download size: &tidy-size;</para></listitem>
+<listitem><para>Estimated Disk space required: 
+&tidy-buildsize;</para></listitem>
+<listitem><para>Estimated build time: &tidy-time;</para></listitem>
+</itemizedlist>
+</sect3>
+
+<sect3><title>Additional downloads</title>
+<itemizedlist spacing="compact">
+<listitem><para>Documentation: <ulink 
+url="http://tidy.sourceforge.net/docs/tidy_docs.tgz"/></para></listitem>
+</itemizedlist>
+</sect3>
+
+</sect2>
+
+<sect2>
+<title>Installation of <application><acronym>HTML</acronym> 
+Tidy</application></title>
+
+<para>The <application><acronym>HTML</acronym> Tidy</application> documentation 
+is contained in a separate tarball. Unpack both the source and docs tarballs
+before starting the build.</para>
+
+<para>Install <application><acronym>HTML</acronym> Tidy</application> by 
+running the following commands:</para>
+
+<screen><userinput><command>sh build/gnuauto/setup.sh &&
+./configure --prefix=/usr &&
+make &&
+make install &&
+install -m644 -oroot -groot htmldoc/man_page.txt \
+    /usr/share/man/man1/tidy.1 &&
+install -d -m755 -oroot -groot /usr/share/doc/tidy &&
+cp -R htmldoc /usr/share/doc/tidy &&
+chown -R root:root /usr/share/doc/tidy</command></userinput></screen>
+
+</sect2>
+
+<sect2>
+<title>Command explanations</title>
+
+<para><command>sh build/gnuauto/setup.sh</command>: This command prepares the 
+source tree for building using the <acronym>GNU</acronym> <quote>Auto</quote> 
+tools.</para>
+
+</sect2>
+
+<sect2>
+<title>Configuring <application><acronym>HTML</acronym> 
+Tidy</application></title>
+
+<sect3><title>Config files</title>
+<para>The absolute path of the file specified in 
+<envar>$HTML_TIDY</envar>.</para>
+</sect3>
+
+<sect3><title>Configuration Information</title>
+
+<para>The default configuration options can be set in the file defined in 
+<envar>$HTML_TIDY</envar>. Additional configuration options can be passed to 
+<command>tidy</command> via command line parameters or the 
+<parameter>-config <file></parameter> parameter.</para>
+</sect3>
+
+</sect2>
+
+<sect2>
+<title>Contents</title>
+
+<para>The <application><acronym>HTML</acronym> Tidy</application> package 
+contains <command>tidy</command>, <command>tab2space</command> and the 
+<filename class='libraryfile'>libtidy</filename> libraries.</para>
+
+</sect2>
+
+<sect2><title>Description</title>
+
+<sect3><title>tidy</title>
+<para><command>tidy</command> validates, corrects, and pretty-prints 
+<acronym>HTML</acronym> files.</para>
+</sect3>
+
+<sect3><title>tab2space</title>
+<para><command>tab2space</command> is a utility to expand tabs and ensure 
+consistent line endings.</para>
+</sect3>
+
+<sect3><title>libtidy libraries</title>
+<para><filename class='libraryfile'>libtidy</filename> libraries provide the 
+<application><acronym>HTML</acronym> Tidy</application> <acronym>API</acronym> 
+functions to <command>tidy</command> and can also be called by other 
+programs.</para>
+</sect3>
+
+</sect2>
+
+</sect1>
+


Property changes on: trunk/BOOK/general/genutils/tidy.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedBy Date

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2004-09-14 18:45:45 UTC (rev 2741)
+++ trunk/BOOK/general.ent	2004-09-19 06:46:13 UTC (rev 2742)
@@ -1,4 +1,4 @@
-<!ENTITY day          "14">
+<!ENTITY day          "19">
 <!ENTITY month        "09">
 <!ENTITY year         "2004">
 <!ENTITY version      "svn-&year;&month;&day;">
@@ -97,6 +97,7 @@
 <!ENTITY imagemagick-version          "6.0.5">
 <!ENTITY hd2u-version                 "0.9.1">
 <!ENTITY screen-version               "4.0.2">
+<!ENTITY tidy-version                 "040916">
                                                                                       
 <!-- Chapter 11 -->                  
 <!ENTITY gpm-version                  "1.20.1">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2004-09-14 18:45:45 UTC (rev 2741)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2004-09-19 06:46:13 UTC (rev 2742)
@@ -22,6 +22,9 @@
 
 <itemizedlist>
 
+<listitem><para>September 19th, 2004 [randy]: Added new package 
+HTML Tidy.</para></listitem>
+
 <listitem><para>September 14th, 2004 [randy]: Updated DB-4 download location
 and chown command as suggested by Nico Roeser.</para></listitem>
 

Modified: trunk/BOOK/introduction/welcome/credits.xml
===================================================================
--- trunk/BOOK/introduction/welcome/credits.xml	2004-09-14 18:45:45 UTC (rev 2741)
+++ trunk/BOOK/introduction/welcome/credits.xml	2004-09-19 06:46:13 UTC (rev 2742)
@@ -149,9 +149,9 @@
 <listitem><para>ESP Ghostscript: <emphasis>Matt Rogers</emphasis></para>
 </listitem>
 
-<listitem><para>DocBook-utils, Cyrus-SASL, DejaGnu, Expect, Heimdal, JadeTeX, 
-SGMLSpm Perl module, SLIB and Sysstat: <emphasis>Randy McMurchy</emphasis></para>
-</listitem>
+<listitem><para>Cyrus-SASL, DejaGnu, DocBook-utils, Expect, Heimdal, 
+HTML Tidy, JadeTeX, SGMLSpm Perl module, SLIB and Sysstat: 
+<emphasis>Randy McMurchy</emphasis></para></listitem>
 
 <listitem><para>Screen: <emphasis>Andreas Pedersen</emphasis></para></listitem>
 




More information about the blfs-book mailing list