[Top][All Lists]

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

Re: HTML output cross-reference link bug

From: Simon Josefsson
Subject: Re: HTML output cross-reference link bug
Date: Fri, 24 Apr 2009 10:31:03 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.92 (gnu/linux)

address@hidden (Karl Berry) writes:

> Hi Simon,
> I'm not entirely sure offhand what's happening, but as for:

Hi Karl.  I ran into this problem again today, and would like to help
fix it.  Again, the problem is that makeinfo generates broken references
internally in documents, e.g. on:


Click on the first link in the text, i.e., gnutls_priority_init.

The links goes to:


However, there is no A NAME for that.  Looking at the HTML code on the
second page, it looks like this:

<p><a name="gnutls_005fpriority_005finit"></a>

Note that this is in the same manual!  There is no cross-reference to
another info manual.

>     Ideas on how to solve this?
> 1) Does texi2html do the right thing?

Yes it does.  The cross-reference 'a name' is the same as makeinfo
generates, but texi2html generates the proper 'a href' link.

However, gendocs.sh in gnulib uses makeinfo --html by default, and I'd
prefer to use a GNU tool if there is one available.  So I would prefer
to not use texi2html.

> 2) Post-process the output with a script.  (I do this in other cases for
>    various manuals.)
> Either of those will be a more practical fix than worrying about
> makeinfo.

I don't follow this -- this looks like a clear bug to me, the makeinfo
output is not self-consistent.


reply via email to

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