|
From: | Oliver Corff |
Subject: | Re: adjustment of text blocks in tables (was: long nroff tables) |
Date: | Fri, 22 Jan 2021 01:36:49 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 |
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.robinson@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
[Prev in Thread] | Current Thread | [Next in Thread] |