texi2html-bug
[Top][All Lists]
Advanced

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

Re: [Texi2html-bug] Footnote formatting


From: Reinhold Kainhofer
Subject: Re: [Texi2html-bug] Footnote formatting
Date: Sun, 24 Aug 2008 18:25:08 +0200
User-agent: KMail/1.9.9

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Sonntag, 24. August 2008 schrieb Reinhold Kainhofer:
> Rather, I would like to give you feedback on the footnote handling of
> texi2html:
[...]
4) If there is a macro in the footnote text, which generates @address@hidden 
html 
code, then the footnote shows some spurious line breaks and the <p>..</p> 
will be inserted only around the second line of the footnote. 

Attached is a minimal sample file, no .init file required. The relevant 
texinfo code is:

@macro q{TEXT}
@html
&lsquo;\TEXT\&rsquo;
@end html
@end macro

@c The footnote in this paragraph shows the linebreak like in the .texi file
@c which is clearly wrong. There is no linebreak in texinfo!
contexte de Voix @address@hidden context} en
anglais, ...}, alors ...


This creates HTML wrong code that looks like:

<h3>Footnotes</h3>
<h3><a name="FOOT1" href="#DOCF1">(1)</a></h3>
&lsquo;Voice context&rsquo; en
<p>anglais, ...
</p>

As you can see, the <p> is NOT inserted before the &lsquo;, but at the 
position where the line break in the .texi file appears.

Cheers,
Reinhold
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIsYtoTqjEwhXvPN0RArtEAKCvGUda3sVUnBoaRB1OVW5MvEyvJQCfT8bX
u6rIw/gLwCqlUB3Hqcnzg20=
=ktSO
-----END PGP SIGNATURE-----

Attachment: texi2html_footnote_messedup_linebreak.texi
Description: Text document


reply via email to

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