bug-texinfo
[Top][All Lists]
Advanced

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

makeinfo -number-sections does not work well with @raisesections


From: David Kastrup
Subject: makeinfo -number-sections does not work well with @raisesections
Date: Sun, 03 Apr 2005 02:24:35 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

To be exactly, sections will not be numbered if the document has the
structure

@raisesections
...
@section
...
@section
...

without a single @chapter.  This is a common occurence for files that
are compiled both as part of a larger document as well as standalone.

I currently work around this by having

@ifset rawfile
@node xxx
@chapter xxx
@raisesections
@end ifset
@ifclear rawfile
@node xxx
@section xxx
@end ifclear

instead of just

@ifset rawfile
@raisesections
@end ifset
@node xxx
@section xxx

but this is really quite ugly and unexpected.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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