docbook: Jade errors from "ldp.dsl"
Subject:
Re: Jade errors from "ldp.dsl"
From:
Derek Tattersall ####@####.####
Date:
16 Nov 2003 01:14:41 -0000
Message-Id: <200311152012.04918.derekt@sympatico.ca>
On Saturday November 15 2003 06:44 pm, Hal Burgiss wrote:
> On Sat, Nov 15, 2003 at 06:25:02PM -0500, Derek Tattersall wrote:
> > I've recently installed the latest Openjade, etc., following the LDP
> > Author Guide to the letter. All the test files work no problem. Now when
> > I try to use "ldp.dsl" on an sgml document, I get this error:
> >
> > openjade:/usr/share/sgml/dsssl/html/ldp.dsl:355:18:E: reference to
> > undefined variable "$table-width$"
> > openjade:/usr/share/sgml/dsssl/html/ldp.dsl:320:28:E: reference to
> > undefined variable "$verbatim-line-by-line$"
> >
> > I don't know how important these errors are, but all I know is, I can't
> > seem to get an html file as output using ldp.dsl. rtf works.
> >
>
> Did you edit any of the paths in ldp.dsl? You probably need to, for
> example:
>
> <!ENTITY docbook.dsl SYSTEM
> "/usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl" CDATA dsssl>
>
> Needs to be a real file location.
Am I supposed to change the PUBLIC to SYSTEM? Because I didn't change
anything yet, and the print backend worked perfectly (I've got the same copy
of ldp.dsl in both "print/" and "html/")
<!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>
]]>
]>
derek t