9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <rsc@swtch.com>
To: 9fans <9fans@cse.psu.edu>
Subject: [9fans] htmlroff
Date: Thu,  5 Jan 2006 02:01:31 -0500	[thread overview]
Message-ID: <ee9e417a0601042301p39f1ab91ra54442288f8ba7c0@mail.gmail.com> (raw)

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


             reply	other threads:[~2006-01-05  7:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-05  7:01 Russ Cox [this message]
2006-01-05  7:45 ` Rob Pike
2006-01-05  7:56   ` Russ Cox
2006-01-05  8:43     ` Francisco J Ballesteros
2006-01-05  8:48       ` Russ Cox
2006-01-05  8:59         ` Francisco J Ballesteros
2006-01-05 10:32         ` John Murdie
2006-01-05 18:48         ` Taj Khattra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee9e417a0601042301p39f1ab91ra54442288f8ba7c0@mail.gmail.com \
    --to=rsc@swtch.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).