[l2h] Wrong TITLEs in frames' *_tf.html files, any fix available?
Chris Fox
Chris Fox <C.Fox@gold.ac.uk>
Sun, 16 May 1999 17:40:08 +0100
Note, this is also a problem with frame.pl in v99.1, and does not
appear to have been corrected in the development version. However,
to answer my own question; with a bit of brute-force debugging,
I think I have found the fix: line number 721 in version/frame.pl
should be changed from:
$_ = &make_head_and_body($indexname, $MAIN_COLOR, $toc_frameset . $tocframe);
to
$_ = &make_head_and_body($title, $MAIN_COLOR, $toc_frameset . $tocframe);
That is, in the penultimate occurrence of make_head_and_body, the first argument should be $title, and not $indexname. This fixes the 4 frame
view TITLE problem for me.
I have not tested this fix with a document that has an index.
Chris
On Sat, 15 May 1999 21:27:19 BST, Chris Fox wrote:
>
>Using frames.perl in latex2html 99.1 I notice that the TITLE
>attribute in the *_tf.html files are always set to the root name of
>the latex source file, which is not the normal latex2html behaviour,
>where the value of TITLE is either based on the arguments of \title
>and \(sub)section commands, or is set by the -t option or the value
>of $TITLE.
>
>This means that the title is not very helpful when using the 4 frame
>view---where the table of contents is in the left frame---although it
>is fine when using the 3 frame view.
>
>I suspect there is a call to `make_head_and_body' in frame.perl that
>has the wrong argument, but my Perl is not good enough to find it.
>
>Anybody got a fix for this?
>
>Chris
>
>P.S. Apologies for any duplicate messages; I originally sent this to
>the old latex2html list.
--
Dr. Chris Fox, Dept. of Mathematical & Computing Sciences, Goldsmiths
College, New Cross, London SE14 6NW, UK. Email: C.Fox@gold.ac.uk
http://homepages.gold.ac.uk/chris/ Tel/Fax: +44(0)171 919 7856/7853