Re: @unnumbered sections, FastBack and FastForward

Dumas Patrice <[email protected]> Mon, 3 Feb 2003 13:21:06 +0100
Newsgroups gmane.comp.tex.texi2html.devel
Message-ID <[email protected]>
Hi,

Some testing on that matter shows the following things:

1) node2up (or *{Up}) is broken too, as unnumbered sections and subsections
have their up button going to Top.

2) things aren't right for @unnumbered because $node2prev{$node} isn't
defined. It seems to me that makeinfo uses the information provided by
menus to to have the right node2prev in case of unnumbered stuff. I can't
see any other way, and I'll try to implement that too. It also seems to
me that node2up should be fixed that way. However it would mean putting
some handling of menus in first pass, as in second pass information about 
which node contains the menu is lost. All the menu handling cannot be made
in the first pass, though, as the href for the nodes aren't ready.

3) for unnumbered subsectionning the current Node2FastBack code won't work
as the FastBack button will be mapped to node2prev, instead of the beginning
of the chapter. A possible solution would be to try Node2FastBack(node2up)
until it succeeds or node2up returns 'Top' in which case node2prev of the 
upper node is chosen. Any other idea ?

Pat