From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9e3f4a8d8cf5e63d717025f84b8f095c@plan9.bell-labs.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] troff/groff/ms2html From: "rob pike, esq." MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-oqitpopeoqafqaevyxbirzqcsq" Date: Sun, 11 Aug 2002 22:33:21 -0400 Topicbox-Message-UUID: da57a320-eaca-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-oqitpopeoqafqaevyxbirzqcsq Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit We did little to troff. The macros got a little work but nothing serious. Other than supporting UTF-8, it's pretty much the way it was a long long time ago, at least in terms of functionality. Ms2html can't be hard to port, but whether it produces 'decent' html is a judgment you'll have to make yourself. -rob --upas-oqitpopeoqafqaevyxbirzqcsq Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Sun Aug 11 22:19:20 EDT 2002 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Sun Aug 11 22:19:19 EDT 2002 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.6.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 5C2EB199ED; Sun, 11 Aug 2002 22:19:07 -0400 (EDT) Delivered-To: 9fans@cse.psu.edu Received: from imr2.srv.uk.deuba.com (smtp2.uk.deuba.com [194.205.246.143]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 9A67E199ED for <9fans@cse.psu.edu>; Sun, 11 Aug 2002 22:18:52 -0400 (EDT) Received: from bmr1-e1.srv.uk.deuba.com by imr2.srv.uk.deuba.com id g7C2IoSC007624; Mon, 12 Aug 2002 03:18:51 +0100 (BST) Received: from pi.aus.deuba.com by bmr1-e1.srv.uk.deuba.com id g7C2ImCJ023862; Mon, 12 Aug 2002 03:18:49 +0100 (BST) Received: (qmail 13768 invoked by uid 325); 12 Aug 2002 02:19:07 -0000 Message-ID: <20020812021907.13761.qmail@pi.aus.deuba.com> To: 9fans@cse.psu.edu From: Russell Davies Subject: [9fans] troff/groff/ms2html Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Mon, 12 Aug 2002 12:19:04 +1000 I posted to this list a while ago about a unix port of plan9's ms2html program, someone suggested simply using groff -Thtml, but I have found this to be mostly inadequate -- it doesn't correctly render tbl or pic objects. I'm guessing that troff was overhauled for plan9, since there are some new macros (.P1, .P2) however, can any one suggest a unix method for generating decent html from troff (ms) ? thanks, Russell. --upas-oqitpopeoqafqaevyxbirzqcsq--