From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Thu, 5 Jan 2006 02:01:31 -0500 From: Russ Cox To: 9fans <9fans@cse.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: [9fans] htmlroff Topicbox-Message-UUID: d1fcbf66-ead0-11e9-9d60-3106f5b1d025 Is anyone interested in hacking on a simple version of troff that generates html? The idea is to implement most of the troff base language and add primitives for putting in raw html and watching to make sure tags get matched properly. It's considerably simpler than troff since one doesn't have to deal with the low-level details of text layout, character widths, and so on. The idea is that then htmlroff could use the existing macro packages more or less directly, perhaps with a few small changes. It would replace both ms2html, which works at a higher level, and troff2html, which works at a lower level. It could format the manual pages as well as the papers, and the resulting html would actually look good and be easy to change (just edit the macros). Completing the picture would be versions of pic, eqn, and tbl that emit SVG, MathML, and HTML tables. I've started to cannibalize ms2html to build htmlroff, but I really don't have much time to spend on it. Russ