bug-texinfo
[Top][All Lists]
Advanced

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

Re: @heading unaffected by @lowersections


From: Gavin Smith
Subject: Re: @heading unaffected by @lowersections
Date: Thu, 1 Oct 2015 17:57:23 +0100

On 30 September 2015 at 23:32, Quinn Grier <address@hidden> wrote:
> @heading and friends are unaffected by @lowersections. One would expect
> the following to output Foo and Bar at the same sectioning level, as is
> the case without the @lowersections command:
>
>       \input texinfo
>       @setfilename test.info
>       @settitle test
>       @lowersections
>       @section Foo
>       @heading Bar
>       @bye
>
> However, Bar is output one level higher than Foo. This is easy to see in
> the HTML produced by texi2any --html --no-split, where Foo uses <h4> and
> Bar uses <h3>. This happens with texi2any (GNU texinfo) 6.0 and 5.2, but
> it seems to work properly on an older makeinfo (GNU texinfo) 4.13.

FWIW here are the results I got:

This is test.info, produced by makeinfo version 6.0dev from
lowersections.texi.

1 Foo
-----

Bar
===

and

This is lowersections.info, produced by makeinfo version 4.13 from
lowersections.texi.

0.0.1 Foo
---------

Bar
---

Ignoring the numbering of the section, @section and @heading are
supposed to have the same heading level, but in the newer version they
are different. I agree that this is a bug.



reply via email to

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