This is the mail archive of the docbook-tools-discuss@sourceware.cygnus.com mailing list for the docbook-tools project.


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

Defining your own customized stylesheets


Hello everyone,

I have detected two problems when you try to define your own stylesheets on top
of the docbook tools :

1) The db2ps script does not accept the -d option to specify alternate
stylesheets (I already sent a patch to Mark Galassi about that)

2) Some lines in stylesheets/cygnus-both.dsl are used to change Norman Walsh's
directory hierarchy. Here are these lines :

-------------------------------------------------------------
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY % html "IGNORE">
<![%html;[
<!ENTITY % print "IGNORE">
<!ENTITY docbook.dsl SYSTEM "/usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl" CDATA dsssl>
]]>
<!ENTITY % print "INCLUDE">
<![%print;[
<!ENTITY docbook.dsl SYSTEM "/usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl" CDATA dsssl>
]]>
]>
-------------------------------------------------------------

There are two problems with this lines :

a) They use hardcoded paths, instead of the CATALOG mechanism

b) You have to use the same lines in you own stylesheets (which breaks
compatibility with non-cygnus docbook tools) OR to use workaround like symbolic
links or a patched catalog file (which breaks packages independancy)

Any hint ?

Eric
--
 __________________________________________________
                                           \^o~_.
     .~.                           ______  /( __ )
     /V\         Toys story         \__  \/  (  V
   //   \\                            \__| (__=v
  /(     )\                        |\___/     )
    ^^-^^                           \_____(  )
     Tux                    Konqui         \__=v
 __________________________________________________
 Eric Bischoff   -   mailto:ebisch@cybercable.tm.fr

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