bug-texinfo
[Top][All Lists]
Advanced

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

Re: Problem with TOC links


From: Karl Berry
Subject: Re: Problem with TOC links
Date: Wed, 7 Jan 2004 14:07:33 -0500

Hi Phil,

Now I understand better.  You were talking about @node at the source
level.  Ignore my reference to split output, that's another story.

Anyway, from what I can gather, what you need to do is have an @node for
each @section.  This is the usual way to use Texinfo.  Thus:

@node sec1
@section sec1
...
@node sec2
@section sec2
...

Although it's possible, as you've found out, to have @section without
@node, and is even occasionally useful, it won't give the right results
for a typical document.

FYI, your division of the source document into multiple files is fine,
and is not affecting anything.  You'd be getting the same results if you
wrote everything in one file.

Hope this helps.  Let me know if you're still stymied.

karl


Date: 07 Jan 2004 18:50:01 +0000
From: Phil Sladen <address@hidden>
To: Karl Berry <address@hidden>
Subject: Re: Problem with TOC links

Hi Karl,

Thanks for getting back.

I had already downloaded 4.6 and should have been using it. However, the
result is the same.

I don't understand what you mean by "split output"? I have a few
different nodes, each in its own file, but all included into a main
.texinfo file with @include's. Each node contains a number of @section's
which appear in the TOC, but the hyperlinks on each one in the TOC only
ever point to the top of the node file. How can I arrange for the
section hyperlinks in the TOC to point to the sections themselves. I
realize that the @section's would have to have anchors placed by them
somehow?

Sorry, I'm a complete beginner at Texinfo. Your help is much
appreciated.

Phil




reply via email to

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