[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
a fix in HTML output
From: |
Nikos Mavrogiannopoulos |
Subject: |
a fix in HTML output |
Date: |
Fri, 03 Aug 2012 00:50:27 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120624 Icedove/10.0.5 |
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.
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.
<a href="#fig_003atls_002dlayers">fig:tls-layers</a>
<div class="float"><a name="fig_003atls_002dlayers"></a>
<img src="gnutls-layers.png" alt="gnutls-layers">
<p><strong>Figure 3.1: </strong>The TLS protocol layers.</p></div>
regards,
Nikos
patch.txt
Description: Text document
- a fix in HTML output,
Nikos Mavrogiannopoulos <=