groff
[Top][All Lists]
Advanced

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

Re: [Groff] Title bug with grohtml


From: Gaius Mulley
Subject: Re: [Groff] Title bug with grohtml
Date: 01 Dec 2004 21:34:06 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Robert Goulding <address@hidden> writes:

> Using the latest CVS, titles include the whole text of the file.
> Minimal -ms file to demonstrate this:
> 
> .TL
> This is the title
> .LP
> This is the text.
> See how it is contained in the title?

Hi Robert,

many thanks for the bug report and tiny example, here is a fix

Gaius


--- groff-cvs/tmac/s.tmac       2004-11-23 22:22:07.000000000 +0000
+++ groff-html/tmac/s.tmac      2004-12-01 21:17:44.006930778 +0000
@@ -179,7 +179,6 @@
 .ll (u;\\n[LL]*5/6)
 .nr cov*n-au 0
 .HTML-TAG-NS ".tl"
-.nr need_eo_tl 1
 ..
 .de @AU
 address@hidden
@@ -381,7 +380,10 @@
 .rs
 .sp 3
 .ce 9999
-.if d cov*tl-div .cov*tl-div
+.if d cov*tl-div \{\
+.    cov*tl-div
+.    HTML-TAG-NS ".eo.tl"
+.\}
 .nr cov*i 1
 .nr cov*sp 1v
 .while \\n[cov*i]<=\\n[cov*n-au] \{\




reply via email to

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