From owner-freebsd-questions Mon Jun 9 10:03:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA01820 for questions-outgoing; Mon, 9 Jun 1997 10:03:28 -0700 (PDT) Received: from coconut.blueberry.co.uk ([194.70.52.66]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA01814 for ; Mon, 9 Jun 1997 10:03:24 -0700 (PDT) Received: (from nik@localhost) by coconut.blueberry.co.uk (8.8.5/8.8.5) id SAA00719; Mon, 9 Jun 1997 18:02:44 +0100 (BST) Message-ID: <19970609180244.40558@blueberry.co.uk> Date: Mon, 9 Jun 1997 18:02:44 +0100 From: Nik Clayton To: Phil Duffen Cc: questions@freebsd.org Subject: Re: Docbook and postscript References: <19970609160526.27000@pavilion.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69e In-Reply-To: <19970609160526.27000@pavilion.net>; from Phil Duffen on Mon, Jun 09, 1997 at 04:05:26PM +0100 Organization: Blueberry New Media Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk How do, First off, you might get a better response (maybe) asking in freebsd-doc rather than questions. Anyway, . . . On Mon, Jun 09, 1997 at 04:05:26PM +0100, Phil Duffen wrote: > I have been trying to get to grips with sgml and specifically docbook. If I > issue the following command , > > sgmlfmt -d docbook -f ps at1.docb I'm no expert, but I believe that the use of sgmlfmt is deprecated, and that a combination of 'sgmls' and 'instant' are now suggested (at least, until John Fieber decides to move to Jade). Have you looked at http://fallout.campusview.indiana.edu/~jfieber/docbook/markupguide.html which talks about converting DocBook to HTML. I'm guessing the info would also apply to convert DocBook to PostScript. > the following error is produced. > > Error: Could not locate specified transfile Looking through the sgmlfmt man page (on my 2.1.7 system), I don't see a 'ps' option for '-f'. You might try using something like sgmlfmt -d docbook -f nroff at1.docb | groff -Tps > at1.ps which uses 'nroff' formatting, and uses groff to do the conversion to PS. Hope that helps, N -- --+=[ Blueberry Hill Blueberry New Media ]=+-- --+=[ http://www.blueberry.co.uk/ 1/9 Chelsea Harbour Design Centre, ]=+-- --+=[ WebMaster@blueberry.co.uk London, England, SW10 0XE ]=+-- --+=[ Contributing to the heat death of the Universe since 1973 ]=+--