public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
* Defining your own customized stylesheets
@ 1999-11-15 10:25 Eric Bischoff
  0 siblings, 0 replies; only message in thread
From: Eric Bischoff @ 1999-11-15 10:25 UTC (permalink / raw)
  To: 'DocBook Discussion List'; +Cc: kde-docbook

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-11-15 10:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-15 10:25 Defining your own customized stylesheets Eric Bischoff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).