Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 1997 18:02:44 +0100
From:      Nik Clayton <nik@blueberry.co.uk>
To:        Phil Duffen <phil@pavilion.net>
Cc:        questions@freebsd.org
Subject:   Re: Docbook and postscript
Message-ID:  <19970609180244.40558@blueberry.co.uk>
In-Reply-To: <19970609160526.27000@pavilion.net>; from Phil Duffen on Mon, Jun 09, 1997 at 04:05:26PM %2B0100
References:  <19970609160526.27000@pavilion.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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     ]=+--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970609180244.40558>