docbook: changes in "ldp.dsl" for "html" and "print" stylesheet directories
Subject:
changes in "ldp.dsl" for "html" and "print" stylesheet directories
From:
Guillaume Audirac ####@####.####
Date:
20 Nov 2003 18:32:07 -0000
Message-Id: <1069353232.1818.4.camel@localhost>
Curiously the ldp.dsl extracts were not included in the archive of my file,
so I resend the message with additional "# " at beginning of each line:
Hello,
The "ldp.dsl" file seems to need configuration, not easy to find.
To work with openjade, this file is copied in 2 directories like
"/usr/share/sgml/docbook/dsssl-stylesheets/html" and
"/usr/share/sgml/docbook/dsssl-stylesheets/print".
To translate correctly Docbook XML files in HTML and RTF using Openjade,
I have noticed thereafter the modifications applied to the "ldp.dsl"
file. Could someone tell me if all are correct?
Thanks a lot.
Guillaume
P.S.
for XML => HTML, Openjade refers to .../html/ldp.dsl#html
for XML => RTF, Openjade refers to .../print/ldp.dsl#print
-----------------------------------------------------
Extract of the original content of "ldp.dsl" file is:
....
# <!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>
# ]]>
....
-----------------------------------------------------
I have changed the ".../html/ldp.dsl" file content into:
....
# <!ENTITY % html "IGNORE">
# <![%html;[
# <!ENTITY % print "IGNORE">
# <!ENTITY docbook.dsl SYSTEM
# "/usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl"
# CDATA dsssl>
# ]]>
# <!ENTITY % print "INCLUDE">
# <![%print;[
# <!ENTITY docbook.dsl SYSTEM
# "/usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl"
# CDATA dsssl>
# ]]>
....
-----------------------------------------------------
I have changed the ".../print/ldp.dsl" file content into:
....
# <!ENTITY % html "IGNORE">
# <![%html;[
# <!ENTITY % print "IGNORE">
# <!ENTITY docbook.dsl SYSTEM
# "/usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl"
# CDATA dsssl>
# ]]>
# <!ENTITY % print "INCLUDE">
# <![%print;[
# <!ENTITY docbook.dsl SYSTEM
# "/usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl"
# CDATA dsssl>
# ]]>
....
-----------------------------------------------------