[Top][All Lists]

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

Re: Section number increments

From: Stepan Kasal
Subject: Re: Section number increments
Date: Fri, 20 Feb 2004 10:01:27 +0100
User-agent: Mutt/1.4.1i

  the TeX problem (see below) is fixed by the patch
attached to this mail.

Karl, will you please apply it?

Some technical details about the patch:

It could break cross references in pdf output, but it was broken anyway.
The code in texinfo.tex didn't take into account that numbered and
unnumbered sectioning could be mixed.
To get the pdf cross references right, it's necessary to re-design
the "section counting" from scratch, IMHO.

I have a question about this issue: are "@heading" etc. (the last column
in the table in "(texinfo)Structuring Command Types") just presentation
macros which don't affect the document structure, or not?

In other words, what if I do this:

Does the second @subsubsection have number, or again ?

The programs (makeinfo & texinfo) give, while the wording of the
manual seems to indicate the later of the two possibilities.

I guess we all agree that having 18 sectioning commands is too much, but
it's too late to nuke some of them.

Thank you in advance for your comments.


On Thu, Feb 19, 2004 at 09:30:45PM +0100, Jesper Harder wrote:
> @chapter Chapter 1
> @section Section 1.1
> @subsection Subsection 1.1.1
> @subsubsection Subsubsection
> @subsubheading Subsubheading
> @unnumberedsubsubsec unnumberedsubsubsec 
> @subsubsection Surprise
> produces:
> 1 Chapter 1
> 1.1 Section 1.1
> 1.1.1 Subsection 1.1.1
> Subsubsection
> Subsubheading
> unnumberedsubsubsec
> Surprise
> I would have expected the last section number to be
> With TeX the last number is -- it appears that @subsubheading
> doesn't increment the counter in TeX but that @unnumberedsubsubsec
> does.

Attachment: texinfo-unnum-fix.patch
Description: Text document

reply via email to

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