Hi,

there seems to be at least one effort, 20 years ago, to produce true
HTML output. I located "troffcvt: troff-to-XXX Conversion Software" by
Paul DuBois. If I understand correctly, this was/is available in Ubuntu
distributions.

Here is the link: http://www.snake.net/software/troffcvt/

Haven't tried it yet, so am not in a position to make any judgment.

Oliver.


On 21/01/2021 20:14, James K. Lowden wrote:
On Thu, 21 Jan 2021 14:46:24 +1100
"G. Branden Robinson" <g.branden.robin...@gmail.com> wrote:

It would be really nice if tbl(1) could output HTML itself.
Hmm, from 10,000 feet that doesn't look terribly hard.  Certainly tbl
input provides all the requisite information needed for an HTML table.
mandoc claims to do it already.  Is there any possibility of using
their work?

One difficulty is dealing with troff requests in the middle of a
table.  But they're not hard to recognize (in terms of parsing) and in
practice I would guess not very many different requests are used.

--jkl


Reply via email to