This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Q. DocBook and PSGML using split document
- To: Holger Rauch <Holger dot Rauch at heitec dot de>
- Subject: Re: DOCBOOK-APPS: Q. DocBook and PSGML using split document
- From: Vladimir Ivanovic <ivanovic at parc dot xerox dot com>
- Date: Tue, 19 Jun 2001 11:39:51 -0700 (PDT)
- Cc: docbook-apps at lists dot oasis-open dot org
I have
<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook V3.1//EN' [
<!ENTITY preface SYSTEM "preface.sgml">
<!ENTITY newcomers SYSTEM "newcomers.sgml">
<!ENTITY language SYSTEM "language.sgml">
<!ENTITY semantics SYSTEM "semantics.sgml">
<!ENTITY tools SYSTEM "tools.sgml">
<!ENTITY examples SYSTEM "examples.sgml">
]>
in the file "userguide.sgml" and no DOCTYPE declarations in any of the
other files.
The following works for me:
nsgmls -wall -s \
/usr/share/sgml/docbook/dsssl-stylesheets/dtds/decls/docbook.dcl \
usersguide.sgml
but generates an error:
nsgmls:/usr/share/sgml/docbook/sgml-dtd-3.0/cals-tbl.dtd:314:37:W: content model is mixed but does not allow #PCDATA everywhere
I don't know why or where the "sgml-dtd-3.0" directory is being picked
up except that the docbook-dtd31-sgml-1.0-10 RPM depends on the
docbook-dtd30-sgml-1.0-10 RPM.
-- Vladimir
"HR" == Holger Rauch <Holger.Rauch@heitec.de> writes:
HR> Hi!
HR> Thanks for posting this! That's exactly what I was looking for! However,
HR> one issue still remains:
HR> On Thu, 14 Jun 2001, Vladimir Ivanovic wrote:
>> Here's what I use in a chapter file.
>> [...]
>> sgml-local-ecat-files: userguide.ced
>> [...]
HR> Now SGML->Validate does not work anymore. It complains about the missing
HR> DOCTYPE declaration. How do I tell nsgmls about the
HR> "userguide.ced" file? I was looking in the documentation, but I'm not
HR> sure whether it's "-c" or "-m". (If I got you right, you got something
HR> similar to
HR> <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
HR> "/usr/local/docbook/dtds/xml/4.1.2/docbookx.dtd" []>
HR> in "userguide.ced". Please feel free to correct me in case I'm wrong.)
HR> Thanks for any help!
HR> Greetings,
HR> Holger