This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Docbook-help
- To: docbook at lists dot oasis-open dot org
- Subject: Re: DOCBOOK: Docbook-help
- From: Steffen Maier <Steffen dot Maier at studserv dot uni-stuttgart dot de>
- Date: Tue, 11 Jan 2000 14:43:49 +0100 (MET)
- Reply-To: docbook at lists dot oasis-open dot org
Hello,
Am Tue, 11 Jan 2000 schrieb madhu:
> i have seen on this list some people using additional parameters like this
> > <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
> > <!ENTITY dbstyle PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML
> > Stylesheet//EN" CDATA DSSSL>
> i thought that if you use <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"
> this should load all the neccessary style sheets etc please correct me on this
> if i am wrong.incidentally this is taking care of my need and produces decent
> enough output .
The doctype-declarations you have seen recently on this list are those for
the stylesheets only. They have first of all nothing to do with the
(docbook-)document itself. The stylesheets are just SGML-files themselves,
that's why they need the doctype. The public identifier shows us what the
content of the doc might be: "...DTD DSSSL Style Sheet...".
The doctype you use for docbook-docs ("...DTD DocBook V3.1...") does only
contain the specification of the document-structure, nothing about
stylesheets. You associate stylesheets with a particular doc by using a
processing instruction like:
<?stylesheet href="dbhtml.dsl" type="text/dsssl"?>
or by telling your formatting tool in another way, e.g. using a command
line parameter for jade:
jade -d MyDssslStylesheet MyDocbookDoc.sgml
Hopefully I made clear enough that stylesheet and document are really two
seperate things due to the nature of SGML.
Bye,
Steffen Maier.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/E d? s++:- a-->?@ C(++++) UL++++$ P+ L++(+) E++>+++ W++ N+ !o K- w O-
M- V? PS+(++) PE(-) Y+ PGP++ t 5 X+++ R* tv(-) b+ DI++ D- G>++ e h* r- y?
------END GEEK CODE BLOCK------
http://rupert.informatik.uni-stuttgart.de/~maiersn/
mailto:Steffen.Maier@studserv.uni-stuttgart.de