[l2h] pdflatex and \usepackage{html} interaction ?

Ian Thurlbeck Ian Thurlbeck <ian@stams.strath.ac.uk>
Tue, 18 Jan 2000 15:31:21 +0000

Dear Converters

We have started generating PDF docs using the "pdflatex"
program in the recent TeX distros.  Without \usepackage{html}
pdflatex produces a good PDF file.  When you use \usepackage{html}
then the PDF file (when viewed in Acroreader) has an empty "Bookmarks"
(contents page) sub-window alongside the main document window. 
This window is confusing to our users and un-wanted. Does anyone know
how to suppress it?

I have noticed that the auxilary file .aux has the following lines in
it when using the html package:

\global \let \oldcontentsline\contentsline
\gdef \contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}}
\AtEndDocument{\let \contentsline\oldcontentsline

These are missing when you don't use the html package.  I guess
these are helping to create the empty Bookmarks section.

Any suggestions?

I'm running latex2html-99.2alpha9 and tetex-1.0.6 on Solaris 2.6
Does same thing on latex2html-99.2beta6 on Linux RH6.1 (2.2.14)

Many thanks


Ian Thurlbeck                http://www.stams.strath.ac.uk/
Statistics and Modelling Science, University of Strathclyde
Livingstone Tower, 26 Richmond Street, Glasgow, UK,  G1 1XH
Tel: +44 (0)141 548 3667           Fax: +44 (0)141 552 2079