Re: Possible to use just table part of Docbook style sheets?

Subject: Re: Possible to use just table part of Docbook style sheets?
From: Norman Walsh <ndw@xxxxxxxxxx>
Date: Tue, 19 May 1998 00:57:03 +0200
/ Boris Goldowsky <boris@xxxxxxxxxxxx> was heard to say:
| Works like a charm!

What Boris said! ;-)

| <!doctype style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
| 
| <!-- from docbook style sheet -->
| <!ENTITY dblib.dsl    SYSTEM "docbook/lib/dblib.dsl">
| <!ENTITY dbcommon.dsl SYSTEM "docbook/common/dbcommon.dsl">
| <!ENTITY dbctable.dsl SYSTEM "docbook/common/dbtable.dsl">
| <!ENTITY dbtable.dsl  SYSTEM "docbook/html/dbtable.dsl">
| <!ENTITY dbfootn.dsl  SYSTEM "docbook/html/dbfootn.dsl">
| ]>

This is interesting.  Having to include both the common and
{print|html} versions of dbtable seems to make sense.  Also
having to include dblib.dsl seems OK (those are all
DTD-independent functions).  In the future, I will look towards
making the CALS table modules not require dbcommon.dsl or
dbfootn.dsl.

| (element TNOTE         ; we don't use these, and don't want to call in 
|   (process-children))  ; docbook footnote code.

This must be specific to your DTD.  There's no TNOTE element in CALS.

| ;; Redefine to defeat docbook's colwidth calculation: let HTML browser do it
| (define (cell-colwidth entry colnum) "")

If you're using CALS tables, why defeat the CALS colwidth calculations?

--norm


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Possible to use just table part of Docbook style sheets?
    • Glenn R. Kronschnabl - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id PAA10880Mon, 18 May 1998 15:05:24 -0400 (EDT)
      • Boris Goldowsky - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id RAA13896Mon, 18 May 1998 17:35:00 -0400 (EDT)
        • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id TAA15695Mon, 18 May 1998 19:07:42 -0400 (EDT) <=
          • Boris Goldowsky - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id HAA28770Tue, 19 May 1998 07:41:02 -0400 (EDT)