OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: Docbook-help


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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC