docbook: Having troubles converting to html
Subject:
Re: Having troubles converting to html
From:
"Greg Ferguson" ####@####.####
Date:
5 Oct 2002 12:11:03 -0000
Message-Id: <10210050805.ZM6165@hoop.timonium.sgi.com>
On Oct 5, 4:03am, Gabriel Sechan wrote:
> Subject: Having troubles converting to html
> I'm trying to set up my environment to use docbook, and I'm having
trouble.
> If someone here can help me, I'd be greatful.
>
> I have openjade installed, and it seems to be working. I downloaded
> bocbk41.zip and unzipped it to /usr/lib/sgml. I then ran the command:
>
> openjade -t html file.sgml
>
> I ended up with a screen full of error. file.sgml is the big sgml
> example from the resources page.
Which one?
> Can someone tell me what I'm doing wrong?
Might be specifying a DTD other than 4.1... Make sure the first few
lines of your SGML source file look like this (minus any possible
entity declarations you might have):
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<article>
or this:
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<book>
(and you properly close up the file with "</article>" or "</book>")
--
Greg Ferguson * SGI principal engr / LDP contributor
SGI Tech Pubs * http://techpubs.sgi.com/ | gferg(at)sgi.com
Linux Doc Project* http://tldp.org/ | gferg(at)metalab.unc.edu