>From gaius.mul...@southwales.ac.uk Thu Apr 14 20:37:49 2016
>
>I'd try changing it to:
>
>.if !'\*(.T'html' .na
>
>and also you could try:
>
>.if '\*(.T'html' .ll 20i
>.\" aweful hack I know
Doesn't make any difference, still
the white space between the last 2 words
in the longer headers is gon
Anton Shterenlikht writes:
>>From gaius.mul...@southwales.ac.uk Thu Apr 14 16:02:42 2016
>>
>>I wonder if it might be worth commenting out the .RP and see if html
>>generation works? It appears to be influencing the initial macros
>>which might be conflicting with html.
>
> Actually, after fixin
>From gaius.mul...@southwales.ac.uk Thu Apr 14 16:02:42 2016
>
>I wonder if it might be worth commenting out the .RP and see if html
>generation works? It appears to be influencing the initial macros
>which might be conflicting with html.
Actually, after fixing the .XS/.XE placement issue,
the ou
Anton Shterenlikht writes:
> I get this error:
>
> ./doc.1:4: macro error: RP is not allowed after the first page has started
>
> The command I invoke is:
>
> /usr/local/bin/groff -ept -ms -Thtml -P -Dhtmlimg -P -r -VV doc.ref > doc.html
>
> where doc.ref is the file after processing with soelim
Hi Anton,
> Are restrictions on the placement of XS/XE documented somewhere?
I suspect this is more that you've found a bug. :-)
Cheers, Ralph.
> 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 >
>From ra...@inputplus.co.uk Thu Apr 14 12:50:29 2016
>
>I suspect the error can be ignored the two times it appears for you.
Ralph, thank you for a detailed analysis.
>Do you otherwise find the output is OK?
no, not at all:
http://eis.bris.ac.uk/~mexas/doc.html
I have other errors and warnings
Hi Anton,
> I get this error:
>
> ./doc.1:4: macro error: RP is not allowed after the first page has started
ms changes RP from its normal definition to triggering this error when a
`.wh 0' trap is triggered at the top of the page.
> The command I invoke is:
>
> /usr/local/bin/groff -ept
I get this error:
./doc.1:4: macro error: RP is not allowed after the first page has started
The command I invoke is:
/usr/local/bin/groff -ept -ms -Thtml -P -Dhtmlimg -P -r -VV doc.ref > doc.html
where doc.ref is the file after processing with soelim
and refer.
doc.ref has:
.lf 1 doc.full
.lf