diff --git a/latex2html-2002-2-1-gsfont.patch b/latex2html-2002-2-1-gsfont.patch
new file mode 100644
index 0000000..d098505
--- /dev/null
+++ b/latex2html-2002-2-1-gsfont.patch
@@ -0,0 +1,11 @@
+--- latex2html-2002-2-1/config/config.pl.gsfont 2002-09-28 07:15:01.000000000 +0200
++++ latex2html-2002-2-1/config/config.pl 2005-03-16 10:50:17.392513136 +0100
+@@ -1176,7 +1176,7 @@
+ push(@right_paths,L2hos->path2os($testpath));
+ $gs_lib = 1;
+ }
+- $testpath .= "${dd}fonts" unless($testpath =~ /\Q$dd\Efonts$/i);
++ $testpath .= "${dd}fonts" unless($testpath =~ /\Q$dd\Efonts/i);
+ if(!$gs_fonts && -d $testpath) {
+ push(@right_paths,L2hos->path2os($testpath));
+ $gs_fonts = 1;
diff --git a/latex2html-2K.1beta-tabularx.patch b/latex2html-2K.1beta-tabularx.patch
new file mode 100644
index 0000000..90ed3be
--- /dev/null
+++ b/latex2html-2K.1beta-tabularx.patch
@@ -0,0 +1,26 @@
+--- latex2html-2K.1beta/versions/table.pl.tabularx Fri Nov 14 11:10:52 1997
++++ latex2html-2K.1beta/versions/table.pl Wed Jan 24 15:11:01 2001
+@@ -121,6 +121,10 @@
+ $htmlcolspec .= "
";
+ push(@colspec,"$cellopen=RIGHT NOWRAP>$content_mark$cellclose");
+ $cols++;
++ } elsif ( $char eq "X" ) {
++ $htmlcolspec .= "";
++ push(@colspec,"$cellopen=LEFT>$content_mark$cellclose");
++ $cols++;
+ } elsif ( $char eq "p" ) {
+ $colspec =~ s/$next_pair_rx//;
+ ($pts,$len) = &convert_length($2);
+@@ -170,7 +174,11 @@
+ local($_) = @_;
+ s/$next_pair_rx//;
+ local($pts,$len) = &convert_length($2);
+- &do_env_tabular($_," width=$pts");
++ if ($pts != "") {
++ &do_env_tabular($_," width=$pts");
++ } else {
++ &do_env_tabular($_);
++ }
+ }
+
+ sub do_env_tabular {
diff --git a/latex2html.1 b/latex2html.1
new file mode 100644
index 0000000..1fe5153
--- /dev/null
+++ b/latex2html.1
@@ -0,0 +1,1316 @@
+.\" Hey, Emacs! This is an -*- nroff -*- source file.
+.\" Copyright (c) 1997 Manoj Srivastava
+.\"
+.\" This is free documentation; you can redistribute it and/or
+.\" modify it under the terms of the GNU General Public License as
+.\" published by the Free Software Foundation; either version 2 of
+.\" the License, or (at your option) any later version.
+.\"
+.\" The GNU General Public License's references to "object code"
+.\" and "executables" are to be interpreted as the output of any
+.\" document formatting or typesetting system, including
+.\" intermediate and printed output.
+.\"
+.\" This manual is distributed in the hope that it will be useful,
+.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.\" GNU General Public License for more details.
+.\"
+.\" You should have received a copy of the GNU General Public
+.\" License along with this manual; if not, write to the Free
+.\" Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
+.\" USA.
+.\"
+.\"
+.\" $Id: latex2html.1,v 1.2 2000/03/04 07:55:13 srivasta Exp $
+.\"
+.TH LaTeX2HTML 1 "March 1 2000" "Debian" "Debian GNU/Linux manual"
+.SH NAME
+latex2html \- translate LaTeX files to HTML (HyperText Markup Language)
+.SH SYNOPSIS
+.B latex2html
+.I [options]
+\&[target [target ...]]
+.SH DESCRIPTION
+This manual page explains the
+.B "LaTeX2HTML"
+utility, which is a
+.B Perl
+program that translates
+.B LaTeX
+document into
+.B HTML
+format. For each source file given as an argument
+the translator will create a directory containing the corresponding
+HTML files. For details and examples, please consult the online html
+documentation, a copy of which should be available in
+.I /usr/share/doc/latex2html/manual.ps.gz
+or
+.I /usr/share/doc/latex2html/html/
+.SH CAVEAT
+This documentation has been derived from the TeX manual, and may not be
+up to date. Please refer to the online manual for authoritative
+documentation.
+.SH Options controlling Titles, File-Names and Sectioning
+.TP
+.B -t
+Same as setting:
+.I $TITLE = "";
+Name the document using this title.
+.TP
+.B -short_extn
+Same as setting:
+.I $SHORTEXTN = 1;
+Use a filename prefix of .htm for the produced
+.B HTML
+files. This is
+particularly useful for creating pages to be stored on CD-ROM or other
+media, to be used with operating systems that require a 3-character
+extension.
+.TP
+.B -long_titles
+Same as setting:
+.I $LONG_TITLES = ;
+Instead of the standard names: node1.html, node2.html,... the filenames
+for each
+.B HTML
+page are constructed from the first words of the
+section heading for that page, separated by the `_' character.
+Commas and common short words (a an to by of and for the) are omitted
+from both title and word-count.
+Warning: Use this switch with great caution. Currently there are no
+checks for uniqueness of names or overall length. Very long names can
+easily result from using this feature.
+.TP
+.B -custom_titles
+Same as setting:
+.I $CUSTOM_TITLES = 1;
+Instead of the standard names: node1.html, node2.html, ... the
+filenames for each
+.B HTML
+page are constructed using a
+.B Perl
+subroutine
+named custom_title_hook . The user may define his/her own version of
+this subroutine, within a .latex2html-init file say, to override the
+default (which uses the standard names). This subroutine takes the
+section-heading as a parameter and must return the required name, or
+the empty string (default).
+.TP
+.B -dir
+Same as setting:
+.I $DESTDIR = "";
+Redirect the output to the specified directory.
+The default behaviour is to create (or reuse) a directory having the
+same name as the prefix of the document being processed.
+.TP
+.B -no_subdir
+Same as setting:
+.I $NO_SUBDIR = 1;
+Place the generated
+.B HTML
+files into the current directory. This
+overrides any
+.I $DESTDIR
+setting.
+.TP
+.B -prefix
+Same as setting:
+.I $PREFIX = "";
+The will be prepended to all .gif, .pl and .html
+files produced, except for the top-level .html file; it may include a
+(relative) directory path. This will enable multiple products of
+.B LaTeX2HTML
+to peacefully coexist in the same directory. However, do not
+attempt to simultaneously run multiple instances of
+.B LaTeX2HTML
+using
+the same output directory, else various temporary files will overwrite
+each other.
+.TP
+.B -auto_prefix
+Same as setting:
+.I $AUTO_PREFIX = 1;
+Constructs the prefix as `-' to be prepended to all the files
+produced, where is the name of the
+.B LaTeX
+file being processed.
+(Note the `-' in this prefix.)
+This overrides any
+.I $PREFIX
+setting.
+.TP
+.B -no_auto_link
+Same as setting:
+.I $NO_AUTO_LINK = 1;
+If $NO_AUTO_LINK is empty and variables
+.I $LINKPOINT
+and
+.I $LINKNAME
+are
+defined appropriately (as is the default in the latex2html.config
+file), then a hard link to the main
+.B HTML
+page is produced, using the
+name supplied in
+.I $LINKNAME.
+Typically this is index.html; on many
+systems a file of this name will be used, if it exists, when a browser
+tries to view a URL which points to a directory. On other systems a
+different value for
+.I $LINKNAME
+may be appropriate. Typically
+.I $LINKPOINT
+has
+value
+.I $FILE.html,
+but this may also be changed to match whichever
+HTML page is to become the target of the automatic link.
+Use of the -no_auto_link switch cancels this automatic linking
+facility, when not required for a particular document.
+.TP
+.B -split
+Same as setting:
+.I $MAX_SPLIT_DEPTH = ; (default is 8)
+Stop splitting sections into separate files at this depth. Specifying
+-split 0 will put the entire document into a single
+.B HTML
+file. See
+below for the different levels of sectioning. Also see the next item
+for how to set a ``relative'' depth for splitting.
+.TP
+.B -split +
+Same as setting:
+.I $MAX_SPLIT_DEPTH = -; (default is 8)
+The level at which to stop splitting sections is calculated ``relative
+to'' the shallowest level of sectioning that occurs within the
+document. For example, if the document contains \\section commands, but
+no \\part or \\chapter commands, then -split +1 will cause splitting at
+each \\section but not at any deeper level; whereas -split +2 or -split
++3 also split down to \\subsection and \\subsubsection commands
+respectively. Specifying -split +0 puts the entire document into a
+single
+.B HTML
+file.
+.TP
+.B -link
+Same as setting:
+.I $MAX_LINK_DEPTH = ; (default is 4)
+For each node, create links to child nodes down to this much deeper
+than the node's sectioning-level.
+Specifying -link 0 will show no links to child nodes from that page,
+-link 1 will show only the immediate descendants, etc.
+A value at least as big as that of the -split depth will produce
+a mini table-of-contents (when not empty) on each page, for the tree
+structure rooted at that node.
+When the page has a sectioning-level less than the -split depth, so
+that the a mini table-of-contents has links to other
+.B HTML
+pages, this
+table is located at the bottom of the page, unless placed elsewhere
+using the \\tableofchildlinks command.
+On pages having a sectioning-level just less than the -split depth the
+mini table-of-contents contains links to subsections etc. occurring on
+the same
+.B HTML
+page. Now the table is located at the top of this page,
+unless placed elsewhere using the \\tableofchildlinks command.
+.TP
+.B -toc_depth
+Same as setting:
+.I $TOC_DEPTH = ; (default is 4)
+Sectioning levels down to are to be included within the
+Table-of-Contents tree.
+.TP
+.B -toc_stars
+Same as setting:
+.I $TOC_STARS = 1;
+Sections created using the starred-form of sectioning commands are
+included within the Table-of-Contents. As with
+.B LaTeX,
+normally such
+sections are not listed.
+.TP
+.B -show_section_numbers
+Same as setting:
+.I $SHOW_SECTION_NUMBERS = 1;
+Show section numbers. By default section numbers are not shown, so as
+to encourage the use of particular sections as stand-alone documents.
+In order to be shown, section titles must be unique and must not
+contain inlined graphics.
+.TP
+.B -unsegment
+Same as setting:
+.I $UNSEGMENT = 1;
+Treat a segmented document (see the section about document
+segmentation) like it were not segmented. This will cause the
+translator to concatenate all segments and process them as a whole. You
+might find this useful to check a segmented document for consistency.
+For all documents the sectioning levels referred to above are:
+.RS
+ 0 document
+ 1 part
+ 2 chapter
+ 3 section
+ 4 subsection
+ 5 subsubsection
+ 6 paragraph
+ 7 subparagraph
+ 8 subsubparagraph
+.RE
+.P
+These levels apply even when the document contains no sectioning for the
+shallower levels; e.g. no \\part or \\chapter commands is most common,
+especially when using
+.B LaTeX's
+article document-class.
+.SH Options controlling Extensions and Special Features
+The switches described here govern the type of
+.B HTML
+code that can be
+generated, and how to choose between the available options when there are
+alternative strategies for implementing portions of
+.B LaTeX
+code.
+.TP
+.B -html_version (2.0|3.0|3.2)[,(math|i18n|table)]*
+Same as setting:
+.I $HTML_VERSION = "... ";
+This specifies both the
+.B HTML
+version to generate, and any extra
+(non-standard)
+.B HTML
+features that may be required.
+The version number corresponds to a published DTD for an
+.B HTML
+standard
+(although 3.0 was never accepted and subsequently withdrawn). A
+corresponding
+.B Perl
+file in the versions/ subdirectory is loaded; these
+files are named `html.pl'.
+Following the version number, a comma-separated list of extensions can
+be given. Each corresponds to a file `.pl' also located in the
+versions/ subdirectory. When such a file is loaded the resulting HTML
+code can no longer be expected to validate with the specified DTD. An
+exception is math when the -no_math switch is also used, which should
+still validate.
+Currently, versions 2.0, 3.2 and 4.0 are available.
+The extensions i18n, tables,
+math correspond roughly to what used to be called versions `2.1',
+`2.2', `3.1' respectively, in releases of
+.B LaTeX2HTML
+up to 1996. Now
+these extensions can be loaded with any of `2.0', `3.2' or `4.0' as the
+specified standard.
+The default version is usually set to be `4.0', within
+latex2html.config.
+.TP
+.B -no_tex_defs
+Same as setting:
+.I $TEXDEFS = 0; (default is 1)
+When
+.I $TEXDEFS
+is set (default) the file texdefs.perl will be read. This
+provides code to allow common TEX commands like \\def, \\newbox,
+\\newdimen and others, to be recognised, especially within the document
+preamble. In the case of \\def, the definition may even be fully
+interpreted, but this requires the pattern-matching to be not too
+complicated.
+If
+.I $TEXDEFS
+is `0' or empty, then texdefs.perl will not be loaded; the
+translator will make no attempt to interpret any raw TEX commands. This
+feature is intended to enable sophisticated authors the ability to
+insert arbitrary TEX commands in environments that are destined to be
+processed by
+.B LaTeX
+anyway; e.g. figures, theorems, pictures, etc.
+However this should rarely be needed, as now there is better support
+for these types of environment. There are now other methods to specify
+which chunks of code are to be passed to
+.B LaTeX
+for explicit
+image-generation; see the discussion of the makeimage environment.
+.TP
+.B -external_file
+Same as setting:
+.I $EXTERNAL_FILE = "";
+Specifies the prefix of the .aux file that this document should read.
+The .aux extension will be appended to this prefix to get the complete
+filename, with directory path if needed.
+This file could contain necessary information regarding citations,
+figure, table and section numbers from
+.B LaTeX
+and perhaps other
+information also. Use of this switch is vital for document segments,
+processed separately and linked to appear as if generated from a single
+LaTeX document.
+.TP
+.B -font_size
+Same as setting:
+.I $FONT_SIZE = "";
+This option provides better control over the font size of environments
+made into images using
+.B LaTeX.
+ must be one of the font sizes that
+.B LaTeX
+recognizes; i.e. `10pt', `11pt', `12pt', etc. Default is `10pt',
+or whatever option may have been specified on the \\documentclass or
+\\documentstyle line.
+Whatever size is selected, it will be magnified by the installation
+variables
+.I $MATH_SCALE_FACTOR,
+.I $FIGURE_SCALE_FACTOR
+and
+.I $DISP_SCALE_FACTOR
+as appropriate.
+Note: This switch provides no control over the size of text on the HTML
+pages. Such control is subject entirely to the user's choices of
+settings for the browser windows.
+.TP
+.B -scalable_fonts
+Same as setting:
+.I $SCALABLE_FONTS = 1;
+This is used when scalable fonts, such as PostScript versions of the
+TEX fonts, are available for image-generation.
+It has the effect of setting
+.I $PK_GENERATION
+to `1', and
+.I $DVIPS_MODE
+to
+be empty, overriding any previous settings for these variables.
+.TP
+.B -no_math
+Same as setting:
+.I $NO_SIMPLE_MATH = 1;
+Ordinarily simple mathematical expressions are set using the ordinary
+text font, but italicized. When part of the expression can not be
+represented this way, an image is made of the whole formula. This is
+called ``simple math''. When
+.I $NO_SIMPLE_MATH
+is set, then all
+mathematics is made into images, whether simple or not.
+However, if the math extension is loaded, using the -html_version
+switch described earlier, then specifying -no_math produces a quite
+different effect. Now it is the special