bug-texinfo
[Top][All Lists]
Advanced

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

links in html within a page


From: Graham Percival
Subject: links in html within a page
Date: Tue, 18 Sep 2007 14:48:45 -0700
User-agent: Icedove 1.5.0.12 (X11/20070607)

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

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