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

Subject: Re: Possible to use just table part of Docbook style sheets?
From: Boris Goldowsky <boris@xxxxxxxxxxxx>
Date: Tue, 19 May 1998 07:29:49 -0400 (EDT)
>>>>> I wrote:
Bng> (element TNOTE         ; we don't use these, and don't want to call in 
Bng>   (process-children))  ; docbook footnote code.

>>>>> Norman Walsh writes:
NW> This must be specific to your DTD.  There's no TNOTE element in CALS.

Yes, my mistake.  I was thinking of this:

(define (make-table-endnotes)
  (empty-sosofo))

Which is how I get around having to include dbfootn.dsl from the
Docbook stylesheets.  As I remember, the dependency is just a single
call to that function from dbtable.dsl, and as it happens we don't use
CALS's endnotes.  I also seem to remember that if you /do/ include
dbfootn, it has dependencies on furhter files which you then have to
also include -- but that's a memory from several versions ago and may
no longer be true.

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

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

We produce both print and HTML from the same SGML, and the column
widths in the SGML are all tweaked to look good in print.  Just
ignoring them for HTML was the easiest solution for us; I don't mean
to recommend it for everyone!  

Bng


 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) <=