bug-groff
[Top][All Lists]
Advanced

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

Re: groff -Thtml bug


From: Gaius Mulley
Subject: Re: groff -Thtml bug
Date: 23 Apr 2007 10:58:51 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

<address@hidden> writes:

> For the input file
> 
> ===== Demo =====
> .EQ
> delim $$
> .EN
> .TL
> Chain calculus in the geometries of types $A sub n$, $D sub n$, $E sub 6$,
> $E sub 7$, $E sub 8$
> 
> .NH
> A. Existence of chains
> .LP
> We shall talk about chains $x sub 0 * x sub 1 * ... * x sub l$
> (in some residually connected Buekenhout-Tits geometry satisfying
> a given diagram)
> ================
> 
> the command
> % groff -e -ms Demo > Demo.ps
> produces reasonable output.
> 
> But
> % groff -e -ms -Thtml Demo > Demo.html
> produces broken output, with the comma's in the title misplaced,
> and the formula images misplaced:
> ...
> <!-- Creator     : groff version 1.18.1.1 -->
> ...
> <h1 align=center>Chain calculus in the geometries of types , <img 
> src="grohtml-1956-1.png"></h1>
> <a href="#1. A. Existence of chains">1. A. Existence of chains</a><br>
> 
> <hr>
> 
> <p><i><img src="grohtml-1956-2.png"></i> <b>,
> ,<img src="grohtml-1956-3.png">
> ,<img src="grohtml-1956-4.png">
> <img src="grohtml-1956-5.png"></b></p>
> ...
> 
> [Yes, an old groff, maybe this was fixed already.]
> 
> Andries
> 

Hi Andries,

thanks for the bug report.  The bug in still present in the current
cvs, in fact the current cvs ignores any generated images in the .TL.
iirc this is because images are not allowed in-between title tags.

However a work around would be to use the .HTL macro to set the
text of the html title tag and then to produce a graphic title using
eqn.  Ie:

.EQ
delim $$
.EN
.HTL
Chain calculus
.LP
.HTML-IMAGE-LEFT
Chain calculus in the geometries of types $A sub n$, $D sub n$, $E sub
6$,
$E sub 7$, $E sub 8$
.HTML-IMAGE-END
etc

regards,
Gaius







reply via email to

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