Links in HTML within a page ("anchor links" in html) don't point to the right place. Using the input below, I get an index.html which contains links to:
  1.1 "link me" ->
     file:///home/gperciva/tmp/texinfo/link-html/chapter.html#chapter
  "link me two" ->
     file:///home/gperciva/tmp/texinfo/link-html/chapter.html#chapter

However, the @anchor{} command in the input expands to
        <a name="link-me-two"></a>
so if "link me two" produced a link to
.../chapter.html#link-me-two

then that link should work. It would be nice if the @section command also produced such an anchor tag.

Cheers,
- Graham Percival, LilyPond Documentation Editor

PS I realize that normally one would preface these commands with @node, but after much user consultation we decided to split the lilypond manual HTML into chapter/sections, but not subsections. I'm therefore trying to replace all @node/@subsection commands with @anchor/@unnumberedsubsubsec commands



\input texinfo   @c -*-texinfo-*-
@node Top
@top link html

@menu
* chapter::
@end menu

@contents

@node chapter
@chapter chapter

@section link me

blah

@anchor{link me two}
@unnumberedsec link me two

blah blah

@bye


Reply via email to