[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re[2]: Docbook: Graphics for navigation links



Bob Bernstein <poobah@ruptured-duck.com> writes:

> Felix Natter <fnatter@gmx.net> wrote:
> I'm familiar with the kde stuff, which seems to use their variations on the
> cygnus stylesheets, and db2html. I am trying to use graphic nav links with the
> Docbook Modular stylesheets. I think text vs. graphic nav links is a
> stylesheet issue, no?

That would make sense to me, but I have no idea about docbook (yet).
Try "docbook the definitive guide": http://www.docbook.org
or post to comp.text.sgml/xml

> But you're right, they (kde) have added png support for graphics.
> 
> > please tell me if you find a distribution (like the cygnus one)
> > for docbook 4.0 with XML.
>
> Not sure what you mean here: "like the cygnus one."  Do you mean, for
> instance, "one that has an HTML stylesheet and something like db2html"? 

yes. exactly. Well it doesn't have to be db2html, but it should be
easy to get to work (preferably one package)

I just tried setting up:
- openjade 1.3 from openjade.sourceforge.net
- the dsssl-stylesheets from http://nwalsh.com/docbook/dsssl/
- docbook 4.0beta6 XML dtd 
- emacs psgml-mode

psgml and the docbook dtd are working great (I have written a test-article
and I am confident that there are no syntax-errors - psgml also thinks
it's correct).

when running openjade (or onsgmls) I get lots of errors, some of which
are in the dtd:

home$ openjade -t html -wxml -d ~/style/docbook/html/docbook.dsl article.xml
openjade:dtd/docbook-4/docbookx.dtd:74:15:W: named character reference
openjade:dtd/docbook-4/docbookx.dtd:74:17:E: "X20AC" is not a function name
openjade:dtd/docbook-4/ent/iso-amsa.ent:6:17:W: named character reference
openjade:dtd/docbook-4/ent/iso-amsa.ent:6:19:E: "X21B6" is not a function name
openjade:dtd/docbook-4/ent/iso-amsa.ent:7:17:W: named character reference
openjade:dtd/docbook-4/ent/iso-amsa.ent:7:19:E: "X21B7" is not a function name
[...] (more of these)

here is the relevant section in the docbook 4.0 dtd:

<!-- ...................................................................... -->
<!-- ISO character entity sets ............................................ -->

<!ENTITY % dbcent.module "INCLUDE">
<![%dbcent.module;[
<!ENTITY euro "&#x20AC;"><!-- euro sign, U+20AC NEW -->
<!ENTITY % dbcent PUBLIC 
"-//OASIS//ENTITIES DocBook XML Character Entities V4.0beta6//EN"
"dbcentx.mod">
%dbcent;
]]>

Does openjade (or (open-)SP or onsgmls) have problems with XML or
docbook 4.0 ?

-- 
Felix Natter


Reply to: