groff
[Top][All Lists]
Advanced

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

Re: [Groff] grohtml: macro error: RP is not allowed after the first page


From: Anton Shterenlikht
Subject: Re: [Groff] grohtml: macro error: RP is not allowed after the first page has started
Date: Thu, 14 Apr 2016 13:29:36 +0100

> Do you otherwise find the output is OK?

I think I found the problem.
I cut down the document until the
html looked ok. The problem seems to
appear when I use XS/XE immediately after NH,
e.g.

rat> cat bad.1
.NH 1
A title
.XS
A title
.XE
.PP
Some text
rat> /usr/local/bin/groff -ms -Thtml bad.1 > bad.html
rat>

produces bad output:
http://eis.bris.ac.uk/~mexas/bad.html

whereas

rat> cat good.1
.NH 1
A title
.PP
Some text
.XS
A title
.XE
rat> /usr/local/bin/groff -ms -Thtml good.1 > good.html
rat>

produces correct html:

http://eis.bris.ac.uk/~mexas/good.html

Are restrictions on the placement of XS/XE documented
somewhere?

Thanks

Anton



reply via email to

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