Juan,
The environment variable you are talking about is set as follows:
SGML_CATALOG_FILES=c:\docbook\jade\dsssl\catalog;c:\docbook\db41\docbook.cat
Openjade is installed in c:\docbook\jade, and the docbook stuff is in c:\docbook\db41. Is there another catalog file that I'm missing? The openjade command is as follows:
openjade -t tex -i print -d local.dsl c:\docbook\jade\pubtext\xml.dcl toolkit1.xml
I get the error: openjade:local.dsl:15:26:E: no style-specification or external-specification with ID "DOCBOOK"
I am typing this in at the command line....once it works I'll get it working properly in our makefiles. What am I missing????
My custom style sheet is: (copied from one of the examples on sourceforge's documentation)
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY % html "IGNORE">
<![%html;[
<!ENTITY % print "IGNORE">
<!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl>
]]>
<!ENTITY % print "INCLUDE">
<![%print;[
<!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl>
]]>
]>
<style-sheet>
<style-specification use="docbook">
<style-specification-body>
<![%print;[
;; customize the print stylesheet
;; customize the html stylesheet
;; List of mediaobject filename extensions.
(define preferred-mediaobject-extensions
(list "jpeg" "jpg" "png" "avi" "mpg" "mpeg" "qt" "pdf" "g" "kdef" "sgml" "pl" "mak" "dsl" "txt" "cfg" "eps" "ps"))
;; List of inlinemediaobject filename extensions.
(define preferred-inlinemediaobject-extensions
(list "jpeg" "jpg" "png" "avi" "mpg" "mpeg" "qt" "pdf" "g" "kdef" "sgml" "pl" "mak" "dsl" "txt" "cfg" ""))
;; The acceptable mediaobject extensions.
(define acceptable-mediaobject-extensions
(list "gif" "bmp" "g" "kdef" "sgml" "pl" "mak" "dsl" "txt" "cfg" ""))
(define %graphic-default-extension% "pdf")
]]>
<![%html;[
;; customize the html stylesheet here
]]>
<external-specification id="docbook" document="docbook.dsl">
</style-sheet>
Thanks,
Sharon
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sharon Jones [EMAIL PROTECTED]
Voice: 914-945-2188 Fax: 914-945-4490
Voice Systems
Natural Language Engines GUI Tools Team Lead
| "Juan R. Migoya" <[EMAIL PROTECTED]>
04/11/2002 03:34 AM
|
To: [EMAIL PROTECTED] cc: Sharon B Jones/Watson/IBM@IBMUS Subject: Re: DOCBOOK-APPS: jadetex very slow on windows |
Don't forget the catalog wich is into the openjade folder.
Regards,
Juan R. Migoya
SPAIN
Jirka Kosek wrote:
> Sharon B Jones wrote:
>
> > The only catch I have now is to figure out why openjade doesn't want
> > to use my custom dsssl stylesheet....it doesn't seem to like public
> > entities, only local (SYSTEM) ones. Anyone out there have any ideas?
>
> You must set SGML_CATALOG_FILES environment variable to point to your
> catalog files.
>
> --
> -----------------------------------------------------------------
> Jirka Kosek
> e-mail: [EMAIL PROTECTED]
> http://www.kosek.cz
