--- tex4ht-20090611.orig/debian/OLDNEWS.Debian
+++ tex4ht-20090611/debian/OLDNEWS.Debian
@@ -0,0 +1,71 @@
+Notes for those upgrading from earlier Debian packages of tex4ht
+----------------------------------------------------------------
+
+mk4ht in VERSIONS LATER THAN 20071203:
+
+The perl script "mk4ht" depends on various scripts that are part of
+the TeX4HT system. The newer versions of "mk4ht" search for these
+scripts using "kpsewhich". On Debian these scripts are installed in
+/usr/share/tex4ht. Thus the variable "TEXINPUTS.mk4ht" is defined as
+this path in "/etc/texmf/texmf.d/80tex4ht.cnf".
+
+ADDITION of xtpipes.jar in VERSIONS LATER THAN 20070821:
+
+The java jar file "xtpipes.jar" has been added in the directory
+/usr/share/tex4ht. This allows the entries related to xtpipes in
+tex4ht.env to become operational *if* a suitable java runtime
+which supports java version 1.5 or greater is installed. On Debian
+this is currently only "gij" (version 4.1 or greater) so that package
+has been added as a "Suggests:" to "tex4ht". We may increase this
+dependency level is "xtpipes" becomes more integral to the TeX4HT
+system.
+
+UPGRADING FROM VERSIONS EARLIER THAN 20051130:
+
+The current version of the package is split into a arch-dependendent
+"tex4ht" package and an architecture independent "tex4ht-common". This
+split is for the convenience of the mirrors since the latter provides
+the bulk of the TeX4ht system.
+
+The DFSG non-free documentation has been removed from the package. In
+its place the documentation provided links to the author Eitan M. Gurari's
+web site. In addition a sample file has been provided that also
+contains the documentation in the "html/" sub-directory of this
+directory.
+
+UPGRADING FROM VERSIONS EARLIER THAN 20030426:
+
+The current version of the package uses a modified version of the tex4ht.env
+configuration file included with the upstream sources. This includes some new
+functionality, in particular 'tagged' sections that are used by some of the
+scripts for generating MathML, OpenOffice.org and other output formats.
+Although the programs should continue to work with earlier versions of
+tex4ht.env, upgrading to the currently shipped version is recommended.
+
+UPGRADING FROM VERSIONS EARLIER THAN 20000703:
+
+1. Configuration file htfcss.env is no longer used. Instead, entries for CSS
+files are included at the end of the .htf font files themselves. See
+/usr/share/doc/texmf/tex4ht/mn20.html for more details. This will not affect
+you unless you have added your own entries to htfcss.env, or have created your
+own .htf font files.
+
+2. The 'd...' line in configuration file tex4ht.env has been replaced by a
+'l...' line. This is explained in the 'bugfixes' page of the manual. (But
+neither 'd...' nor 'l...' lines are used by default in the Debian package, as
+they are not required with kpathsea file searching, so this should not affect
+you.)
+
+3. The 'g...' line in configuration file tex4ht.env now forces generation of
+'.png' instead of '.gif' files for maths symbols etc, because this seems more
+in keeping with Debian's free software philosophy. See README.Debian for more
+notes.
+
+4. New scripts 'httex', 'htlatex' and 'httexi' are provided, as alternatives
+to the 'ht' script for tex/latex/texinfo files that do not explicitly load the
+tex4ht style file or include the tex4ht configuration commands. See the
+manual (/usr/share/doc/texmf/tex4ht/mn.html) for more details.
+
+
+Andrew Gray
+Tue, 13 May 2003 21:38:25 +0100
--- tex4ht-20090611.orig/debian/README.Debian
+++ tex4ht-20090611/debian/README.Debian
@@ -0,0 +1,148 @@
+tex4ht for DEBIAN - packaging notes - revised for v.20070821
+------------------------------------------------------------
+
+Each file in the tex4ht system has a version date recorded within it. The
+version of this Debian package is 20070821, based on the upstream
+authors numbering scheme---suitably Debian-ized.
+The version dates of the main source and style files are as follows:
+
+ tex4ht.c 2007-04-21-21:07
+ t4ht.c 2007-01-05-03:17
+ tex4ht.sty 2007-08-19-01:12
+
+The author has responded to comments on the Debian bugs archive regarding
+the availability of the literate programming source. Please see
+README.Debian-source in this directory for details.
+
+In addition to the substantial work (see below) done by the previous maintainer
+Andrew Gray (many, many thanks to him wherever he is now), the following features
+in the new source were exploited.
+
+ (1) The LGTYP variable was defined in Andrew's Makefile
+ so that PNG is the default graphic format instead of GIF.
+ (2) The new tex4ht.env allows for multiple tagged sections of
+ possible ways to create graphics. The default one
+ creates PNG's using dvipng.
+ (3) Sample file in /usr/share/doc/tex4ht/html also provides
+ some rudimentary documentation. You can process this with
+ "htlatex tex4ht_doc.tex" or "htlatex tex4ht_doc.tex bg".
+ (4) The package has been split for the convenience of the
+ mirrors into "tex4ht" and "tex4ht-common" but it is
+ unlikely that you can use one package without the other.
+ (5) The package "tex4ht" now includes "xtpipes.jar" which is
+ a java program that is used for some of the conversions.
+ Its use requires a java runtime supporting version at least
+ 1.5 to work.
+
+On configuration (tex4ht.env)
+=============================
+
+The configuration file for tex4ht is searched for by kpathsearch library
+routines. You can put this file in the following places (see
+README.kpathsea for details).
+
+ $PWD/tex4ht.env, $PWD/.tex4ht, $HOME/tex4ht.env, $HOME/.tex4ht
+ /usr/share/texmf/tex4ht/tex4ht.env
+
+The last file is provided by the package as a symlink to
+/etc/tex4ht/tex4ht.env in keeping with the Debian convention on
+configuration files. This file differs from the upstream version only in
+the graphics conversion section. It is somewhat self documenting.
+
+On graphics conversion
+======================
+
+As explained at the top of /etc/tex4ht/tex4ht.env, suitable tags
+can be used select the named sections of the graphics conversion process.
+Please examine the top of that file to understand its format.
+
+The graphics sections provided are default, upstream and netpbm.
+
+The default scripts (htlatex and friends) for converting TeX/LaTeX to
+HTML only convert graphics to PNG.
+
+If you explicitly ask for non-PNG graphics then the configuration file
+always depends on the imagemagick suite to perform conversion.
+
+The default conversion method uses only dvipng for conversion to PNG.
+
+The upstream conversion method uses the imagemagick suite. If you wish
+to use many different types of graphics outputs this may be your best
+choice. Note that convert also depends on a suitable ghostscript for the
+initial conversion from postscript to bitmap. This method also offers
+a way to convert figures to SVG using pstoedit.
+
+The upstream conversion method also has a commented out (with
+spaces!) a method that uses the "pngalpha" driver which is available
+with ghostscript 8.14 and higher; if you wish to use this then remove
+the spaces in front of it. A further commented out section (tagged
+KHP) uses "pnggray" which does not have transparency. If you only have
+access to gs 8.01 then use this instead of the line on top. Note that
+gs-esp version 7.xx does not currently crop images correctly and results
+in awful HTML pages.
+
+There is another commented out method which is an older version of
+the imagmagick method. If you have an older imagemagick you may want
+to use this.
+
+The netpbm conversion method uses the netpbm suite.
+
+Kapil Hari Paranjape
+Wed, 22 Aug 2007 12:09:22 +0530
+
+Original Maintainer's notes
+===========================
+
+
+
+There are no original manual pages for tex4ht, but I wrote a page based
+on the HTML documentation. The user-guide consists of HTML documentation
+which is available in /usr/share/doc/texmf/tex4ht. Start with file mn.html
+(or index.html) in your web browser.
+
+The original source did not include a Makefile, so I have written one (with
+the program sources, in the temp/ subdirectory of the source package). This
+has been simplified in v.20030426, partly because the source tex4ht files are
+organised in a directory structure closer to the typical web2c structure.
+
+The Debian versions of tex4ht and t4ht are built with the 'kpathsea'
+file-search library, as used by tex and other programs in the package
+tetex-bin. See the file README.kpathsea in this directory for notes on how
+tex4ht can be configured using the global kpathsea configuration file. Note
+that because the programs are built with kpathsea, the path-searching and
+bookkeeping file options within the tex4ht.env configuration file ('t', 'i'
+and 'l' lines) are redundant and/or will be interpreted in special ways (see
+README.kpathsea for details).
+
+The 'bug-fix' files (in newt4ht.zip) and new htf fonts (in htf.zip) have
+overwritten the equivalent files from tex4ht.zip.
+
+In keeping with Debian's free software philosophy, I have altered the
+configuration file and scripts to generate PNG rather than GIF files by
+default. The alterations are as follows:
+
+ - in tex4ht.env config file: altered 'g' line to 'g.png', to generate PNG
+ files for any symbol characters that are used in your document
+
+ - in the htlatex-like scripts (httex, httexi and htlatex in /usr/bin/httex,
+ and scripts in /usr/share/tex4ht), add 'png' option to the
+ tex/latex commands, to generate PNG files for any pictures specifically
+ requested in your document
+
+Note that, if you do not have the imagemagick package installed, you will have
+to adjust the 'G' lines towards the end of the configuration file
+/etc/tex4ht/tex4ht.env. See the HTML documentation for more details, or the
+comments within tex4ht.env: the version of tex4ht.env currently shipped with
+the package includes (commented out) versions of these lines for netpbm-users.
+
+For more details on the configuration of tex4ht, see the HTML documentation.
+Note that the HTML documentation and the test files are placed under
+/usr/share/doc/texmf/tex4ht.
+
+If you are upgrading from a Debian tex4ht package earlier than v.20000703, you
+may want to read the notes in file NEWS.Debian.
+
+Andrew Gray ,
+Fri, 2 May 2003 22:22:03 +0100
+--
--- tex4ht-20090611.orig/debian/copyright
+++ tex4ht-20090611/debian/copyright
@@ -0,0 +1,467 @@
+This package was debianized by Andrew Gray on
+Mon, 21 Jun 1999 22:30:05 +0100. It is currently maintained by
+Kapil H. Paranjape .
+
+The current release of the package has been downloaded from the author's
+website, at http://www.cse.ohio-state.edu/~gurari/TeX4ht/, specifically
+the following files:
+ http://www.cse.ohio-state.edu/~gurari/fix/tex4ht.tar.gz
+ http://www.cse.ohio-state.edu/~gurari/fix/tex4ht-lit.zip
+
+The current release is dated 2006-04-11 and is a a bug-fix release of
+the 1.0 release of TeX4ht made on 2005-02-28. The latter is available
+from CTAN at www.ctan.org/tex-archive/support/TeX4ht/.
+
+Upstream Author: Eitan Gurari
+
+The author has the following remark regarding package updates and so on:
+
+ The home page of TEX4ht is updated once a year, normally in February. To
+ stabilize the main distribution, no 'in development' features are introduced
+ to it for a few weeks before its release.
+
+ Intermediate modifications to the system are reported in the bug fixes
+ page (without waiting for them to scrutinized by users).
+
+The bugfixes page is at:
+
+ http://www.cse.ohio-state.edu/~gurari/TeX4ht/bugfixes.html
+ or
+ file:///usr/share/doc/tex4ht/html/bugfixes.html
+
+Copyright
+
+The source files contain notices like the following:
+
+/**********************************************************/
+/* t4ht.c 2005-02-21-19:12 */
+/* Copyright (C) 1998--2005 Eitan M. Gurari */
+/* */
+/* This work may be distributed and/or modified under the */
+/* conditions of the LaTeX Project Public License, either */
+/* version 1.3 of this license or (at your option) any */
+/* later version. The latest version of this license is */
+/* in */
+/* http://www.latex-project.org/lppl.txt */
+/* and version 1.3 or later is part of all distributions */
+/* of LaTeX version 2003/12/01 or later. */
+/* */
+/* This work has the LPPL maintenance status "maintained".*/
+/* */
+/* This Current Maintainer of this work */
+/* is Eitan M. Gurari. */
+/* */
+/* If you modify this program your changing its signature */
+/* with a directive of the following form will be */
+/* appreciated. */
+/* #define PLATFORM "signature" */
+/* */
+/* gurari@cse.ohio-state.edu */
+/* http://www.cse.ohio-state.edu/~gurari */
+/**********************************************************/
+
+The LaTeX Project Public License v1.3 is as follows:
+
+
+The LaTeX Project Public License
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
+
+LPPL Version 1.3 2003-12-01
+
+Copyright 1999 2002-03 LaTeX3 Project
+ Everyone is allowed to distribute verbatim copies of this
+ license document, but modification of it is not allowed.
+
+
+PREAMBLE
+========
+
+The LaTeX Project Public License (LPPL) is the primary license under
+which the the LaTeX kernel and the base LaTeX packages are distributed.
+
+You may use this license for any work of which you hold the copyright
+and which you wish to distribute. This license may be particularly
+suitable if your work is TeX-related (such as a LaTeX package), but
+you may use it with small modifications even if your work is unrelated
+to TeX.
+
+The section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE',
+below, gives instructions, examples, and recommendations for authors
+who are considering distributing their works under this license.
+
+This license gives conditions under which a work may be distributed
+and modified, as well as conditions under which modified versions of
+that work may be distributed.
+
+We, the LaTeX3 Project, believe that the conditions below give you
+the freedom to make and distribute modified versions of your work
+that conform with whatever technical specifications you wish while
+maintaining the availability, integrity, and reliability of
+that work. If you do not see how to achieve your goal while
+meeting these conditions, then read the document `cfgguide.tex'
+and `modguide.tex' in the base LaTeX distribution for suggestions.
+
+
+DEFINITIONS
+===========
+
+In this license document the following terms are used:
+
+ `Work'
+ Any work being distributed under this License.
+
+ `Derived Work'
+ Any work that under any applicable law is derived from the Work.
+
+ `Modification'
+ Any procedure that produces a Derived Work under any applicable
+ law -- for example, the production of a file containing an
+ original file associated with the Work or a significant portion of
+ such a file, either verbatim or with modifications and/or
+ translated into another language.
+
+ `Modify'
+ To apply any procedure that produces a Derived Work under any
+ applicable law.
+
+ `Distribution'
+ Making copies of the Work available from one person to another, in
+ whole or in part. Distribution includes (but is not limited to)
+ making any electronic components of the Work accessible by
+ file transfer protocols such as FTP or HTTP or by shared file
+ systems such as Sun's Network File System (NFS).
+
+ `Compiled Work'
+ A version of the Work that has been processed into a form where it
+ is directly usable on a computer system. This processing may
+ include using installation facilities provided by the Work,
+ transformations of the Work, copying of components of the Work, or
+ other activities. Note that modification of any installation
+ facilities provided by the Work constitutes modification of the Work.
+
+ `Current Maintainer'
+ A person or persons nominated as such within the Work. If there is
+ no such explicit nomination then it is the `Copyright Holder' under
+ any applicable law.
+
+ `Base Interpreter'
+ A program or process that is normally needed for running or
+ interpreting a part or the whole of the Work.
+ A Base Interpreter may depend on external components but these
+ are not considered part of the Base Interpreter provided that each
+ external component clearly identifies itself whenever it is used
+ interactively. Unless explicitly specified when applying the
+ license to the Work, the only applicable Base Interpreter is a
+ "LaTeX-Format".
+
+
+
+CONDITIONS ON DISTRIBUTION AND MODIFICATION
+===========================================
+
+1. Activities other than distribution and/or modification of the Work
+are not covered by this license; they are outside its scope. In
+particular, the act of running the Work is not restricted and no
+requirements are made concerning any offers of support for the Work.
+
+2. You may distribute a complete, unmodified copy of the Work as you
+received it. Distribution of only part of the Work is considered
+modification of the Work, and no right to distribute such a Derived
+Work may be assumed under the terms of this clause.
+
+3. You may distribute a Compiled Work that has been generated from a
+complete, unmodified copy of the Work as distributed under Clause 2
+above, as long as that Compiled Work is distributed in such a way that
+the recipients may install the Compiled Work on their system exactly
+as it would have been installed if they generated a Compiled Work
+directly from the Work.
+
+4. If you are the Current Maintainer of the Work, you may, without
+restriction, modify the Work, thus creating a Derived Work. You may
+also distribute the Derived Work without restriction, including
+Compiled Works generated from the Derived Work. Derived Works
+distributed in this manner by the Current Maintainer are considered to
+be updated versions of the Work.
+
+5. If you are not the Current Maintainer of the Work, you may modify
+your copy of the Work, thus creating a Derived Work based on the Work,
+and compile this Derived Work, thus creating a Compiled Work based on
+the Derived Work.
+
+6. If you are not the Current Maintainer of the Work, you may
+distribute a Derived Work provided the following conditions are met
+for every component of the Work unless that component clearly states
+in the copyright notice that it is exempt from that condition. Only
+the Current Maintainer is allowed to add such statements of exemption
+to a component of the Work.
+
+ a. If a component of this Derived Work can be a direct replacement
+ for a component of the Work when that component is used with the
+ Base Interpreter, then, wherever this component of the Work
+ identifies itself to the user when used interactively with that
+ Base Interpreter, the replacement component of this Derived Work
+ clearly and unambiguously identifies itself as a modified version
+ of this component to the user when used interactively with that
+ Base Interpreter.
+
+ b. Every component of the Derived Work contains prominent notices
+ detailing the nature of the changes to that component, or a
+ prominent reference to another file that is distributed as part
+ of the Derived Work and that contains a complete and accurate log
+ of the changes.
+
+ c. No information in the Derived Work implies that any persons,
+ including (but not limited to) the authors of the original version
+ of the Work, provide any support, including (but not limited to)
+ the reporting and handling of errors, to recipients of the
+ Derived Work unless those persons have stated explicitly that
+ they do provide such support for the Derived Work.
+
+ d. You distribute at least one of the following with the Derived Work:
+
+ 1. A complete, unmodified copy of the Work;
+ if your distribution of a modified component is made by
+ offering access to copy the modified component from a
+ designated place, then offering equivalent access to copy
+ the Work from the same or some similar place meets this
+ condition, even though third parties are not compelled to
+ copy the Work along with the modified component;
+
+ 2. Information that is sufficient to obtain a complete, unmodified
+ copy of the Work.
+
+7. If you are not the Current Maintainer of the Work, you may
+distribute a Compiled Work generated from a Derived Work, as long as
+the Derived Work is distributed to all recipients of the Compiled
+Work, and as long as the conditions of Clause 6, above, are met with
+regard to the Derived Work.
+
+8. The conditions above are not intended to prohibit, and hence do
+not apply to, the modification, by any method, of any component so that it
+becomes identical to an updated version of that component of the Work as
+it is distributed by the Current Maintainer under Clause 4, above.
+
+9. Distribution of the Work or any Derived Work in an alternative
+format, where the Work or that Derived Work (in whole or in part) is
+then produced by applying some process to that format, does not relax or
+nullify any sections of this license as they pertain to the results of
+applying that process.
+
+10. a. A Derived Work may be distributed under a different license
+ provided that license itself honors the conditions listed in
+ Clause 6 above, in regard to the Work, though it does not have
+ to honor the rest of the conditions in this license.
+
+ b. If a Derived Work is distributed under this license, that
+ Derived Work must provide sufficient documentation as part of
+ itself to allow each recipient of that Derived Work to honor the
+ restrictions in Clause 6 above, concerning changes from the Work.
+
+11. This license places no restrictions on works that are unrelated to
+the Work, nor does this license place any restrictions on aggregating
+such works with the Work by any means.
+
+12. Nothing in this license is intended to, or may be used to, prevent
+complete compliance by all parties with all applicable laws.
+
+
+NO WARRANTY
+===========
+
+There is no warranty for the Work. Except when otherwise stated in
+writing, the Copyright Holder provides the Work `as is', without
+warranty of any kind, either expressed or implied, including, but not
+limited to, the implied warranties of merchantability and fitness for
+a particular purpose. The entire risk as to the quality and performance
+of the Work is with you. Should the Work prove defective, you
+assume the cost of all necessary servicing, repair, or correction.
+
+In no event unless agreed to in writing will the Copyright Holder, or
+any author named in the components of the Work, or any other party who
+may distribute and/or modify the Work as permitted above, be liable to
+you for damages, including any general, special, incidental or
+consequential damages arising out of any use of the Work or out of
+inability to use the Work (including, but not limited to, loss of
+data, data being rendered inaccurate, or losses sustained by anyone as
+a result of any failure of the Work to operate with any other
+programs), even if the Copyright Holder or said author or said other
+party has been advised of the possibility of such damages.
+
+
+MAINTENANCE OF THE WORK
+=======================
+
+The Work has the status `author-maintained' if the Copyright Holder
+explicitly and prominently states near the primary copyright notice in
+the Work that the Work can only be maintained by the Copyright Holder
+or simply that is `author-maintained'.
+
+The Work has the status `maintained' if there is a Current Maintainer
+who has indicated in the Work that they are willing to receive error
+reports for the Work (for example, by supplying a valid e-mail
+address). It is not required for the Current Maintainer to acknowledge
+or act upon these error reports.
+
+The Work changes from status `maintained' to `unmaintained' if there
+is no Current Maintainer, or the person stated to be Current
+Maintainer of the work cannot be reached through the indicated means
+of communication for a period of six months, and there are no other
+significant signs of active maintenance.
+
+You can become the Current Maintainer of the Work by agreement with
+any existing Current Maintainer to take over this role.
+
+If the Work is unmaintained, you can become the Current Maintainer of
+the Work through the following steps:
+
+ 1. Make a reasonable attempt to trace the Current Maintainer (and
+ the Copyright Holder, if the two differ) through the means of
+ an Internet or similar search.
+
+ 2. If this search is successful, then enquire whether the Work
+ is still maintained.
+
+ a. If it is being maintained, then ask the Current Maintainer
+ to update their communication data within one month.
+
+ b. If the search is unsuccessful or no action to resume active
+ maintenance is taken by the Current Maintainer, then announce
+ within the pertinent community your intention to take over
+ maintenance. (If the Work is a LaTeX work, this could be
+ done, for example, by posting to comp.text.tex.)
+
+ 3a. If the Current Maintainer is reachable and agrees to pass
+ maintenance of the Work to you, then this takes effect
+ immediately upon announcement.
+
+ b. If the Current Maintainer is not reachable and the Copyright
+ Holder agrees that maintenance of the Work be passed to you,
+ then this takes effect immediately upon announcement.
+
+ 4. If you make an `intention announcement' as described in 2b. above
+ and after three months your intention is challenged neither by
+ the Current Maintainer nor by the Copyright Holder nor by other
+ people, then you may arrange for the Work to be changed so as
+ to name you as the (new) Current Maintainer.
+
+ 5. If the previously unreachable Current Maintainer becomes
+ reachable once more within three months of a change completed
+ under the terms of 3b) or 4), then that Current Maintainer must
+ become or remain the Current Maintainer upon request provided
+ they then update their communication data within one month.
+
+A change in the Current Maintainer does not, of itself, alter the fact
+that the Work is distributed under the LPPL license.
+
+If you become the Current Maintainer of the Work, you should
+immediately provide, within the Work, a prominent and unambiguous
+statement of your status as Current Maintainer. You should also
+announce your new status to the same pertinent community as
+in 2b) above.
+
+
+WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE
+======================================================
+
+This section contains important instructions, examples, and
+recommendations for authors who are considering distributing their
+works under this license. These authors are addressed as `you' in
+this section.
+
+Choosing This License or Another License
+----------------------------------------
+
+If for any part of your work you want or need to use *distribution*
+conditions that differ significantly from those in this license, then
+do not refer to this license anywhere in your work but, instead,
+distribute your work under a different license. You may use the text
+of this license as a model for your own license, but your license
+should not refer to the LPPL or otherwise give the impression that
+your work is distributed under the LPPL.
+
+The document `modguide.tex' in the base LaTeX distribution explains
+the motivation behind the conditions of this license. It explains,
+for example, why distributing LaTeX under the GNU General Public
+License (GPL) was considered inappropriate. Even if your work is
+unrelated to LaTeX, the discussion in `modguide.tex' may still be
+relevant, and authors intending to distribute their works under any
+license are encouraged to read it.
+
+A Recommendation on Modification Without Distribution
+-----------------------------------------------------
+
+It is wise never to modify a component of the Work, even for your own
+personal use, without also meeting the above conditions for
+distributing the modified component. While you might intend that such
+modifications will never be distributed, often this will happen by
+accident -- you may forget that you have modified that component; or
+it may not occur to you when allowing others to access the modified
+version that you are thus distributing it and violating the conditions
+of this license in ways that could have legal implications and, worse,
+cause problems for the community. It is therefore usually in your
+best interest to keep your copy of the Work identical with the public
+one. Many works provide ways to control the behavior of that work
+without altering any of its licensed components.
+
+How to Use This License
+-----------------------
+
+To use this license, place in each of the components of your work both
+an explicit copyright notice including your name and the year the work
+was authored and/or last substantially modified. Include also a
+statement that the distribution and/or modification of that
+component is constrained by the conditions in this license.
+
+Here is an example of such a notice and statement:
+
+ %% pig.dtx
+ %% Copyright 2003 M. Y. Name
+ %
+ % This work may be distributed and/or modified under the
+ % conditions of the LaTeX Project Public License, either version 1.3
+ % of this license or (at your option) any later version.
+ % The latest version of this license is in
+ % http://www.latex-project.org/lppl.txt
+ % and version 1.3 or later is part of all distributions of LaTeX
+ % version 2003/12/01 or later.
+ %
+ % This work has the LPPL maintenance status "maintained".
+ %
+ % This Current Maintainer of this work is M. Y. Name.
+ %
+ % This work consists of the files pig.dtx and pig.ins
+ % and the derived file pig.sty.
+
+Given such a notice and statement in a file, the conditions
+given in this license document would apply, with the `Work' referring
+to the three files `pig.dtx', `pig.ins', and `pig.sty' (the last being
+generated from `pig.dtx' using `pig.ins'), the `Base Interpreter'
+referring to any "LaTeX-Format", and both `Copyright Holder' and
+`Current Maintainer' referring to the person `M. Y. Name'.
+
+To prevent the Maintenance section of LPPL from allowing someone else
+to become the Current Maintainer without your agreement, you could
+change "maintained" above into "author-maintained".
+
+
+Important Recommendations
+-------------------------
+
+ Defining What Constitutes the Work
+
+ The LPPL requires that distributions of the Work contain all the
+ files of the Work. It is therefore important that you provide a
+ way for the licensee to determine which files constitute the Work.
+ This could, for example, be achieved by explicitly listing all the
+ files of the Work near the copyright notice of each file or by
+ using a line such as:
+
+ % This work consists of all files listed in manifest.txt.
+
+ in that place. In the absence of an unequivocal list it might be
+ impossible for the licensee to determine what is considered by you
+ to comprise the Work and, in such a case, the licensee would be
+ entitled to make reasonable conjectures as to which files comprise
+ the Work.
+
+=======================================================================
--- tex4ht-20090611.orig/debian/tex4ht.postinst
+++ tex4ht-20090611/debian/tex4ht.postinst
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+# Update the kpathsea lists
+texhash /usr/share/texmf # since we only install files there
+
+#DEBHELPER#
--- tex4ht-20090611.orig/debian/README.kpathsea
+++ tex4ht-20090611/debian/README.kpathsea
@@ -0,0 +1,91 @@
+CONFIGURING TEX4HT WITH KPATHSEA
+
+(revised for v.20030426-1 of Debian tex4ht package)
+
+The Debian packaged versions of the tex4ht programs are compiled with support
+for the kpathsea file searching library. This ensures that the main
+configuration of the programs uses the same system as other programs in the
+TeX family, and so should be reasonably familiar to TeX-admins.
+
+From version 20030426-1, the use of the kpathsea routines and their
+relationship with tex4ht-specific configuration options is better documented.
+This file attempts to briefly summarise the file searching options and the
+implications of using the kpathsea library. Full details are spread through
+the HTML documentation and the tex4ht files.
+
+FINDING TEX4HT FILES USING KPATHSEA
+
+The following are the kinds of files that require to be found by the tex4ht
+programs (i.e. by tex4ht and t4ht):
+
+1. TFM font metric files (*.tfm)
+2. HTF hypertext font definition files (*.htf)
+3. The tex4ht.env configuration file
+
+Using kpathsea, these files are found as follows:
+
+1. TFM fonts are found in the same way as by tex/latex, using the TFMFONTS
+variable from texmf.cnf (this should already be set up in your texmf.cnf by
+the tetex-bin package).
+
+The tex4ht-specific methods of specifying paths for TFM fonts are not used and
+will be ignored.
+
+2. HTF fonts are found using the TEX4HTINPUTS, T4HTINPUTS and (optionally)
+TEX4HTFONTSET variables from texmf.cnf, and are in any case stored in the
+default location for the TEX4HTINPUTS variable. As the default texmf.cnf
+shipped with tetex-bin includes the T4HTINPUTS variable, none of these needs
+setting. However, the tex4ht package updates the texmf.cnf file to include
+suitable settings for these variables, so that HTF fonts can be found
+automatically.
+
+The tex4ht-specific methods of specifying paths for HTF fonts are, however,
+still supported, and may be needed to specify alternative versions of the HTF
+fonts (e.g. for MathML output). These methods and their use in a
+kpathsea-enabled tex4ht/t4ht are summarised below.
+
+3. The tex4ht.env configuration file (used for defining the method of
+generating bitmaps for symbol characters and pictorial content, among other
+things), will be found in the correct location for the TEX4HTINPUTS/T4HTINPUTS
+variable of texmf.cnf. If you want to use an alternative config file, you can
+either put it in one of the default places to be found by kpathsea (such as in
+~/texmf/tex4ht), or you can use the '-e' command-line switch to the programs
+to specify its location (such as '-e/usr/local/tex4ht.env': note that no
+space should be left between the '-e' and the path name).
+
+SPECIFYING ALTERNATIVE LOCATIONS FOR FILES
+
+The tex4ht programs include two ways of specifying alternative locations for
+files:
+
+a.) with command-line switches (-i, -t)
+b.) with directives in the tex4ht.env configuration file
+
+The kpathsea-enabled programs observe both these methods for finding
+alternative versions of HTF files, but in a slightly subtle way, viz:
+
+a.) The command-line switches work as expected, thus use
+'-i/usr/share/texmf/tex4ht/unicode/!' to use the Unicode HTF fonts (the '!' is
+tex4ht's method of specifying recursive subdirectory searching).
+
+b.) Directives ('i' lines) in tex4ht.env that point to actual directories will
+work as expected. Directives in tex4ht.env that point to directories that do
+not exist will still work, so long as the directives point to directories that
+include an 'ht-fonts' component. In these cases, the exact path given in
+tex4ht.env will be ignored, and the subdirectory component(s) following the
+'ht-fonts' will be added to the paths specified in texmf.cnf to find the
+fonts. This means that, even if the HTF directory tree is moved to another
+place within the filesystem, the 'i' directives within tex4ht.env should still
+work without needing to be changed.
+
+The kpathsea-enabled programs ignore both the '-t' command-line switches and
+the 't' directives in tex4ht.env (for finding TFM fonts). They also ignore
+any '-l' switch or 'l' directive and do not use tex4ht's own bookkeeping file.
+(The non-kpathsea-enabled version of tex4ht uses a cache tex4ht.fls of its own
+to speed up file searches.)
+
+
+Andrew Gray ,
+Tue, 13 May 2003 21:28:22 +0100
+(Written for the Debian package of tex4ht, but may be used by others.)
+
--- tex4ht-20090611.orig/debian/compat
+++ tex4ht-20090611/debian/compat
@@ -0,0 +1 @@
+5
--- tex4ht-20090611.orig/debian/NEWS
+++ tex4ht-20090611/debian/NEWS
@@ -0,0 +1,54 @@
+tex4ht (20090611-1) unstable; urgency=low
+
+ We are saddened to note that the author and upstream maintainer
+ of TeX4HT, Eitan Gurari passed away on 22nd June 2009. Numerous
+ people from TUG and elsewhere have volunteered to step in and
+ carry on his work. The current package represents the last
+ release that he made.
+
+ -- Kapil Hari Paranjape Thu, 09 Jul 2009 14:08:38 +0530
+
+tex4ht (20071211-1) unstable; urgency=low
+
+ mk4ht in VERSIONS LATER THAN 20071203:
+
+ The perl script "mk4ht" depends on various scripts that are part of
+ the TeX4HT system. The newer versions of "mk4ht" search for these
+ scripts using "kpsewhich". On Debian these scripts are installed in
+ /usr/share/tex4ht. Thus the variable "TEXINPUTS.mk4ht" is defined as
+ this path in "/etc/texmf/texmf.d/80tex4ht.cnf".
+
+ -- Kapil Hari Paranjape Wed, 12 Dec 2007 12:19:52 +0530
+
+tex4ht (20070821-1) unstable; urgency=low
+
+ ADDITION of xtpipes.jar in VERSIONS LATER THAN 20070821:
+
+ The java jar file "xtpipes.jar" has been added in the directory
+ /usr/share/tex4ht. This allows the entries related to xtpipes in
+ tex4ht.env to become operational *if* a suitable java runtime
+ which supports java version 1.5 or greater is installed. On Debian
+ this is currently only "gij" (version 4.1 or greater) so that package
+ has been added as a "Suggests:" to "tex4ht". We may increase this
+ dependency level is "xtpipes" becomes more integral to the TeX4HT
+ system.
+
+ -- Kapil Hari Paranjape Wed, 22 Aug 2007 14:23:08 +0530
+
+tex4ht (20051130-1) unstable; urgency=low
+
+ UPGRADING FROM VERSIONS EARLIER THAN 20051130:
+
+ The current version of the package is split into a arch-dependendent
+ "tex4ht" package and an architecture independent "tex4ht-common". This
+ split is for the convenience of the mirrors since the latter provides
+ the bulk of the TeX4ht system.
+
+ The DFSG non-free documentation has been removed from the package. In
+ its place the documentation provided links to the author Eitan M. Gurari's
+ web site. In addition a sample file has been provided that also
+ contains the documentation in the "html/" sub-directory of this
+ directory.
+
+ -- Kapil Hari Paranjape Fri, 02 Dec 2005 12:05:53 +0530
+
--- tex4ht-20090611.orig/debian/README.validate
+++ tex4ht-20090611/debian/README.validate
@@ -0,0 +1,59 @@
+HOWTO validate the HTML/XML code generated by tex4ht
+----------------------------------------------------
+Eitan Gurari (the upstream author) strongly recommends
+the validation of the generated HTML/XML. The command line switch
+"-cvalidate" can be used to do this after making suitable changes as
+outlined below.
+
+One possibility is to install the Debian packages ""libxml2-utils"
+and/or "w3c-markup-validator". The latter package will pull-in all
+the Document Type Definition (DTD) files that are required in order
+to perform validation in most cases. The program "xmllint" in
+"libxml2-utils" performs xml and html validation. The other method for
+html validation is via a cgi-bin in the "w3c-markup-validator"
+package. There is a hint about how this can be run from the command line
+in "/usr/share/doc/w3c-markup-validator/README.Debian".
+
+Eitan Gurari has also provided a java program and some instructions on
+how to use it. The following instructions are taken from some
+instructions originally found at his website.
+
+If needed, a simple XML validator in Java can be installed in the
+following manner.
+
+ 1. The files /usr/share/tex4ht/xv4ht.java contains
+ the sources.
+
+ 2. Compile the java program with the following command. This works
+ with the free-java-sdk.
+
+ javac /usr/share/tex4ht/xv4ht.java
+
+ 3. In your copy of tex4ht.env replace the record
+
+ .xml myxmlparser %%1.xml
+
+ with (there should be no leading spaces)
+
+ java -classpath xv4ht %%1.xml
+
+ where should be name of the directory where the classes
+ now reside and catalog file is the name of XML catalog (usually
+ /etc/xml/catalog on Debian systems; a catalog file is also
+ provided in /usr/share/tex4ht/xv4ht.cat).
+
+ 4. Download the desirable DTD'S and and have the catalog file correctly
+ reference their locations. If you install the debian packages
+ xml-core, w3-dtd-mathml, sgml-data, w3c-dtd-xhtml, docbook-xml then a
+ number of DTD's are installed in the locations that are entered in the
+ default "xmlvalidator.cat". You must find/download others which you
+ may want to use.
+
+A CSS validator can also be installed in a similar way. For a CSS
+validator see
+
+ http://jigsaw.w3.org/css-validator/
+
+Kapil H. Paranjape
+Mon Nov 21 07:36:50 IST 2005
+--
--- tex4ht-20090611.orig/debian/tex4ht-common.postinst
+++ tex4ht-20090611/debian/tex4ht-common.postinst
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+set -e
+
+LASTVERSION="20060913-1"
+
+# Snippet taken from http://wiki.debian.org/DpkgConffileHandling
+#
+# Move a conffile without triggering a dpkg question
+mv_conffile() {
+ OLDCONFFILE="$1"
+ NEWCONFFILE="$2"
+
+ if [ -e "$OLDCONFFILE" ]; then
+ echo "Preserving user changes to $NEWCONFFILE ..."
+ mv -f "$NEWCONFFILE" "$NEWCONFFILE".dpkg-new
+ mv -f "$OLDCONFFILE" "$NEWCONFFILE"
+ fi
+}
+
+case "$1" in
+configure)
+ if dpkg --compare-versions "$2" le "$LASTVERSION"; then
+ mv_conffile "/etc/texmf/texmf.d/90tex4ht.cnf" "/etc/texmf/texmf.d/80tex4ht.cnf"
+ fi
+esac
+#
+
+# Update the kpathsea lists
+texhash /usr/share/texmf # since we only install files there
+update-texmf
+
+#DEBHELPER#
--- tex4ht-20090611.orig/debian/watch
+++ tex4ht-20090611/debian/watch
@@ -0,0 +1,17 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+
+# URL Pattern [Version [Action]]
+opts="uversionmangle=s/[0-9]+\.[0-9]+\.([0-9]{4})_([0-9]{2})_([0-9]{2})_.*/$1$2$3/" \
+ http://www.cse.ohio-state.edu/~gurari/TeX4ht/bugfixes.html \
+ fix/tex4ht-(.*)\.tar\.gz
+
+# Need to figure out whether we need to watch these other files.
+# Probably not if Eitan has set things up for us.
+#http://www.cse.ohio-state.edu/~gurari/TeX4ht/tex4ht-lit.zip
+#http://www.cse.ohio-state.edu/~gurari/TeX4ht/tex4ht-all.zip
+#http://www.cse.ohio-state.edu/~gurari/TeX4ht/tex4ht-(.*)\.tar\.gz
+#http://www.cse.ohio-state.edu/~gurari/TeX4ht/bugfixes.html \
+# fix/tex4ht-lit.zip
+#http://www.cse.ohio-state.edu/~gurari/TeX4ht/bugfixes.html \
+# fix/htf.zip
--- tex4ht-20090611.orig/debian/control
+++ tex4ht-20090611/debian/control
@@ -0,0 +1,61 @@
+Source: tex4ht
+Section: tex
+Priority: optional
+Maintainer: Kapil Hari Paranjape
+Build-Depends: libkpathsea-dev, debhelper (>= 5), quilt, sharutils
+Build-Depends-Indep: gcj-native-helper, fastjar
+Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/tex4ht
+Homepage: http://www.cse.ohio-state.edu/~gurari/TeX4ht/
+Standards-Version: 3.8.2
+
+Package: tex4ht
+Architecture: any
+Depends: texlive-base-bin , tex4ht-common (=${source:Version}), ${shlibs:Depends}
+Description: LaTeX and TeX for Hypertext (HTML) - executables
+ TeX4ht is a highly configurable TeX-based authoring system for producing
+ hypertext. It interacts with TeX-based applications through style files and
+ postprocessors, leaving the processing of the source files to the native TeX
+ compiler. Consequently, TeX4ht can handle the features of TeX-based systems
+ in general, and of LaTeX in particular.
+ .
+ TeX4ht can be used both for authoring HTML using TeX/LaTeX input files, or
+ for converting existing TeX input files (in any format) into HTML, with
+ (usually) only minor modifications. Other varieties of hypertext can also be
+ produced, including XML, XHTML, MathML and the Openoffice.org format of XML.
+ .
+ There are a number of different ways to convert glyphs and graphics
+ in the DVI files into PNG, GIF or JPEG. The default is to use dvipng.
+ Alternatives using ghostscript, imagemagick, netpbm and/or pstoedit are
+ also possible.
+ .
+ This package contains the architecture dependent executables for
+ TeX4ht.
+
+Package: tex4ht-common
+Architecture: all
+Depends: texlive-base-bin
+Conflicts: tex4ht (<< 20051106.1516)
+Replaces: tex4ht (<< 20051106.1516)
+Recommends: tex4ht, dvipng, zip
+Suggests: imagemagick | netpbm, ghostscript (>= 8.62), libxml2-utils,
+ openjdk-6-jre-headless | java5-runtime-headless
+Description: LaTeX and TeX for Hypertext (HTML) - support files
+ TeX4ht is a highly configurable TeX-based authoring system for producing
+ hypertext. It interacts with TeX-based applications through style files and
+ postprocessors, leaving the processing of the source files to the native TeX
+ compiler. Consequently, TeX4ht can handle the features of TeX-based systems
+ in general, and of LaTeX in particular.
+ .
+ TeX4ht can be used both for authoring HTML using TeX/LaTeX input files, or
+ for converting existing TeX input files (in any format) into HTML, with
+ (usually) only minor modifications. Other varieties of hypertext can also be
+ produced, including XML, XHTML, MathML and the Openoffice.org format of XML.
+ .
+ There are a number of different ways to convert glyphs and graphics
+ in the DVI files into PNG, GIF or JPEG. The default is to use dvipng.
+ Alternatives using ghostscript, imagemagick, netpbm and/or pstoedit are
+ also possible.
+ .
+ This package contains only the architecture independent files for
+ TeX4ht. You should install the tex4ht package to use these files.
+
--- tex4ht-20090611.orig/debian/doc-base
+++ tex4ht-20090611/debian/doc-base
@@ -0,0 +1,10 @@
+Document: tex4ht
+Title: TeX4ht user manual
+Author: Eitan Gurari
+Abstract: This manual describes the configuration and features of
+ TeX4ht for authoring hypertext (HTML) using TeX or LaTeX.
+Section: Text
+
+Format: HTML
+Index: /usr/share/doc/tex4ht/html/index.html
+Files: /usr/share/doc/tex4ht/html/*
--- tex4ht-20090611.orig/debian/README.scripts
+++ tex4ht-20090611/debian/README.scripts
@@ -0,0 +1,43 @@
+ADDITIONAL SCRIPTS FOR TEX4HT
+(from package version 20011214-1, revised for v.20050331.2350)
+
+The translation of a TeX or LaTeX source file to HTML is usually done with one
+of the scripts 'htlatex' or 'httex', which take care of running tex/latex with
+the tex4ht.sty and other macro files, and of running the tex4ht program and
+t4ht post-processor to generate the HTML, CSS and other required files.
+
+A variety of such scripts is provided with the tex4ht package, for generating
+specific formats such as MathML or XHTML etc. These scripts are in a
+subdirectory bin/unix of the source package, and in addition a file
+mkht-scripts.4ht is provided, that can be used with the tex4ht upstream
+author's own ProTeX macros to regenerate scripts for Unix or Windows systems.
+
+From v.20011214-1, the main shell scripts (httex, htlatex and httexi) are
+provided in the usual /usr/bin directory. The full range of other scripts
+provided with the package are stored separately, in /usr/share/tex4ht, so as
+not to conflict with any scripts or programs of the same names that might
+belong in other Debian packages. From version 20050216 onwards, the same
+command *names* cna be used as arguments to a portmanteau script mk4ht
+which is placed in the /usr/bin directory. For versions 20011214-1 to 20021008-1, these
+scripts were generated within the source package from a modified version of
+mkht-scripts.4ht. From v.20030426-1, the scripts provided with the upstream
+package are modified for the Debian system and used directly rather than being
+generated by the source package: this avoids the Build-Depends on tetex-bin,
+and means that the ProTeX macro files are no longer added to the source
+package. The Debian versions of the scripts all set the PATH environment
+variable at their start, to find the other scripts in /usr/share/tex4ht, if
+not already set. Scripts from /usr/share/tex4ht should not normally have to
+be called directly, although they can be if needed.
+
+From v.20010309-3, the ht script is renamed to tex4ht-ht and uses the
+update-alternatives system, to avoid a conflict with the ht script in the
+Debian package 'ht'.
+
+From v.20050402.1817-2 the above altrnatives mechanism is being
+undone for a number of reasons (see Debian Bug #303658).
+
+Andrew Gray
+Fri, 2 May 2003 22:32:40 +0100
+Kapil Paranjape
+Sun, 1 May 2005 09:15:53 -0700
+
--- tex4ht-20090611.orig/debian/README.Debian-source
+++ tex4ht-20090611/debian/README.Debian-source
@@ -0,0 +1,125 @@
+tex4ht for DEBIAN - source package notes - revised for v.20070821
+-----------------------------------------------------------------
+
+The sources can be updated by running the script "debian/update_src.sh"
+in the source package. There is also a target "get-orig-source" for
+"debian/rules" that does this.
+
+The sources for this package are organised as follows:
+
+ bin/,
+ temp/,
+ src/,
+ texmf/: These directories were created by unpacking the archive
+ http://www.cse.ohio-state.edu/~gurari/TeX4ht/fix/tex4ht.tar.gz.
+
+ lit/: This directory was created by unpacking the archive
+ http://www.cse.ohio-state.edu/~gurari/TeX4ht/fix/tex4ht-lit.zip
+ and adding the style files found under
+ http://www.cse.ohio-state.edu/~gurari/systems
+
+Upstream's instructions for building the package are found at
+http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn-unix.html.
+
+Based on these documents the previous maintainer Andrew Gray created
+the following files in the src/ directory:
+ 90tex4ht.cnf (now renamed to 80tex4ht.cnf)
+ htcmd.c
+ Makefile
+ scripts.sh
+ tex4ht.man
+The build procedure for the package currently only makes use
+of the directories src/, bin/ and texmf/ --- the latter two are
+arch-independent. Why is lit/ not used? Read on.
+
+The non-use of "lit/"
+-----------------
+As has been remarked in bug #244276, the upstream author generates the
+distributed archive using his own literate programming system that is
+found in the various style files in lit/. In response to this bug the
+upstream author has created the tex4ht-lit.zip archive as explained in
+the following link.
+
+ http://www.cse.ohio-state.edu/~gurari/Tex4ht/bugfixes.html
+ or
+ file:///usr/share/doc/tex4ht/html/bugfixes.html
+
+Each .tex file in lit/ is the literate source for one of the files in one
+of the three directories bin/ src/ texmf/. The instruction for
+compilation is to be found at the top of each .tex file.
+
+This source is *not* currently used in the Debian build process for the
+following reasons (the point 2 is the more serious one):
+
+ 1. The upstream author has already provided the output files
+ of the result of applying tex/latex to these literate
+ sources. The main purpose of providing the lit/ source is
+ to allow others to read/modify this source. To facilitate
+ this use of lit/ there is now a target "litbuild" for
+ debian/rules that re-creates the top-level tree in the
+ directory dest/ by using the lit/ source.
+
+ 2. As a result of the way dates are used to create version
+ information, the version strings of the created
+ files will not match that of the sources used for the
+ build. The consequence for bug reports would be quite
+ difficult to handle.
+
+This has the unfortunate side effect of increasing (to almost double)
+the size of the source package but that is (in my opinion) a small price
+to pay for providing the complete source.
+
+The use of "lit/"
+-----------------
+The DFSG requires that the source be in a form that is suitable for
+modification---which is naturally interpreted as the form in which
+the upstream author actually incorporates modification. The source is
+also a source(!) of information on how the system works.
+
+Thus, the primary use of "lit/" is to re-build the distributed files
+in case someone wants to produce (for whatever reason) a modified
+version of "tex4ht" after changing one of the files in "lit/". Towards
+this end a new target "litbuild" has been provided for the makefile
+"debian/rules".
+
+Thanks to work done by Patrice Dumas, there are two ways to invoke
+the "litbuild" target. If invoked with "LITK" defined this target
+depends on an installed "tex4ht" package and uses that to rebuild the
+distribution. The version without options rebuild everything using TeX
+and the C compiler.
+
+Both versions need "texlive-latex-recommended" and all dependencies of
+that installed. In addition, the bootstrap version needs "libkpathsea-dev"
+in order to compile the "tex4ht" and "t4ht" binaries that are used
+during the bootstrap.
+
+The "litbuild" target rebuilds the "bin/", "src/" and "texmf/" directories
+as subdirectories of "dest/". Additional documentation generated as a
+consequence of literate programming can be found in "dest/litdoc/".
+The log of this process is kept in "debian/lit/litbuild.log". The
+".diff"s of the differences between the generate directories and those
+distributed can be found in the files "debian/lit/*diff.log".
+
+Some of the differences are "expected" due to the folllowing reasons
+(some of these were provided by the upstream author):
+
+ 1. Sometimes the *.4ht files are not re-compiled following
+ a bug fix. Instead the bug fix is "back-ported" to the
+ literate program. This causes some minor differences
+ which do not affect the functioning of the system.
+
+ 2. Some of the literate files are more up-to-date than the
+ texmf tree since the former are still being worked on.
+ In particular, the "jsmath" and "emacspeak" part of
+ the system is currently being worked on.
+
+ 3. In some places 8-bit characters come out as (say)
+ the 0xE5 character in the generated file whereas it is
+ "^^e5" in the distributed file. TeX treats these similarly
+ so it should not cause a problem. Handling this is part
+ of upstream's new approach to accents which is still being
+ worked on.
+
+Kapil Hari Paranjape
+Sun, 06 Apr 2008 04:24:42 +0000
+--
--- tex4ht-20090611.orig/debian/update_doc.sh
+++ tex4ht-20090611/debian/update_doc.sh
@@ -0,0 +1,33 @@
+#!/bin/sh
+# Created by Kapil Hari Paranjape
+# This updates the html documentation in debian/{html,images}
+# if the file debian/doc/tex4ht_doc.tex has changed.
+
+set -e
+
+mkdir -p doc
+cd doc
+cp -p ../debian/html/tex4ht_doc.tex .
+cp -p ../debian/html/bg.cfg .
+
+htlatex tex4ht_doc "bg"
+
+mkdir -p images html
+
+cp -p *.html *.tex *.css *.cfg html/
+for i in *.png
+do
+ j=$(basename $i .png)
+ uuencode $i < $i > images/$j.uue
+done
+cp -p ../debian/images/bgimage.uue images
+
+for i in html images
+do
+ mv ../debian/$i ../debian/$i.old
+ mv $i ../debian/$i
+done
+
+cd ..
+rm -rf doc
+
--- tex4ht-20090611.orig/debian/tex4ht.postrm
+++ tex4ht-20090611/debian/tex4ht.postrm
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = purge ] ; then
+ command -v texhash > /dev/null 2>&1 && \
+ texhash /usr/share/texmf || true
+fi
+
+#DEBHELPER#
--- tex4ht-20090611.orig/debian/changelog
+++ tex4ht-20090611/debian/changelog
@@ -0,0 +1,608 @@
+tex4ht (20090611-1.1build1) quantal; urgency=low
+
+ * Rebuild for new libkpathsea.
+
+ -- Bhavani Shankar Wed, 06 Jun 2012 20:18:04 +0530
+
+tex4ht (20090611-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Replace build depends on default-jdk-builddep with one one
+ gcj-native-helper (default-jdk isn't enough, as ecj is being used)
+ (Closes: #588440)
+ * Added biblatex.4ht.diff from Ahmed El-Mahmoudy patch to fix a conflict between
+ biblatex & tex4ht. (Closes: #564186)
+
+ -- Alexander Reichle-Schmehl Wed, 28 Jul 2010 12:36:49 +0200
+
+tex4ht (20090611-1) unstable; urgency=low
+
+ * New upstream release (2009_06_11_1038).
+ See upstream changelog for details.
+ * debian/control: Standards Version 3.8.2.
+ No other changes required.
+
+ -- Kapil Hari Paranjape Thu, 09 Jul 2009 14:07:23 +0530
+
+tex4ht (20090521-1) unstable; urgency=low
+
+ * New upstream release (2009_05_21_0955).
+ - Numerous improvements to support for amsmath, docbook and
+ opendocument as well as additional configurations.
+ See upstream changelog for more details.
+ * debian/tex4ht{,-common}.{pre,post}{inst,rm}:
+ Call texhash with argument "/usr/share/texmf/" since we only
+ install kpathsea searchable files under that heirarchy. (Thanks
+ to Frank Ku:ster's suggestion in #528021). (Closes: #528022)
+ * debian/control:
+ - Replaced build depency on java-gcj-compat by
+ default-jdk-builddep thanks to suggestion by Matthias Klose.
+ (Closes: #526304).
+ - Standards Version 3.8.1. No other changes required.
+ * Bumped debhelper version dependency in debian/control and
+ debian/compat to 5. No other changes required.
+ * debian/patches/*: added explanations to the patch files.
+
+ -- Kapil Hari Paranjape Tue, 02 Jun 2009 23:42:23 +0530
+
+tex4ht (20090223-1) unstable; urgency=low
+
+ * New upstream release (2009_02_18_0757). (Closes: #495021)
+ * debian/patches/fix_tex4ht_env.diff: updated to reflect location
+ of xtpipes stuff on Debian systems.
+ * debian/rules: use "bugfixes3.txt" as changelog instead
+ of "bugfixes2.txt".
+ * debian/{update_src.sh,rules}: use "w3m -dump" to get the "bugfixes*" file
+ as text from the upstream web page instead of converting later using
+ "html2text". These web pages are xhtml which is not supported by
+ "html2text".
+ * debian/patches/add_Makefile.diff: fix "src/Makefile" to reflect
+ changed location of ht-scripts in the upstream source tar.gz.
+ * debian/patches/{add_Makefile,add_xtpipes_support,Makefile_indep_arch}:
+ merged these patches to make maintenance simpler.
+ * debian/patches/add_java_manifest: moved this patch out of
+ add_xtpipes_support into its own patch.
+
+ -- Kapil Hari Paranjape Thu, 26 Feb 2009 10:50:49 +0530
+
+tex4ht (20080701-2) unstable; urgency=low
+
+ * debian/patches/add_manpage.diff: Modified the man page
+ to recommend that "mk4ht" be used for conversions other than
+ from TeX/LaTeX to HTML. This is in response to #495768.
+ * debian/control: Replaced "sun-java5-jre" with "openjdk-6-jre-headless"
+ in the "Suggests" field for "tex4ht-common". The latter java runtime
+ seems to work with "xtpipes.jar" and the former is non-free.
+ (Closes: #486482)
+
+ -- Kapil Hari Paranjape Fri, 12 Sep 2008 10:32:36 +0530
+
+tex4ht (20080701-1) unstable; urgency=low
+
+ * New upstream release (2008_07_01_1835.tar.gz). (Closes: #487237)
+ - Improved support for HTML 3.2
+ - Introduced support for the subequations and subeqnarray
+ - Introduced tab-based layout of equations
+ - Dropped 'xv4ht.java' from sources
+ - Numerous other improvements, see upstream changelog.
+ * debian/patches/:
+ - Makefile_indep_arch: removed installation of xv4ht.java
+ - fix_tex4ht_env.diff: refreshed patch to incorporate upstream
+ changes to tex4ht.env
+ - fix_tex4ht_env.diff: replaced "mkdir" by "mkdir -p" in
+ section. (Closes: #486476)
+ - fix_mk4ht.diff: refreshed.
+
+ -- Kapil Hari Paranjape Sat, 05 Jul 2008 09:51:45 +0530
+
+tex4ht (20080614-1) unstable; urgency=low
+
+ * New upstream release (2008_06_14_2221.tar.gz).
+ Numerous improvements, see upstream changelog.
+ * debian/control:
+ - Removed dependency on obsolete package tetex-bin.
+ - Replaced dependency on gs-gpl|gs by dependency
+ on ghostscript.
+ - Replaced dependency on java5-runtime-headless by
+ dependency on default-jre-headless.
+ - Standards Version bumped to 3.8.0.
+ No other changes required.
+ * debian/patches/fix_tex4ht_env.diff: Patch refreshed.
+
+ -- Kapil Hari Paranjape Sun, 15 Jun 2008 11:24:52 +0530
+
+tex4ht (20080228-1) unstable; urgency=low
+
+ * New upstream release (2008_02_28_2058).
+ Numerous improvements, see upstream changelog.
+ * debian/patches/fix_tex4ht_env.diff: incorporated
+ new upstream version.
+ * debian/control:
+ - replaced Build-Depends on "ecj-gcj" with the recommended
+ "java-gcj-compat-dev".
+ - removed "Suggests: gij" for tex4ht.
+ - added "Suggests: sun-java5-jre | java5-runtime-headless" for
+ tex4ht-common. (Closes: #471837).
+ * Incorporate improvements to litbuild thanks to Patrice Dumas.
+ - debian/lit/rebuild.sh: patched to use "htlatex" instead of
+ three calls to "latex".
+ - debian/README.Debian-source: added explanation of bootstrap
+ version of "litbuild" and "-k" version.
+ - debian/rules: if "LITK" is defined for "litbuild" then use "-k"
+ version.
+ * debian/doc-base: changed section from "Apps/Text" to "Text"
+ to comply with new doc-base policy.
+
+ -- Kapil Hari Paranjape Mon, 07 Apr 2008 06:33:54 +0530
+
+tex4ht (20080125-1) unstable; urgency=low
+
+ * New upstream release (2008_01_25_0949).
+ - upgraded support for biblatex to v. 0.7
+ - fixed array configuration of mdwtab.sty
+ - introduced the command line option -css
+ - modified configurations of fig4tex.4ht
+ - configured spanish accents.
+ - add OpenDocument support for pstricks
+ - introduced OpenDocument support for fancyvrb
+ * fixed "mk4ht" to find scripts in "/usr/share/tex4ht" by
+ using the variable TEXINPUTS.mk4ht defined in
+ "/etc/texmf/texmf.d/80tex4ht.cnf".
+ (Closes: #463821)
+ * debian/update_doc.sh: added script to re-create
+ documentation directories debian/{html,images}.
+ * added comment to documentation that filenames with
+ metacharacters will cause problems.
+ (Closes: #460985)
+ * fixed previous entry in the changelog; should be "rule"
+ not "target".
+
+ -- Kapil Hari Paranjape Tue, 12 Feb 2008 21:43:53 +0530
+
+tex4ht (20071211-2) unstable; urgency=low
+
+ * debian/rules: removed "build" rule as "build-arch" and
+ "build-indep" are separately defined.
+
+ -- Kapil Hari Paranjape Thu, 13 Dec 2007 09:51:29 +0530
+
+tex4ht (20071211-1) unstable; urgency=low
+
+ * New upstream release (2007_12_11_2112).
+ - added missing literate sources.
+ - modified handling of \email. Closes: #447840.
+ - fixed mathml configuration. Closes: #444135.
+ - introduce configuration for SIunits.sty. Closes: #444131.
+ - new features of "mk4ht" (see NEWS.Debian). Closes: #450415.
+ - removed unnecessary directory texmf/tex4ht/xttl.
+ * debian/update_src.sh:
+ - ignore exit status of "uscan". It is misleading.
+ - comment out use of $FIXJAVA. No longer required.
+ * debian/patches:
+ - add_texmf_cnf.diff: added search path for "mk4ht".
+ - add_xtpipes_support: changed java compulation switch "-source 1.5"
+ to be compatible with "icedtea" compiler. Thanks to Patrice Dumas.
+ - fix_mk4ht.diff: refreshed.
+ * fixed build of src from literate source; thanks to Patrice Dumas
+ and Eitan Gurari for their work.
+ - debian/lit/rebuild.sh: incorporated changes from Patrice Dumas.
+ - debian/lit/patches/fix_tex4ht_fonts_4hf.diff: refreshed.
+ - debian/lit/add_texmf.cnf: moved needed extra definitions from
+ debian/lit/texmf.cnf.patch here.
+ - debian/lit/texmf.cnf.patch: removed; not required.
+ * separated the arch-dependent and independent builds to bypass
+ un-necessary extra compilation on ports.
+ - debian/rules: created new targets
+ {build,install}-{arch,indep}{,-stamp}.
+ - debian/patches/Makefile_indep_arch: created new targets
+ {,install-}{arch,indep}.
+ - debian/tex4ht-common.install: add all files under /usr/share
+ that are created under binary-indep target.
+ * debian/control:
+ - Standards Version 3.7.3. No changes required.
+ - removed "XS" from Vcs-Svn field.
+ - moved Homepage entry from Description to its own field.
+ - added Build-Depends-Indep field and moved "ecj-gcj" and
+ "fastjar" to it.
+ * created NEWS file in changelog format and moved really old
+ news to OLDNEWS.Debian. Thanks to "lintian".
+ - debian/tex4ht.install: added OLDNEWS.Debian.
+
+ -- Kapil Hari Paranjape Thu, 13 Dec 2007 07:26:33 +0530
+
+tex4ht (20070904-1) unstable; urgency=low
+
+ * New upstream release (2007_09_04_0340).
+ - introduced support for \includegraphics in \title{}.
+ Closes: #440169.
+ - repackaged xtpipes within tex4ht.
+ * debian/control:
+ - depend on version of ecj-gcj that depends on the
+ jvm used to build it. Closes: #441660.
+ * debian/tex4ht.{postinst,postrm}: run "texhash" to ensure
+ that "tex4ht.env" entry in the search lists is updated.
+ Closes: #431964.
+ * thank Michael Hanke for suggesting "ecj" as the compiler for
+ "xtpipes" support which helped close #405800 and #384578.
+ * debian/update_src.sh:
+ - replace "set -x" with "set -e".
+ * debian/patches:
+ - add_Makefile.diff: modified the sed command to make tex4ht.env
+ avoid SELFAUTOPARENT. Closes: #440075.
+ - add_xtpipes_support.diff:
+ * modified installation of xtpipes files to increase compatibility
+ with upstream.
+ * fixed definition of XTPIPES_SRC using make globbing.
+ - fix_tex4ht_env.diff: modified the java calls to reflect the
+ location of jar file in /usr/share/tex4ht/. Closes: #440071.
+
+ -- Kapil Hari Paranjape Fri, 14 Sep 2007 10:47:38 +0530
+
+tex4ht (20070821-1) unstable; urgency=low
+
+ * New upstream release (2007_08_21_01:16).
+ * debian/update_src.sh
+ - fixed to avoid getting nogjava.perl.
+ * debian/patches/add_xtpipes_support:
+ - added src/java/manifest for xtpipes.jar
+ - patched src/Makefile to compile and install xtpipes.jar
+ and support files for xtpipes.
+ * debian/patches/fix_tex4ht_env.diff:
+ - added support to make a directory for "-d" switch of t4ht.
+ Closes: #438595.
+ * debian/rebuild.sh:
+ - included "set -e" so that the script exits on error.
+ - incorporated bootstrap mode. Thanks to Patrice Dumas.
+ * debian/control:
+ - added space for Homepage entry.
+ - added "Build-Depends: ecj-gcj, fastjar".
+ - added "Suggests: gij" for tex4ht.
+ * debian/rules:
+ - changed "clean" rule to catch "clean" target errors of Makefile.
+ * debian/NEWS.Debian,README.Debian,README.Debian-source:
+ - added info about "xtpipes" and java sources. Closes: #384578.
+ - updated time stamps.
+
+ -- Kapil Hari Paranjape Wed, 22 Aug 2007 14:23:08 +0530
+
+tex4ht (20070717-2) unstable; urgency=low
+
+ * debian/tex4ht-common.{postinst,preinst}:
+ - Fix a typo which makes the package uninstallable.
+ - Define the LASTVERSION variable.
+
+ -- Kapil Hari Paranjape Wed, 8 Aug 2007 15:09:36 +0530
+
+tex4ht (20070717-1) unstable; urgency=low
+
+ * New upstream release (2007_07_17_02:28).
+ - Modified the OpenDocument bibliography configurations for
+ apacite.sty. Closes: #405914.
+ - Modified the OpenDocument configurations for vertical
+ spaces. Closes: #405918.
+ - Configured listoffigures and listoftables for OpenDocument.
+ Closes: #406060.
+ - Many bugfixes since last release (see bugfixes2.html).
+ * debian/update_src.sh:
+ - fixed this script to avoid changing directory permissions.
+ - fixed this script to use "7z" if "unzip" is not available.
+ - fixed this script to get bugfixes4.html.
+ - fixed this script to get nogjava.perl.
+ - added --rsyncable while compressing.
+ * debian/rules:
+ - ensured that bugfixes4.* is also in doc directory.
+ * debian/control:
+ - dropped libkpathsea4-dev from dependencies. Closes: #432429, #429680.
+ - added XS-Vcs-Svn field.
+ - changed maintainer's e-mail address.
+ * debian/html: fixed tex4ht_doc.tex and regenerated documentation
+ incorporating fixes from Braun Gabor. Closes: #352525.
+ * debian/patches: refreshed patches for tex4ht.env.
+ * debian/tex4ht-common.{preinst,postinst}: moved 90tex4ht.cnf to
+ 80tex4ht.cnf. Thanks to Frank Ku:ster and wiki.debian.org. Closes: #428044
+
+ -- Kapil Hari Paranjape Wed, 8 Aug 2007 11:17:53 +0530
+
+tex4ht (20060913-1) unstable; urgency=low
+
+ * New upstream release (2006_09_13_14:58).
+ - Disabled improper hyphenation. Closes: #382436.
+ - For other changes see bugfixes2.txt.gz in the doc directory.
+ * Disabled "xtpipes" from "mk4ht" and "tex4ht.env". This is
+ in response to #384578. (See: RFH #386269 for why.)
+ * debian/patches: refreshed patches for tex4ht.env and mk4ht
+ to implement the above.
+ * debian/update_src.sh: used tex4t-.orig as the toplevel
+ directory for the re-packaged source. (Debian Developer's Ref.
+ Section 6.7.8.20).
+ * debian/control: changed Source-Version dependency to
+ source:Version dependency to ensure binNMU's are safe.
+
+ -- Kapil Hari Paranjape Fri, 15 Sep 2006 20:12:20 +0530
+
+tex4ht (20060619-1) unstable; urgency=low
+
+ * New upstream release (2006-06-19-16:46).
+ - "mk4ht" has a configuration file which
+ can clean up. Closes: #366712, #219350.
+ - representation of numbers in OpenOffice
+ output fixed. Closes: #363675.
+ * Added remark about stricter multi-part subscripts
+ to documentation in /usr/share/doc/tex4ht/html.
+ Closes: #360622.
+ * Added information about configuration file for "mk4ht"
+ to the man page.
+ * debian/: Renamed README.src to README.Debian-source to
+ comply with Debian Developer's Reference 6.7.8.2.
+ * debian/rules: Renamed target "update" to "get-orig-source" to
+ comply with Debian Developer's Reference 6.7.8.2.
+ * Re-organised the source directories; see README.Debian-source
+ and debian/update_src.sh.
+ * Manage debian patches with quilt.
+ * New experimental target "litbuild" to regenerate
+ the top-level tree from the lit sources; see
+ README.Debian-source.
+ * Added files in debian/lit to support the "litbuild" target.
+ * Standards Version: 3.7.2. No changes required.
+ * debian/: Removed tex4ht-common.prerm as it is no longer required.
+
+ -- Kapil Hari Paranjape Thu, 22 Jun 2006 07:59:42 +0530
+
+tex4ht (20060312-1) unstable; urgency=low
+
+ * New upstream release (2006-03-12-21:45).
+ - Fixes the conversion lines for "gif"
+ and "svg" formats. Closes: #350411.
+ - Fixes the DTD header for xhtml output
+ with frames. Closes: #350412.
+ - Fixes an XML error in the mathml output.
+ Closes: #350768.
+ * Replaced the use of "\href" with "\url" in tex4ht_doc.tex.
+ Thanks to Braun Gabor for this bug report and patch,
+ and numerous others that led to the fixes described above.
+ * Build with libkpathsea4 if possible. Thanks to
+ Frank Ku:ster. Closes: #357263.
+ * Added bugfixes*.html files to doc directory from
+ the upstream web site. These files provide the "NEWS"
+ and "changelog(s)" for the package.
+
+ -- Kapil Hari Paranjape Tue, 21 Mar 2006 11:28:43 +0530
+
+tex4ht (20051223-1) unstable; urgency=low
+
+ * New upstream release (2005-11-23-20:08).
+ - Support for xhlatex in mk4ht. Closes: #344049.
+ - Fix "
" tag for XML validation. Closes: #344051.
+
+ -- Kapil Hari Paranjape Mon, 26 Dec 2005 10:49:39 +0530
+
+tex4ht (20051214-1) unstable; urgency=low
+
+ * New upstream release (2005-12-14-00:54).
+ * Fixed typos in previous changelog. Thanks
+ to Anibal Monsalve Salazar.
+ * Fixed watch file. Closes: #342672.
+ * Incorporated a script to automate update of
+ source package. Thanks to Antonio Ospite.
+ * Separated the binary-indep and binary-arch builds.
+ * Add the literate programming files and changelogs
+ from upstream site that were missed in the previous
+ source package.
+ * Incorporated upstream's address change.
+ * Fixed depends of tex4ht. Should be tex4ht-common
+ not tex4ht-files. Closes: #343321.
+ * Put alternate dependency on texlive-base-bin instead
+ of tetex-bin. Suggested by Norbert Preining.
+ * Made tex4ht depend on corresponding version of tex4t-common.
+ Suggested by Anibal Monsalve Salazar.
+
+ -- Kapil Hari Paranjape Thu, 15 Dec 2005 17:01:01 +0530
+
+tex4ht (20051130-1) unstable; urgency=low
+
+ * New upstream release (2005-11-30-22:55).
+ - No lonely
tags. Closes: #320968.
+ - Handle Scandinavian Characters better.
+ Closes: #320933.
+ - Handle embedded images better. Closes: #340296.
+ - Include support for eTeX and conTeXt.
+ Closes: #311523.
+ - Give user the option of avoiding unicode
+ ligatures. Closes: #307647.
+ * Removed all alternatives providing ht. Closes: #303658.
+ * The html files from the web-site are not included with
+ the packages. Instead added an introductory html document
+ generated from LaTeX with source. Closes: #219482.
+ * The arch-independent files put in a separate package.
+ This complies with section 6.7.5 in the developer's
+ reference.
+ * Added some clarifications to the man page regarding
+ optional arguments for the scripts. Closes: #315992.
+ * Added "Suggests: zip". Closes: #339593.
+ * Standards Version bumped to 3.6.2 (no changes required).
+ * Debhelper Version bumped to 4 (no changes required).
+ * Dropped the "time" portion of the upstream version
+ number when converting to Debian numbering.
+
+ -- Kapil Hari Paranjape Fri, 02 Dec 2005 12:05:53 +0530
+
+tex4ht (20050402.1817-1) unstable; urgency=low
+
+ * New upstream release (2005-04-02-18:17). Closes: #299934.
+ * See README.src, README.validate, README.Debian and copyright
+ for information on minor changes.
+ * This upload fixes a some .htf files. Closes: #295109.
+ * Updated the description to reflect recent changes.
+ * Fixed some typos in src/tex4ht-mkht.tex and consequently
+ in the mk4ht script.
+ * Updated the man page to include mk4ht.
+ * Updated the description of options for the scripts in the man page.
+ Put more information in the man page about the way the system works.
+ Closes: #219348, #219347.
+ * Added debian/watch file.
+
+ -- Kapil Hari Paranjape Tue, 5 Apr 2005 14:14:41 +0530
+
+tex4ht (20050216.2023-1) unstable; urgency=low
+
+ * New maintainer. Closes: #268126.
+ * New upstream version (2005-02-16 20:23). Closes: #256834,
+ #234678, #229362, #219726.
+ * Organisation of files in the source package has changed
+ somewhat; e.g. literate source files are included; see
+ /usr/share/doc/tex4ht/README.src for details. Closes: #244276
+ * Added CFLAG to the Makefile to fix default graphics type to PNG.
+ Closes: #219346.
+ * Fixed typo in package description. Closes: #254049.
+ * Added dvipng method for conversion. The ghostscript method
+ depends on version >= 8.14. The dvipng method is now the default
+ as it was my suggestion :-). Closes: #229569.
+ * Changed the file copyright to include LPPL v1.3 in place of v1.0.
+ This is the new upstream license.
+ * Changed erroneous execute permissions on data files under
+ "/usr/share/texmf".
+ * Fixed some typos in the html documentation.
+ * Added a symlink to the html documentation under the doc
+ directory.
+ * Fixed the "#!" line in script "/usr/bin/mk4ht". Also modified
+ temp/Makefile to handle this perl script.
+ * Bumped standards version to 3.6.1 (no changes required).
+ * Included the validation scripts from upstream in "/usr/share/tex4ht".
+ The relevant instructions are in README.validate.
+ * Upload sponsored by Frank K�ster
+
+ -- Kapil Hari Paranjape Fri, 18 Feb 2005 08:11:44 +0530
+
+tex4ht (20030426-3) unstable; urgency=low
+
+ * QA Group upload orphaning this package
+
+ -- Andrew Pollock Sun, 7 Nov 2004 13:19:41 +1100
+
+tex4ht (20030426-2) unstable; urgency=low
+
+ * Corrected Makefile to create scripts directory. Closes: #193259, #193593
+
+ -- Andrew Gray Mon, 19 May 2003 22:36:44 +0100
+
+tex4ht (20030426-1) unstable; urgency=low
+
+ * New upstream sources. Closes: #132367, #160798
+ * Use scripts provided in upstream sources (modified for Debian locations)
+ instead of generating them while building package, removes Build-Depends
+ on tetex-bin. Also alter scripts to generate PNG not GIF pictures by
+ default.
+ * Use '-transparent' not '-transparency' option to convert in tex4ht.env.
+ (Generally, adopt extended version of tex4ht.env from upstream sources.)
+ Closes: #174415
+ * Moved imagemagick to Recommends instead of Suggests, added netpbm as
+ alternative Recommends, added gs to Recommends. Closes: #190205
+ * Corrected Makefile to remove double-matching of files causing compilation
+ error. Closes: #165681
+ * Use of 'i' directives works correctly with kpathsea-enabled programs, and
+ more fully documented in README.kpathsea. Closes: #133750
+ * Bug preventing autobuilding was fixed in v.20011214-2 but that version got
+ stuck in upload queue and an NMU fixed the bug instead. Likewise new
+ version request closed in same v.20011214-2 that never got beyond upload
+ queue. So close both bugs now. Closes: #132894, #129754
+
+ -- Andrew Gray Tue, 13 May 2003 22:23:30 +0100
+
+tex4ht (20021008-1) unstable; urgency=low
+
+ * New upstream sources
+
+ -- Andrew Gray Wed, 6 Nov 2002 20:41:43 +0000
+
+tex4ht (20011214-2) unstable; urgency=low
+
+ * Added TEXINPUTS assignment (for latex) and command-line reference to
+ tex4ht.env (for tex4ht and t4ht) in Makefile so that package builds
+ successfully without tex4ht already installed. Closes: #132894
+ * Should have closed new version request when I packaged 20011214-1, do so
+ now. Closes: #129754
+
+ -- Andrew Gray Thu, 7 Mar 2002 07:30:00 +0000
+
+tex4ht (20011214-1) unstable; urgency=low
+
+ * New upstream sources
+ * Minor adjustments to README.Debian and Makefile
+ * Corrected convert '-transparent' option in tex4ht.env. Closes: #124401
+ * Generated all the shell scripts from mkht-scripts.4ht, put into
+ /usr/share/tex4ht and set PATH in httex, htlatex and httexi accordingly
+ (see /usr/share/doc/tex4ht/README.scripts). Closes: #118090
+
+ -- Andrew Gray Mon, 31 Dec 2001 16:26:17 +0000
+
+tex4ht (20010309-3) unstable; urgency=low
+
+ * Rename ht script to tex4ht-ht and use alternatives system, to avoid clash
+ with /usr/bin/ht in the ht package.
+
+ -- Andrew Gray Fri, 6 Jul 2001 07:41:40 +0100
+
+tex4ht (20010309-2) unstable; urgency=low
+
+ * Removed manpage ht.1 (created as symlink to tex4ht.1 manpage) to avoid
+ clash with other package 'ht'. Closes: #101220
+
+ -- Andrew Gray Tue, 19 Jun 2001 21:43:08 +0100
+
+tex4ht (20010309-1) unstable; urgency=low
+
+ * New upstream sources
+ * Minor adjustments to README.Debian and the Makefile
+
+ -- Andrew Gray Tue, 13 Mar 2001 15:32:20 +0000
+
+tex4ht (20000703-3) unstable; urgency=low
+
+ * Incremented Standards-version to 3.2.1
+ * Added Build-depends (libkpathsea-dev and debhelper). Closes: #81751
+ * Remove obsolete config file htfcss.env and /etc/tex4ht directory (if they
+ exist) in the postrm. Closes: #80103,#69558
+ * made ht, httex, htlatex, httexi into explicit /bin/sh scripts (using
+ hash-bang notation)
+ * changed dependency on tetex-bin from 'Recommends' to 'Depends' (tex4ht
+ is pretty useless without it)
+
+ -- Andrew Gray Sat, 13 Jan 2001 16:33:24 +0000
+
+tex4ht (20000703-2) unstable; urgency=low
+
+ * Build with libkpathsea3. Closes: #79888
+
+ -- Andrew Gray Sun, 24 Dec 2000 00:53:15 +0000
+
+tex4ht (20000703-1) unstable; urgency=low
+
+ * New upstream sources and style files. Closes: #65788, #65176
+ * Docs and manual now in /usr/share/doc (policy 3.1.1)
+ * Makefile no longer tries to strip non-binary scripts. Closes: #62910
+ * Wrote README.upgrading for Debian users of previous version(s); added to
+ README.Debian file.
+
+ -- Andrew Gray Sat, 15 Jul 2000 20:22:37 +0100
+
+tex4ht (19990804-1) unstable; urgency=low
+
+ * upstream updates
+ * include README.kpathsea in /usr/doc/tex4ht (bug #40156)
+ * incorporate lppl.txt (Latex Project Public License) in copyright file
+ * minor alterations to Makefile and rules file (test/demo files renamed
+ upstream)
+
+ -- Andrew Gray Thu, 5 Aug 1999 12:31:55 +0100
+
+tex4ht (19990609-1) unstable; urgency=low
+
+ * Initial Release.
+ * Added Makefile and manual pages.
+ * Adjusted configuration file tex4ht.env for Debian and kpathsea.
+
+ -- Andrew Gray Mon, 21 Jun 1999 22:29:39 +0100
+
+Local variables:
+mode: debian-changelog
+End:
--- tex4ht-20090611.orig/debian/update_src.sh
+++ tex4ht-20090611/debian/update_src.sh
@@ -0,0 +1,130 @@
+#!/bin/sh
+# Created by Kapil Hari Paranjape
+# Based on inputs from Antonio Ospite
+# This creates the new .orig.tar.gz if there is an update
+set -e
+
+# Uncomment this to debug
+#set -x
+
+CHANGELOGS="bugfixes2.txt bugfixes3.txt bugfixes4.txt"
+NEWS="bugfixes.txt"
+STYFILES="DraTex.sty AlDraTex.sty ProTex.sty AlProTex.sty"
+#EITSCR="http://www.cse.ohio-state.edu/~gurari/temp/nogjava.perl"
+#FIXJAVA="nogjava.perl"
+
+# Use the watch file and uscan
+# "uscan" exit is 1 even when there *is* a new file!
+USCANOUT=$(uscan --report) || /bin/true
+
+if [ -z "$USCANOUT" ]
+then
+ echo "Existing source is up-to-date."
+ exit 0
+fi
+
+# Extract information from the uscan report
+
+URL=$(expr "$USCANOUT" : '.*\(http:\/\/.*\.tar\.gz\).*')
+VERSION=$(expr "$USCANOUT" : '.*Newer version (\([0-9]*\)).*')
+
+T4HTFIXURL=$(dirname "$URL")
+T4HTURL=$(dirname "$T4HTFIXURL")
+LIT="$T4HTFIXURL/tex4ht-lit.zip"
+STYURL=$(expr "$T4HTURL" : '\(.*~[^/]*\)/.*')/tpf
+
+ARCHIVE=$(basename $URL)
+DIR=$(basename $ARCHIVE .tar.gz)
+
+echo -n "Creating temporary directory for download ..."
+TMPDIR=$(mktemp -d)
+echo "Done."
+
+OLDIR=$PWD
+
+echo -n "Downloading the new sources ..."
+cd $TMPDIR
+if ! (wget -q $URL)
+then
+ echo "Error: Could not download $URL"
+ exit 201
+fi
+if ! (wget -q $LIT)
+then
+ echo "Error: Could not download $LIT"
+ exit 202
+fi
+for txtfile in $NEWS $CHANGELOGS
+do
+ htmlfile=$(basename $txtfile .txt).html
+ if ! (w3m -dump $T4HTURL/$htmlfile > $txtfile)
+ then
+ echo "Error: Could not download $T4HTURL/$htmlfile"
+ exit 203
+ fi
+done
+for sty in $STYFILES
+do
+ if ! (wget -q $STYURL/$sty)
+ then
+ echo "Error: Could not download $STYURL/$sty"
+ exit 204
+ fi
+done
+#if ! (wget -q $EITSCR -O $FIXJAVA)
+#then
+# echo "Error: Could not download $FIXJAVE"
+# exit 205
+#fi
+echo "Done."
+
+echo -n "Unpacking the source ..."
+if [ -e $ARCHIVE ]
+then
+ tar xzf $ARCHIVE
+
+ # Fix unnecessary execute permissions
+ find $DIR/src ! -type d | xargs -i chmod -x \{\}
+
+ # Fix unnecessary execute permissions
+ find $DIR/texmf ! -type d | xargs -i chmod -x \{\}
+else
+ echo "Error: $ARCHIVE not found"
+ exit 211
+fi
+
+if [ -e tex4ht-lit.zip ]
+then
+ if type -path unzip
+ then
+ unzip -d $DIR/lit -aqq tex4ht-lit.zip
+ else
+ 7z x -o$DIR/lit -tzip -y tex4ht-lit.zip
+ fi
+ mv $STYFILES $NEWS $CHANGELOGS $DIR/lit
+
+ # Fix unnecessary execute permissions
+ find $DIR/lit ! -type d | xargs -i chmod -x \{\}
+else
+ echo "Error: tex4ht-lit.zip not found"
+ echo 212
+fi
+#mv $FIXJAVA $DIR/src
+chmod +x $DIR/src/$FIXJAVA
+echo "Done."
+
+echo -n "Creating the new orig.tar.gz..."
+mv $DIR tex4ht-${VERSION}.orig
+GZIP="--best --rsyncable" tar czf $OLDIR/../tex4ht_${VERSION}.orig.tar.gz tex4ht-${VERSION}.orig
+#tar czf $OLDIR/../tex4ht_${VERSION}.orig.tar.gz ${DIR}
+echo "Done."
+
+echo "Cleaning up ..."
+cd $OLDIR
+rm -rf $TMPDIR
+echo "Done."
+
+echo "New original sources are at ../tex4ht_${VERSION}.orig.tar.gz".
+
+exit 0
+
--- tex4ht-20090611.orig/debian/tex4ht.install
+++ tex4ht-20090611/debian/tex4ht.install
@@ -0,0 +1,12 @@
+tmp/usr/bin/* /usr/bin/
+tmp/usr/share/man /usr/share/
+tmp/usr/share/tex4ht /usr/share/
+tmp/etc/tex4ht /etc/
+OLDNEWS.Debian /usr/share/doc/tex4ht/
+README.Debian /usr/share/doc/tex4ht/
+README.kpathsea /usr/share/doc/tex4ht/
+README.scripts /usr/share/doc/tex4ht/
+README.Debian-source /usr/share/doc/tex4ht/
+README.validate /usr/share/doc/tex4ht/
+doc/* /usr/share/doc/tex4ht/
+html/* /usr/share/doc/tex4ht/html/
--- tex4ht-20090611.orig/debian/tex4ht-common.install
+++ tex4ht-20090611/debian/tex4ht-common.install
@@ -0,0 +1,2 @@
+tmp/usr/share/* /usr/share/
+tmp/etc/texmf /etc/
--- tex4ht-20090611.orig/debian/tex4ht-common.preinst
+++ tex4ht-20090611/debian/tex4ht-common.preinst
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+set -e
+
+LASTVERSION="20060913-1"
+
+# Snippet taken from http://wiki.debian.org/DpkgConffileHandling
+#
+# Move a conffile without triggering a dpkg question
+pre_mv_conffile() {
+ PKGNAME="$1"
+ CONFFILE="$2"
+
+ if [ -e "$CONFFILE" ]; then
+ md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`"
+ old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`"
+ if [ "$md5sum" = "$old_md5sum" ]; then
+ echo "Removing obsolete conffile $CONFFILE ..."
+ rm -f "$CONFFILE"
+ fi
+ fi
+}
+
+case "$1" in
+install|upgrade)
+ if dpkg --compare-versions "$2" le "$LASTVERSION"; then
+ pre_mv_conffile tex4ht-common "/etc/texmf/texmf.d/90tex4ht.cnf"
+ fi
+esac
+#
+
+#DEBHELPER#
--- tex4ht-20090611.orig/debian/rules
+++ tex4ht-20090611/debian/rules
@@ -0,0 +1,196 @@
+#!/usr/bin/make -f
+# Made with the aid of dh_make, by Craig Small
+# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
+# Some lines taken from debmake, by Cristoph Lameter.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# QUILT_PATCH_DIR: where the patches live
+QUILT_PATCH_DIR=debian/patches
+
+get-orig-source:
+ dh_testdir
+ chmod +x debian/update_src.sh
+ debian/update_src.sh
+
+patch: patched-stamp
+
+patched-stamp:
+ # quilt exits with 2 as return when there was nothing to do.
+ # That's not an error here (but it's usefull to break loops in crude scripts)
+ QUILT_PATCHES=$(QUILT_PATCH_DIR) quilt push -a || test $$? = 2
+ touch patched-stamp
+
+#build: build-arch build-indep
+
+build-arch: build-arch-stamp
+build-arch-stamp: patched-stamp
+ dh_testdir
+
+ $(MAKE) -C src arch
+
+ touch build-arch-stamp
+
+build-indep: build-indep-stamp
+build-indep-stamp: patched-stamp
+ dh_testdir
+
+ $(MAKE) -C src indep
+
+ touch build-indep-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-arch-stamp build-indep-stamp install-arch-stamp install-indep-stamp
+
+ # Clean up after the build process.
+ [ ! -f src/Makefile ] || $(MAKE) -C src clean
+
+ # Clean up the Quilt stuff
+ QUILT_PATCHES=$(QUILT_PATCH_DIR) quilt pop -a -R || test $$? = 2
+ rm -rf .pc patched-stamp
+
+ # Remove .png files created out of uue files
+ rm -f debian/html/*.png
+
+ # Remove the index.html file for html documentation
+ rm -f debian/html/index.html
+
+ # Remove the changelogs and NEWS stuff
+ rm -rf debian/doc
+
+ # Remove the litbuild stuff
+ rm -rf dest
+ rm -rf debian/lit/*log
+
+ dh_clean
+
+install-arch: DH_OPTIONS=-a
+install-arch: install-arch-stamp
+install-arch-stamp: build-arch-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k -d
+
+ dh_installdirs -a
+
+ $(MAKE) -C src install-arch DESTDIR=`pwd`/debian/tmp
+ # Install documentation
+ (cd debian/images; for i in *.uue; do uudecode $$i; done; mv *.png ../html)
+ ln -sf tex4ht_doc.html debian/html/index.html
+ mkdir -p debian/doc
+ #(for i in bugfixes bugfixes2 bugfixes3 bugfixes4; do html2text -nobs -style compact -ascii -width 79 -o debian/doc/$$i.txt lit/$$i.html ; done)
+ cp -a lit/bugfixes*.txt debian/doc/
+ ln -sf bugfixes3.txt debian/doc/changelog
+ ln -sf bugfixes.txt debian/doc/NEWS
+
+ dh_install --sourcedir=debian -a
+
+ touch install-arch-stamp
+
+install-indep: DH_OPTIONS=-i
+install-indep: install-indep-stamp
+install-indep-stamp: build-indep-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k -d
+
+ dh_installdirs -i
+
+ # Add here commands to install the package into debian/tmp.
+ $(MAKE) -C src install-indep DESTDIR=`pwd`/debian/tmp
+ install -d debian/tmp/etc/texmf/texmf.d
+ install -m 644 src/80tex4ht.cnf debian/tmp/etc/texmf/texmf.d/
+
+
+ # Setup links
+ install -d debian/tmp/usr/share/texmf/tex4ht
+ ln -sf /etc/tex4ht/tex4ht.env debian/tmp/usr/share/texmf/tex4ht/
+
+ dh_install --sourcedir=debian -i
+
+ touch install-indep-stamp
+
+binary: binary-arch binary-indep
+
+# Build architecture-independent files here.
+binary-indep: build-indep install-indep
+# We have nothing to do by default.
+# dh_testversion -i
+ dh_testdir -i
+ dh_testroot -i
+ dh_installdocs -i
+# dh_installexamples -i
+# dh_installmenu -i
+ dh_installchangelogs -i
+ dh_compress --exclude=test --exclude=demo --exclude=.png -i
+ dh_fixperms -i
+# dh_suidregister -i
+ dh_installdeb -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build-arch install-arch
+# dh_testversion -a
+ dh_testdir -a
+ dh_testroot -a
+ dh_installdocs -a
+# dh_installexamples -a
+# dh_installmenu -a
+# dh_installinit -a
+# dh_installcron -a
+# dh_installmanpages -a
+ dh_installchangelogs -a
+ dh_strip -a
+ dh_compress --exclude=test --exclude=demo --exclude=.png -a
+ dh_fixperms -a
+# dh_suidregister -a
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+# dh_makeshlibs -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+source diff:
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+litbuild: clean
+ dh_testdir
+
+ # Apply some patches to lit/
+ QUILT_PATCHES=debian/lit/patches quilt push -a || test $?=2
+
+# If the LITK variable is defined the avoid bootstrap
+ifdef LITK
+ debian/lit/rebuild.sh -k | tee -a debian/lit/litbuild.log
+else
+ debian/lit/rebuild.sh | tee -a debian/lit/litbuild.log
+endif
+
+ # Reverse the patches to lit/
+ QUILT_PATCHES=debian/lit/patches quilt pop -a || test $?=2
+ rm -rf .pc
+
+ # Diff ignore regular expression matching date strings
+ # also ignore the exit level 1 indicating that differences are found
+ -diff -ur -B -b -I '[[:space:]]*%.*' \
+ -I '.*[^0-9][0-9]\{4\}-[0-9][0-9]-[0-9][0-9][^0-9].*' \
+ texmf/ dest/texmf/ > debian/lit/texmf.diff.log
+ -diff -ur -B -b \
+ -I '.*[^0-9][0-9]\{4\}-[0-9][0-9]-[0-9][0-9][^0-9].*' \
+ src/ dest/src/ > debian/lit/src.diff.log
+ -diff -ur -B -b \
+ -I '.*[^0-9][0-9]\{4\}-[0-9][0-9]-[0-9][0-9][^0-9].*' \
+ bin/unix/ dest/bin/unix/ > debian/lit/scripts.diff.log
+ @echo "Look in debian/lit/litbuild.log for a copy of the litbuild"
+ @echo "output. The significant differences are in .diff.log"
+ @echo "files the same directory. The documentation for the"
+ @echo "literate source is in dest/litdoc."
+
+.PHONY: build build-indep build-arch clean binary-indep binary-arch binary install-indep install-arch
+
--- tex4ht-20090611.orig/debian/tex4ht-common.postrm
+++ tex4ht-20090611/debian/tex4ht-common.postrm
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = remove ] ; then
+ command -v texhash > /dev/null 2>&1 && \
+ texhash /usr/share/texmf || true
+fi
+
+if [ "$1" = purge ] ; then
+ if command -v update-texmf > /dev/null 2>&1 ; then
+ update-texmf
+ fi
+fi
+
+#DEBHELPER#
--- tex4ht-20090611.orig/debian/html/tex4ht_doc.html
+++ tex4ht-20090611/debian/html/tex4ht_doc.html
@@ -0,0 +1,458 @@
+
+
+ A brief introduction to TeX4ht
+
+
+
+
+
+
+
+
+
+
+A BRIEF INTRODUCTION TO TEX4HT
+
+KAPIL HARI PARANJAPE
+
+
+
+
+
1. What do we have here?
+
What follows is a brief introduction to the TeX4ht system designed and currently
+maintained by Eitan M. Gurari. The source for this document is in the file
+tex4ht_doc.tex and can be processed using the command htlatex tex4ht_doc.tex
+as explained below. It is hoped that such processing will prove instructive as
+well.
+
2. Executive summary
+
TeX4ht is a system to convert TeX input into hypertext documents of different kinds.
+TeX4ht operates on input that is “standard” TEX or LATEX(but please check
+the last section for some differences). This input is processed by tex in the
+usual way except that certain additional macros are loaded which create some
+hooks in the output that can be used to produce the hypertext. The output is
+then post-processed by the program tex4ht which produces the hypertext.
+Auxiliary files such as .css files and image files are produced by the program
+t4ht.
+
Usage is simplified via the Perl script mk4ht which can be called directly to combine
+the above operations transparently. For example the source of this document can be
+processed using
+
+
+
+
+mk4ht htlatex tex4ht_doc.tex
+
+
+
This will produce tex4ht_doc.html and some supplementary files which is the HTML
+version of this documentation. Similarly,
+
+
+
+
+mk4ht xhmlatex tex4ht_doc.tex
+
+
+
will produce the XML version with MATH-ML and
+
+
+
+
+mk4ht mzlatex tex4ht_doc.tex
+
+
+
will produce MATH-ML which uses fonts that are rendered well via the “Gecko” engine
+of mozilla. Additional such commands are
+
+
+
+
+mk4ht oolatex tex4ht_doc.tex
+
+
+
to a format that can be read by OpenOffice and
+
+
+
+
+mk4ht dblatex tex4ht_doc.tex
+
+
+
for DocBook and
+
+
+
+
+mk4ht teilatex tex4ht_doc.tex
+
+
+
for TEI format XML output. The broad structure of the mk4ht command-line
+is
+
+
+
+
+mk4ht #1 #2 #3 #4 #5
+
+
The first argument is the type of conversion required. Using mk4ht without arguments
+lists the conversions available. The second argument is the name of the file that is to be
+processed. The third, fourth and fifth arguments are optional and are described is some
+detail below.
+
The rest of this document introduces the system in a little more detail. See [1] and [2]
+for authoritative information. In the first following section (Section 3) we examine the
+options for modifying the way in which TEX processes the source; specifically these
+can be thought of as options for the macros in tex4ht.sty. The next section
+(Section 4) deals with the post-processing that converts TEX’s output into hypertext.
+The final section (Section 5) shows how one can change the way the system
+generates the supplementary files like images and style-sheets for the hypertext
+output.
+
This document is assumes that the reader has some familiarity with the TEX and
+LATEX systems; see [3] and [4] for more information.
+
3. Options for Styles
+
Options for TEX and LATEX processing can be added as the first optional argument
+(#3 above) to the mk4ht command. For example, the command
+
+
+
+
In most cases this list of options begins with html or xhtml. Additional options available
+can be found by searching for the string --- Note --- at the start of a line in the
+resulting log file. For example
+
+
+
+
will list all the available options for html conversion.
+
When this list of options does not start with html or xhtml then the system looks for
+a file with the name given by the first option and the .cfg extension. The simplest use
+of this feature is as follows. Create a file called bgimage.cfg containing the
+lines
+
+
+
+
will add an additional line to tex4ht_doc.css incorporating the image
+background.png. See the main documentation [1] for more details on creating
+configuration files.
+
4. Post processing
+
The optional arguments #4 and #5 refer to options for the tex4ht and t4ht commands
+respectively. Both these commands make use of the configuration file tex4ht.env (which
+may be over-ridden by .tex4ht in the current directory or the user’s home directory).
+This configuration file is called the “environment file” in the main documentation [1] in
+order to avoid confusing it with the configuration file described in the previous
+section.
+
The program tex4ht has to look for “font descriptions” that describe how various
+non-standard glyphs are to be “rendered” in hypertext. The TeX4ht system provides a
+number of possibilities like using Unicode or fonts suited to the Gecko engine of the
+Mozilla browser and so on. So the command
+
+
+
+
The -c<tagname> option for tex4ht picks up the tagged section from the
+tex4ht.env environment file. Any other command-line option of tex4ht can also
+be used as part of #4 which is just a space separated list of options for this
+command.
+
5. Creating Supplementary Files
+
The final step of conversion is the creation of supplementary files like image files for
+formulae and equations like
+
+
+
which is the rendering of the LATEX input string
+
+
+
+
+\[ \frac{x^n-1}{x-1} = \sum_{i=0}^{n-1} x^i \]
+
+
+
In most cases such TEX constructions can only be rendered as images. The tex4ht
+program creates a series of instructions for the t4ht program in a .lg file. The latter
+carries out these instructions by making use of external programs like dvipng or
+convert to create these images. The most useful option in the argument list #5
+is -p which prevents images from being generated. Another useful option is
+-cvalidate which causes the net output to be validated using an external validation
+program such as xmllint. All the options in the argument list #5 are passed on
+t4ht.
+
6. Some difference between TeX4ht and TeX
+
We document some differences between the systems. For more up-to-date information
+please see the author’s documentation[1].
+
6.1. Regarding filenames.
+ In short, do not use special characters in your filenames; ideally stick with filenames
+which are composed of standard ASCII alphanumerics wherever possible. Some
+explanations follow.
+
TEX nowadays accepts files with names that contain all manner of characters and so
+it is natural to imagine that TeX4ht will do so to. However, one has to be concerned with
+the filenames used in output as well as those used for input. Since the latter will appear
+in URL’s that will appear within the hypertext using special characters will cause
+hyperlinks to break. Thus TeX4ht does not currently behave well if special characters are
+used in input file names.
+
6.2. Extra braces required.
+ In short, when in doubt enclosed sub- and super- scripts in braces if they are longer
+than a single character.
+
In this respect the syntax of the TeX language that is accepted by TeX4ht is stricter
+than that accepted by TEX and LATEX.
+
+
+
+
+
+
+
--- tex4ht-20090611.orig/debian/html/bg.cfg
+++ tex4ht-20090611/debian/html/bg.cfg
@@ -0,0 +1,4 @@
+\Preamble{html}
+\begin{document}
+ \Css{body { background-image : url(bgimage.png); background-repeat : repeat; }}
+\EndPreamble
--- tex4ht-20090611.orig/debian/html/tex4ht_doc.css
+++ tex4ht-20090611/debian/html/tex4ht_doc.css
@@ -0,0 +1,126 @@
+
+/* start css.sty */
+.cmr-7{font-size:70%;}
+.cmmi-7{font-size:70%;font-style: italic;}
+.cmmi-10{font-style: italic;}
+.cmsy-7{font-size:70%;}
+.cmr-8{font-size:80%;}
+.cmr-6{font-size:60%;}
+.cmbx-10{ font-weight: bold;}
+.cmtt-10{font-family: monospace;}
+.cmtt-10{font-family: monospace;}
+.cmti-10{ font-style: italic;}
+.cmtt-8{font-size:80%;font-family: monospace;}
+.cmtt-8{font-family: monospace;}
+p.noindent { text-indent: 0em }
+td p.noindent { text-indent: 0em; margin-top:0em; }
+p.nopar { text-indent: 0em; }
+p.indent{ text-indent: 1.5em }
+@media print {div.crosslinks {visibility:hidden;}}
+a img { border-top: 0; border-left: 0; border-right: 0; }
+center { margin-top:1em; margin-bottom:1em; }
+td center { margin-top:0em; margin-bottom:0em; }
+.Canvas { position:relative; }
+img.math{vertical-align:middle;}
+li p.indent { text-indent: 0em }
+.enumerate1 {list-style-type:decimal;}
+.enumerate2 {list-style-type:lower-alpha;}
+.enumerate3 {list-style-type:lower-roman;}
+.enumerate4 {list-style-type:upper-alpha;}
+div.newtheorem { margin-bottom: 2em; margin-top: 2em;}
+.obeylines-h,.obeylines-v {white-space: nowrap; }
+div.obeylines-v p { margin-top:0; margin-bottom:0; }
+.overline{ text-decoration:overline; }
+.overline img{ border-top: 1px solid black; }
+td.displaylines {text-align:center; white-space:nowrap;}
+.centerline {text-align:center;}
+.rightline {text-align:right;}
+div.verbatim {font-family: monospace; white-space: nowrap; }
+table.verbatim {width:100%;}
+.fbox {padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+div.fbox {display:table}
+div.center div.fbox {text-align:center; clear:both; padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+table.minipage{width:100%;}
+div.center, div.center div.center {text-align: center; margin-left:1em; margin-right:1em;}
+div.center div {text-align: left;}
+div.flushright, div.flushright div.flushright {text-align: right;}
+div.flushright div {text-align: left;}
+div.flushleft {text-align: left;}
+.underline{ text-decoration:underline; }
+.underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
+.framebox-c, .framebox-l, .framebox-r { padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+.framebox-c {text-align:center;}
+.framebox-l {text-align:left;}
+.framebox-r {text-align:right;}
+span.thank-mark{ vertical-align: super }
+span.footnote-mark sup.textsuperscript, span.footnote-mark a sup.textsuperscript{ font-size:80%; }
+div.tabular, div.center div.tabular {text-align: center; margin-top:0.5em; margin-bottom:0.5em; }
+table.tabular td p{margin-top:0em;}
+table.tabular {margin-left: auto; margin-right: auto;}
+div.td00{ margin-left:0pt; margin-right:0pt; }
+div.td01{ margin-left:0pt; margin-right:5pt; }
+div.td10{ margin-left:5pt; margin-right:0pt; }
+div.td11{ margin-left:5pt; margin-right:5pt; }
+table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; }
+td.td00{ padding-left:0pt; padding-right:0pt; }
+td.td01{ padding-left:0pt; padding-right:5pt; }
+td.td10{ padding-left:5pt; padding-right:0pt; }
+td.td11{ padding-left:5pt; padding-right:5pt; }
+table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; }
+.hline hr, .cline hr{ height : 1px; margin:0px; }
+.tabbing-right {text-align:right;}
+span.TEX {letter-spacing: -0.125em; }
+span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;}
+a span.TEX span.E {text-decoration: none; }
+span.LATEX span.A{ position:relative; top:-0.5ex; left:-0.4em; font-size:85%;}
+span.LATEX span.TEX{ position:relative; left: -0.4em; }
+div.float img, div.float .caption {text-align:center;}
+div.figure img, div.figure .caption {text-align:center;}
+.marginpar {width:20%; float:right; text-align:left; margin-left:auto; margin-top:0.5em; font-size:85%; text-decoration:underline;}
+.marginpar p{margin-top:0.4em; margin-bottom:0.4em;}
+table.equation {width:100%;}
+.equation td{text-align:center; }
+td.equation { margin-top:1em; margin-bottom:1em; }
+td.equation-label { width:5%; text-align:center; }
+td.eqnarray4 { width:5%; white-space: normal; }
+td.eqnarray2 { width:5%; }
+table.eqnarray-star, table.eqnarray {width:100%;}
+div.eqnarray{text-align:center;}
+div.array {text-align:center;}
+div.pmatrix {text-align:center;}
+table.pmatrix {width:100%;}
+span.pmatrix img{vertical-align:middle;}
+div.pmatrix {text-align:center;}
+table.pmatrix {width:100%;}
+img.cdots{vertical-align:middle;}
+span.footnote-mark{ vertical-align: super; font-size:80%; }
+div.submaketitle{ text-align:left; margin-top:2em; border-top: 1px solid black; border-bottom: 1px solid black; margin-left:5%; margin-right:5%; font-size:85%; line-height: 95%;}
+div.submaketitle div {margin-top:0.5em; margin-bottom:0.5em; }
+div.submaketitle p { margin-top:0em; margin-bottom:0em; }
+div.abstract{ margin-top: 2em; text-align:left; margin-right:15pt; margin-left:15pt; }
+div.addresses p {margin-top:0em; margin-bottom:0em; }
+h2.titleHead{text-align:center;}
+div.maketitle{ margin-bottom: 2em; text-align:center; }
+.caption td.id{font-weight: bold; white-space: nowrap; }
+table.caption {text-align:center;}
+p.bibitem { text-indent: -2em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; }
+p.bibitem-p { text-indent: 0em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; }
+.qed {width:2ex; float:right; text-align:right;}
+.partToc a, .partToc, .likepartToc a, .likepartToc {line-height: 200%; font-weight:bold; font-size:110%;}
+div.translators {text-align:right; margin-bottom:0.7em;}
+.sectionHead{text-align:center;}
+.equation td{text-align:center; }
+.equation-star td{text-align:center; }
+table.equation-star { width:100%; }
+table.equation { width:100%; }
+table.align, table.alignat, table.xalignat, table.xxalignat, table.flalign {width:100%; margin-left:5%; white-space: nowrap;}
+table.align-star, table.alignat-star, table.xalignat-star, table.flalign-star {margin-left:auto; margin-right:auto; white-space: nowrap;}
+td.align-label { width:5%; text-align:center; }
+td.align-odd { text-align:right; padding-right:0.3em;}
+td.align-even { text-align:left; padding-right:0.6em;}
+table.multline, table.multline-star {width:100%;}
+td.gather-star, td.gather1 {text-align:center; }
+table.gather, table.gather-star {width:100%;}
+body { background-image : url(bgimage.png); background-repeat : repeat; }
+/* end css.sty */
+
--- tex4ht-20090611.orig/debian/html/tex4ht_doc.tex
+++ tex4ht-20090611/debian/html/tex4ht_doc.tex
@@ -0,0 +1,238 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% tex4ht_doc.tex 2008-02-12-09:30 %
+% Copyright (C) 2005, 2008 Kapil H. Paranjape %
+% %
+% This work may be distributed and/or modified under the %
+% conditions of the General Public License, either %
+% version 2 of this license or (at your option) any %
+% later version. The latest version of this license is %
+% in %
+% http://www.gnu.org/gpl.txt %
+% and version 2 or later is part of all distributions %
+% of Debian. %
+% %
+% This Current Maintainer of this work %
+% is Kapil H. Paranjape. %
+% %
+% If you modify this work your changing its signature %
+% with a directive of the following form will be %
+% appreciated. %
+% kapil@imsc.res.in %
+% http://www.imsc.res.in/~kapil %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\documentclass{amsart}
+\usepackage{hyperref}
+\begin{document}
+\title{A brief introduction to TeX4ht}
+\author{Kapil Hari Paranjape}
+\maketitle
+
+\section{What do we have here?}
+What follows is a brief introduction to the TeX4ht system
+designed and currently maintained by Eitan M. Gurari. The source
+for this document is in the file \verb|tex4ht_doc.tex| and can
+be processed using the command \verb|htlatex tex4ht_doc.tex| as
+explained below. It is hoped that such processing will prove
+instructive as well.
+
+\section{Executive summary}
+TeX4ht is a system to convert TeX input into hypertext documents of
+different kinds. TeX4ht operates on input that is ``standard'' \TeX\ or
+\LaTeX (but please check the last section for some differences).
+This input is processed by \verb|tex| in the usual way except
+that certain additional macros are loaded which create some hooks in
+the output that can be used to produce the hypertext. The output is
+then post-processed by the program \verb|tex4ht| which produces the
+hypertext. Auxiliary files such as \verb|.css| files and image files
+are produced by the program \verb|t4ht|.
+
+Usage is simplified via the Perl script \verb|mk4ht| which can be called
+directly to combine the above operations transparently. For example the
+source of this document can be processed using
+\begin{verbatim}
+ mk4ht htlatex tex4ht_doc.tex
+\end{verbatim}
+This will produce \verb|tex4ht_doc.html| and some supplementary
+files which is the HTML version of this documentation. Similarly,
+\begin{verbatim}
+ mk4ht xhmlatex tex4ht_doc.tex
+\end{verbatim}
+will produce the XML version with MATH-ML and
+\begin{verbatim}
+ mk4ht mzlatex tex4ht_doc.tex
+\end{verbatim}
+will produce MATH-ML which uses fonts that are rendered well via the
+``Gecko'' engine of \verb|mozilla|. Additional such commands are
+\begin{verbatim}
+ mk4ht oolatex tex4ht_doc.tex
+\end{verbatim}
+to a format that can be read by \verb|OpenOffice| and
+\begin{verbatim}
+ mk4ht dblatex tex4ht_doc.tex
+\end{verbatim}
+for DocBook and
+\begin{verbatim}
+ mk4ht teilatex tex4ht_doc.tex
+\end{verbatim}
+for TEI format XML output.
+The broad structure of the \verb|mk4ht| command-line is
+\begin{verbatim}
+ mk4ht #1 #2 #3 #4 #5
+\end{verbatim}
+The first argument is the type of conversion required. Using
+\verb|mk4ht| without arguments lists the conversions available. The
+second argument is the name of the file that is to be processed. The
+third, fourth and fifth arguments are optional and are described
+is some detail below.
+
+The rest of this document introduces the system in a little more detail.
+See\ \cite{authdoc} and \cite{website} for authoritative information.
+In the first following section (Section~\ref{style}) we examine the
+options for modifying the way in which \TeX\ processes the source;
+specifically these can be thought of as options for the macros in
+\verb|tex4ht.sty|. The next section (Section~\ref{postproc}) deals
+with the post-processing that converts \TeX's output into hypertext.
+The final section (Section~\ref{supple}) shows how one can change the
+way the system generates the supplementary files like images and
+style-sheets for the hypertext output.
+
+This document is assumes that the reader has some familiarity with
+the \TeX\ and \LaTeX\ systems; see \cite{tex} and \cite{latex} for
+more information.
+
+\section{Options for Styles}\label{style}
+Options for \TeX\ and \LaTeX\ processing can be added as the first
+optional argument (\verb|#3| above) to the \verb|mk4ht| command. For
+example, the command
+\begin{verbatim}
+ mk4ht xhmlatex tex4ht_doc.tex
+\end{verbatim}
+is in fact similar\footnote{The differences lie in the font files
+chosen as described in section~\ref{postproc}} to the command
+\begin{verbatim}
+ mk4ht htlatex tex4ht_doc.tex "xhtml,mathml"
+\end{verbatim}
+Similarly,
+\begin{verbatim}
+ mk4ht oolatex tex4ht_doc.tex
+\end{verbatim}
+is in fact similar to the command
+\begin{verbatim}
+ mk4ht htlatex tex4ht_doc.tex "xhtml,ooffice"
+\end{verbatim}
+In most cases this list of options begins with \verb|html| or
+\verb|xhtml|. Additional options available can be found by searching
+for the string \verb|--- Note ---| at the start of a line in the
+resulting log file. For example
+\begin{verbatim}
+ mk4ht htlatex tex4ht_doc.tex
+ grep -A 1 '^--- Note ---' tex4ht_doc.log
+\end{verbatim}
+will list all the available options for \verb|html| conversion.
+
+When this list of options does not start with \verb|html| or
+\verb|xhtml| then the system looks for a file with the name given by
+the first option and the \verb|.cfg| extension. The simplest use of
+this feature is as follows. Create a file called \verb|bgimage.cfg|
+containing the lines
+\begin{verbatim}
+ \Preamble{html}
+ \begin{document}
+ \Css{BODY { background-image : url(background.png); }}
+ \EndPreamble
+\end{verbatim}
+After this
+\begin{verbatim}
+ mk4ht htlatex tex4ht_doc.tex "bgimage"
+\end{verbatim}
+will add an additional line to \verb|tex4ht_doc.css| incorporating
+the image \verb|background.png|. See the main documentation
+\cite{authdoc} for more details on creating configuration files.
+
+\section{Post processing}\label{postproc}
+The optional arguments \verb|#4| and \verb|#5| refer to options for
+the \verb|tex4ht| and \verb|t4ht| commands respectively. Both these
+commands make use of the configuration file \verb|tex4ht.env| (which
+may be over-ridden by \verb|.tex4ht| in the current directory or the
+user's home directory). This configuration file is called the
+``environment file'' in the main documentation \cite{authdoc} in
+order to avoid confusing it with the configuration file described in
+the previous section.
+
+The program \verb|tex4ht| has to look for ``font descriptions'' that
+describe how various non-standard glyphs are to be ``rendered'' in
+hypertext. The TeX4ht system provides a number of possibilities like
+using Unicode or fonts suited to the Gecko engine of the
+Mozilla browser and so on. So the command
+\begin{verbatim}
+ mk4ht mzlatex tex4ht_doc.tex
+\end{verbatim}
+is almost\footnote{There is an additional option as explained in
+section~\ref{supple} below.} equivalent to
+\begin{verbatim}
+ mk4ht htlatex tex4ht_doc.tex "xhtml,mozilla" "-cmozhtf"
+\end{verbatim}
+The \verb|-c| option for \verb|tex4ht| picks up the tagged
+section from the \verb|tex4ht.env| environment file. Any other
+command-line option of \verb|tex4ht| can also be used as part of
+\verb|#4| which is just a space separated list of options for this
+command.
+
+\section{Creating Supplementary Files}\label{supple}
+The final step of conversion is the creation of supplementary files
+like image files for formulae and equations like
+\[ \frac{x^n-1}{x-1} = \sum_{i=0}^{n-1} x^i \]
+which is the rendering of the \LaTeX\ input string
+\begin{verbatim}
+ \[ \frac{x^n-1}{x-1} = \sum_{i=0}^{n-1} x^i \]
+\end{verbatim}
+In most cases such \TeX\ constructions can only be rendered as
+images. The \verb|tex4ht| program creates a series of instructions
+for the \verb|t4ht| program in a \verb|.lg| file. The latter carries
+out these instructions by making use of external programs like
+\verb|dvipng| or \verb|convert| to create these images. The most
+useful option in the argument list \verb|#5| is \verb|-p| which
+prevents images from being generated. Another useful option is
+\verb|-cvalidate| which causes the net output to be validated using
+an external validation program such as \verb|xmllint|. All the
+options in the argument list \verb|#5| are passed on \verb|t4ht|.
+
+\section{Some difference between TeX4ht and TeX}
+We document some differences between the systems. For more up-to-date
+information please see the author's documentation\cite{authdoc}.
+
+\subsection{Regarding filenames}
+In short, do {\em not} use special characters in your filenames;
+ideally stick with filenames which are composed of standard ASCII
+alphanumerics wherever possible. Some explanations follow.
+
+\TeX\ nowadays accepts files with names that contain all manner of
+characters and so it is natural to imagine that TeX4ht will do so to.
+However, one has to be concerned with the filenames used in output as
+well as those used for input. Since the latter will appear in
+URL's that will appear within the hypertext using special characters
+will cause hyperlinks to break. Thus TeX4ht does not currently behave
+well if special characters are used in input file names.
+
+\subsection{Extra braces required}
+In short, when in doubt enclosed sub- and super- scripts in braces if
+they are longer than a single character.
+
+In this respect the syntax of the TeX language that is accepted by
+TeX4ht is stricter than that accepted by \TeX\ and \LaTeX.
+
+\begin{thebibliography}{00}
+\bibitem[1]{authdoc}
+\url{http://www.cse.ohio-state.edu/~gurari/mn.html}
+The authoritative documentation maintained by Eitan M. Gurari.
+\bibitem[2]{website}
+\url{http://www.cse.ohio-state.edu/~gurari}
+Eitan M.~Gurari's web page that discusses related projects.
+\bibitem[3]{tex}
+\url{http://www.tug.org/}
+The \TeX\ User's group primary web site.
+\bibitem[4]{latex}
+\url{http://www.latex-project.org/}
+The \LaTeX\ project's primary web site.
+\end{thebibliography}
+\end{document}
--- tex4ht-20090611.orig/debian/html/tex4ht_doc3.html
+++ tex4ht-20090611/debian/html/tex4ht_doc3.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
2There is an additional option as explained in section5below.