groff
[Top][All Lists]
Advanced

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

Re: [Groff] Title bug with grohtml


From: Robert Goulding
Subject: Re: [Groff] Title bug with grohtml
Date: Thu, 2 Dec 2004 10:26:00 -0500

On Dec 1, 2004, at 4:34 PM, Gaius Mulley wrote:

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

This patch *nearly* does it.  Here is a minimal file:

.TL
This is the title
.LP
This is the text.
Is it going to come out right?

which has the html output:

<!-- Creator     : groff version 1.19.2 -->
<!-- CreationDate: Thu Dec  2 10:21:40 2004 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<title>This is the title</title>

</head>
<body>

<h1 align=center>This is the title</h1>

<hr>


<p align=center>This is the text. Is it going to come out
right?</p>
<hr>
</body>
</html>


Note the spurious align=center at the beginning of the first paragraph.

Robert.





reply via email to

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