At 10:44 AM -0400 4/20/98, Robert Donahue wrote:
> Wow - things are really shaping up (thanks to a lot of helpful e-mail).
>
> I've found another oddball thing: One of my titles has a footnote in
>it. The footnote processes just fine (but see below), BUT it has
>the effect that it messes up the navigation labels. Attend:
>
>Here's the LaTeX:
>
>\title{Activity Cycles in Lower Main Sequence
> and Post Main Sequence Stars: The HK Project\footnotemark
>}
>\footnotetext{Based on observations from
>Mount Wilson Observatory, operated by the Mount Wilson Institute
>under an agreement with the Carnegie Institution of Washington.
>}
This is incorrect LaTeX.
To get footnotes in titles you use \thanks as part of the title:
\title{Activity Cycles in Lower Main Sequence
and Post Main Sequence Stars: The HK Project\thanks{%
Based on observations from
Mount Wilson Observatory, operated by the Mount Wilson Institute
under an agreement with the Carnegie Institution of Washington.
}}
This works in LaTeX2HTML too.
>but this results in navigation labels of (for example, using node4.html):
>
><B> Next:</B> <A NAME="tex2html288"
> HREF="baliuns1-node5.html">5. Dynamo Implications</A>
><B> Up:</B> <A NAME="tex2html286"
> HREF="baliuns1.html">Activity Cycles in Lower Project</SUP></A>
><B> Previous:</B> <A NAME="tex2html280"
> HREF="baliuns1-node3.html">3. Magnetic Activity of</A>
>
>First, there's that pesky </SUP> in there, and even without a <SUP>
>to match it, it has the effect (in Netscape 3) of acting like a <SUB>! :-)
The bad </SUP> tag problem is indeed symptomatic of an error.
It is related to the variable:
$WORDS_IN_NAVIGATION_PANEL_TITLES
>Second, the titles are getting truncated... Can someone identify
>what's getting called where so that I can tweak it? I'd really
...which is set to 4 by default.
I've fixed the error now, as you can see from:
http://www-texdev.mpce.mq.edu.au/DONAHUE/robtest2/
><br><B> Next:</B> <A NAME="tex2html288"
> HREF="baliuns1-node5.html">5. Dynamo Implications</A>
><br><B> Up:</B> <A NAME="tex2html286"
> HREF="baliuns1.html">Activity Cycles in Lower Main Sequence
> and Post Main Sequence Stars: The HK Project</a>
><br><B> Previous:</B> <A NAME="tex2html280"
> HREF="baliuns1-node3.html">3. Magnetic Activity of Stars in the
> Solar Neighborhood </A>
>
>(i.e., the complete text of the sections).
When these fixes are available, you'll be able to set
$WORDS_IN_NAVIGATION_PANEL_TITLES = -1;
to get everything. (any negative number will do).
>Seems to me that I can hack this by just doing a
> $whatever =~ s/<SUP>.*<\/SUP>//;
>at the appropriate place... right? After all, the footnote
>should only appear in the Title where it is shown, and not every
>time the text is listed.
>
> Like I said - this is an oddball, but I need to correct for it.
It's done.
BTW, are you aware of the -no_footnode switch.
This puts footnotes at the bottom of the page on which they occur,
rather than on a separate page. This is often nicer.
Anything else ?
Oh yes --- those funny European-style units.
Try this Perl definition:
sub do_cmd_fm{local($_) = @_; s/^(\d+)//; join('', '.' ,$1, 'm', $_)}
You can see which piece is what; so for \finch you can have:
sub do_cmd_finch{local($_) = @_; s/^(\d+)//; join('', '.' ,$1, '"', $_)}
If you want a space after the unit, then its easy to see where to add it.
All the best,
Ross
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ross Moore email: [EMAIL PROTECTED]
Mathematics Department phone: +612 9850 8955
Macquarie University fax: +612 9850 8114
Sydney, NSW 2109 office: E7A-419
Australia WWW: http://www-math.mpce.mq.edu.au/~ross/
***************************
for the best in (La)TeX-nical typesetting and Web page production
join the TeX Users Group (TUG) --- browse at http://www.tug.org
<[EMAIL PROTECTED]>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~