texinfo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: css classes for special headings


From: Patrice Dumas
Subject: Re: css classes for special headings
Date: Thu, 3 Nov 2011 00:02:27 +0100
User-agent: Mutt/1.4.2.2i

On Wed, Nov 02, 2011 at 10:20:30PM +0000, Karl Berry wrote:
>      h1 output when footnotestyle is separate.
> 
> Surely footnotes should never be introduced by an <h1> -- they are
> subsidiary by definition.  Maybe they should be one less h-level than
> the current sectioning level?

Well, in that case footnotes are in a special element, so the heading
level is that of the special elements, which is indeed h1 when in
texi2html mode and h2 in the default case (as we discussed shortly before).
But I see your point, indeed.

One less level than the current sectioning level could make sense for
footnotes when footnotestyle is end, but not when it is separate, as
there is no such thing as the current sectioning level when it is separate, 
as all the footnotes are grouped together.

Since MAX_HEADER_LEVEL = 4, the footnote would be h3 for @top and @chapter
level, and h4 for anything else.

I could give it a try.

-- 
Pat



reply via email to

[Prev in Thread] Current Thread [Next in Thread]