From owner-freebsd-doc Wed Aug 4 11:58:50 1999 Delivered-To: freebsd-doc@freebsd.org Received: from nothing-going-on.demon.co.uk (nothing-going-on.demon.co.uk [193.237.89.66]) by hub.freebsd.org (Postfix) with ESMTP id 10498153DF for ; Wed, 4 Aug 1999 11:58:37 -0700 (PDT) (envelope-from nik@nothing-going-on.demon.co.uk) Received: from kilt.nothing-going-on.org (kilt.nothing-going-on.org [192.168.1.18]) by nothing-going-on.demon.co.uk (8.9.3/8.9.3) with ESMTP id TAA66844; Wed, 4 Aug 1999 19:50:27 +0100 (BST) (envelope-from nik@catkin.nothing-going-on.org) Received: (from nik@localhost) by kilt.nothing-going-on.org (8.9.3/8.9.3) id QAA13326; Wed, 4 Aug 1999 16:20:23 +0100 (BST) (envelope-from nik@catkin.nothing-going-on.org) Date: Wed, 4 Aug 1999 16:20:23 +0100 From: Nik Clayton To: Jos Backus Cc: freebsd-doc@freebsd.org Subject: Re: sgmlfmt question Message-ID: <19990804162023.B10882@kilt.nothing-going-on.org> References: <19990803175857.A18535@hal.mpn.cp.philips.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19990803175857.A18535@hal.mpn.cp.philips.com>; from Jos Backus on Tue, Aug 03, 1999 at 05:58:57PM +0200 Organization: FreeBSD Project Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Aug 03, 1999 at 05:58:57PM +0200, Jos Backus wrote: > I am trying to use DocBook to generate HTML documents. > After installing textproc/docproj and reading the primer I am seeing the > following: > hal:~/doc/sgml% nsgmls -s test.sgml > hal:~/doc/sgml% sgmlfmt -f html test.sgml > Warning: transpec not found for CHAPTER > Warning: transpec not found for PARA > hal:~/doc/sgml% From a brief perusing of the source, the undocumented -d parameter. I think you need to do sgmlfmt -d docbook -f html test.sgml which should generate the output you want. However, FWIW the FreeBSD Documentation Project is not using sgmlfmt any more (well, OK, we are, but I'm trying to move us away from it as rapidly as possible). As per the primer, you should really be using the DSSSL stylesheets and a DSSSL processor (i.e., textproc/jade) to do this sort of conversion. Hope that helps, N -- [intentional self-reference] can be easily accommodated using a blessed, non-self-referential dummy head-node whose own object destructor severs the links. -- Tom Christiansen in <375143b5@cs.colorado.edu> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message