[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Problem with html output
From: |
Peter Schaffter |
Subject: |
Re: [Groff] Problem with html output |
Date: |
Mon, 16 Mar 2015 16:43:24 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Mikkel --
On Mon, Mar 16, 2015, Mikkel wrote:
> What do you think I could do about this?
> ---------------------------------
> Command
> ---------------------------------
>
> groff -mom -Thtml ret0tmp.mom >ret0tmp.html
>
> ---------------------------------
> System output:
> ---------------------------------
> /usr/local/share/groff/1.22.2/tmac/om.tmac:13959: warning: macro `END' not
> defined (possibly missing space after `EN')
Format with -ms rather than -mom. I know, not the answer you want
to hear. :( -mom has no -Thtml integration. She's specifically for
- Tpdf or -Tps (and fairly acceptable -Tascii/latin1/utf8, though
these are not her target output devices). There are two reasons for
no -Thtml. One is that, IMO, the driver isn't stable enough. The
other is that -mom is a more complex macro set than -ms; the amount
of work required to implement -Thtml integration would be huge.
I confess I'm puzzled by the specific error reported, though. -mom
uses this style to define macros
.MAC macroname END
...
.END
rather than the conventional
.de macroname
...
..
Seems odd that -Thtml would choke on valid groff syntax.
--
Peter Schaffter
http://www.schaffter.ca