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


[<<] [<] Page 1 of 1 [>] [>>]
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>
]]>
....
-----------------------------------------------------


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


[<<] [<] Page 1 of 1 [>] [>>]


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