I found what the problem was. My document had the top node declared
as:
@node Top
By looking at the code, it turns out the texinfo mode is very strict
about the name of the top node. It only accepts
@node top
with the "top" name all lowercase.
This was the cause of all my problems, after fixing it, everything
started working as expected.
It would be nice to modify the regexp to also match "Top" in addition
to "top", especially since the info documentation for texinfo uses the
capitalized version in all its examples.
Ovidiu
On Fri, 18 May 2001 23:42:39 -0700, Ovidiu Predescu <ovidiu(a)xemacs.org> wrote:
Hi,
I'm getting really frustrated by the way the texinfo mode works, and I
was wondering if it's only me that has these problems.
Essentially I try to use the texinfo mode to update all the nodes in
my document. The basic pattern I follow is to outline the general
structure of the document first, and then start working on each
individual chapter. Each chapter has its own sections, subsections and
so on. At the time of outlining the structure of the document I don't
necessarily know all the section names. So I find myself very often in
need for introducing a new section in between two others.
I'd like to use the texinfo mode to automatically update the node
pointers, using the texinfo-every-node-update and
texinfo-all-menus-update. However this seems to not work as
expected. For example it forgets to add pointers to the top node, and
sometimes even to the next or previous node. Even if I explicitly
write them, the next time I run the command it will remove them. So
what I ended up doing is not use the command altogether, and editing
the node pointers manually. Very unproductive!
Needless to say, when I run such a document file through makeinfo or
texinfo, I get tons of complains about missing node pointers. Anybody
else seeing this, or am I doing something stupid here?