Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Aug 1999 16:20:23 +0100
From:      Nik Clayton <nik@freebsd.org>
To:        Jos Backus <Jos.Backus@nl.origin-it.com>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: sgmlfmt question
Message-ID:  <19990804162023.B10882@kilt.nothing-going-on.org>
In-Reply-To: <19990803175857.A18535@hal.mpn.cp.philips.com>; from Jos Backus on Tue, Aug 03, 1999 at 05:58:57PM %2B0200
References:  <19990803175857.A18535@hal.mpn.cp.philips.com>

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

<snip>

> 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




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