bug-texinfo
[Top][All Lists]
Advanced

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

Re: makeinfo puts html anchors in the wrong place


From: Patrice Dumas
Subject: Re: makeinfo puts html anchors in the wrong place
Date: Sun, 27 Jun 2010 20:10:02 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Sat, Jun 26, 2010 at 10:40:36PM -0700, Jeffrey Yasskin wrote:
> For example, 
> http://www.gnu.org/software/hello/manual/texinfo/makeinfo-options.html#index-g_t_002d_002ddisable_002dencoding-1217
> links two lines below the "--disable-encoding" heading, to the top of
> its definition. You should either stick the "<a
> name="index-g_t_002d_002ddisable_002dencoding-1217"></a>" around the
> "--disable-encoding" string, or add an
> id="index-g_t_002d_002ddisable_002dencoding-1217" attribute to the
> <dt> that already surrounds it.

This is not an issue in the code, but it follows the manual. Indeed, 
the corresponding texinfo is:

@item --disable-encoding
@itemx --enable-encoding
@opindex --disable-encoding
@opindex --enable-encoding
By default, or with @option{--enable-encoding}, output accented and
...

Therefore, the @opindex is really in the definition part. I checked
that both makeinfo and texi2html put the anchor in the dt part in 
@vtable and @ftable.

-- 
Pat



reply via email to

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