[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a fix in HTML output
From: |
Patrice Dumas |
Subject: |
Re: a fix in HTML output |
Date: |
Sun, 5 Aug 2012 11:27:50 +0200 |
User-agent: |
Mutt/1.5.20 (2009-12-10) |
On Fri, Aug 03, 2012 at 12:50:27AM +0200, Nikos Mavrogiannopoulos wrote:
> I had two issues in the HTML output of makeinfo (from cvs).
>
> 1. The caption of a float was not included in the same <div> as the
> float itself. This had the effect, that if the float was centered the
> caption text was left aligned, making it a mess. A fix is attached.
Thanks, I commited it and added a div float-caption for the caption
itself.
> 2. When referring to floats, makeinfo adds a link to the float, but the
> text on the link has the node/anchor name instead of the float name.
>
> For example the following texinfo code:
>
> @ref{fig:tls-layers}
>
> @float Figure,fig:tls-layers
> @image{gnutls-layers,12cm}
> @caption{The TLS protocol layers.}
> @end float
>
> results to a float that is called "Figure 3.2". I'd expect references to
> it to use the "Figure 3.2" name, but instead the fig:tls-layers is used
> in the html code below.
In Info, the float name is added as a label, but not in HTML. The
problem I see is that the float label would completly disappear. Some
users may want to keep the float label information. Maybe use, in
analogy, float type and number if @xrefautomaticsectiontitle is on?
Or add something like
@xrefautomaticfloatname on/off
Opinions?
In any case, I'll implement using the float type and number as the href
text even if it is only set by a customization variable.
--
Pat