This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Fwd: Re: jadetex very slow on windows]



Hi Juan,

Using the SYSTEM identifier (with my path) works fine (and always has).  When I use the PUBLIC identifier it gives me an error.  Changing docbook.dsl to docbk everywhere did not solve the problem....same error.  

Since this is a project documentation effort, there are about 6 of us doing work on the docbook files.  To make things difficult, everyone in my group has different versions and different directory paths to the docbook stylesheets.  We found it easier to use the PUBLIC identifier for this reason.  I used to have this working, but I just re-installed my system (new hard drive) and can't get this to work anymore.  

If you have any other ideas, maybe we should take it off-line and I'll post my resolution if I find one (besides using the SYSTEM identifier).

Thanks,
Sharon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sharon Jones  ssnyder@us.ibm.com
Voice: 914-945-2188  Fax: 914-945-4490
Voice Systems
Natural Language Engines GUI Tools Team Lead


"Juan R. Migoya" <jmigoya@ingeteam.es>

04/11/2002 12:33 PM

       
        To:        Docbook Apps <docbook-apps@lists.oasis-open.org>
        cc:        
        Subject:        [Fwd: Re: DOCBOOK-APPS: jadetex very slow on windows]

       


Hello Sharon:

Sharon B Jones wrote:

>
> Juan,
>
> The environment variable you are talking about is set as follows:
>
> GML_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>
>

It seems that you should put <!ENTITY docbook PUBLIC "-//Norman
Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl>
                                                      ^^^^^^^^^
It's not a file (without ".dsl") but the name of an entity you refer to
below ( "<external-specification id="docbook" document="docbook.dsl">)
Be sure that you put the full path to your "docbook.dsl" file in the
later one.

I think this will be enough.

I don't know why, but use in my prolog:

   <!ENTITY dbstyle SYSTEM
"\\path_to_server\F\DSSSL-1.74b\print\docbook.dsl" CDATA DSSSL>

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                          ( this is my path to the
dsssl docbook file.)

instead of the mentioned line. And outside the <style-specification> I
put:

   <external-specification id="docbook" document="dbstyle">

But I don't think you need to do so.

Hope this help.

Juan R. Migoya

>

<snip>

> ;; customize the html stylesheet here
> ]]>
> <external-specification id="docbook" document="docbook.dsl">
> </style-sheet>
>
>
> Thanks,
> Sharon
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Sharon Jones  ssnyder@us.ibm.com
> Voice: 914-945-2188  Fax: 914-945-4490
> Voice Systems
> Natural Language Engines GUI Tools Team Lead
>
>
>  "Juan R. Migoya"
  <jmigoya@ingeteam.es>              To:
                             docbook-apps@lists.oasis-open.org
  04/11/2002 03:34 AM                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
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]