docbook: changes in "ldp.dsl" for "html" and "print" stylesheet directories


Previous by date: 19 Nov 2003 20:15:59 -0000 Re: Docbook questions, Saqib Ali
Next by date: 19 Nov 2003 20:15:59 -0000 changes in "ldp.dsl" for "html" and "print" stylesheet directories, Guillaume Audirac
Previous in thread:
Next in thread: 19 Nov 2003 20:15:59 -0000 changes in "ldp.dsl" for "html" and "print" stylesheet directories, Guillaume Audirac

Subject: changes in "ldp.dsl" for "html" and "print" stylesheet directories
From: Guillaume Audirac ####@####.####
Date: 19 Nov 2003 20:15:59 -0000
Message-Id: <1069273050.2000.50.camel@localhost>

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>
]]>
....
-----------------------------------------------------



Previous by date: 19 Nov 2003 20:15:59 -0000 Re: Docbook questions, Saqib Ali
Next by date: 19 Nov 2003 20:15:59 -0000 changes in "ldp.dsl" for "html" and "print" stylesheet directories, Guillaume Audirac
Previous in thread:
Next in thread: 19 Nov 2003 20:15:59 -0000 changes in "ldp.dsl" for "html" and "print" stylesheet directories, Guillaume Audirac


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.