|
Subject: AW: AW: CALS Table to HTML Table via The DSSSList Digest V3 #197 From: Roland Schopf <Roland.Schopf@xxxxxxxxxxx> Date: Mon, 25 Oct 1999 17:04:00 +0200 |
Norman,
1. when I include all docbook stylesheet modules, it works fine, but I
get errors/warnings I could live with (my customer probably not)
example1:
jade.exe:c:\projekte\working\online\w1\dsl\dblib.dsl:21:58:E: identifier
"node-list-reduce" already defined in same part
example2:
jade.exe:c:\projekte\working\online\w1\dsl\dbcompon.dsl:148:14:E:
reference to undefined variable "generate-toc-in-front"
2. can you tell me, which modules are relevant for CALS table processing
- I do not have a version of my stylesheet proposed in the dssslist
anymore, I tried to find out a solution myself (without success)
3. here all relevant parts of my stylesheet mentioned in 1., the DTD is
very generic (like docbook) and uses cals tables
<!doctype style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN"
[
<!-- from docbook style sheet -->
<!ENTITY dbparam.dsl SYSTEM "dbparam.dsl">
<!ENTITY dblib.dsl SYSTEM "dblib.dsl">
<!ENTITY dbcommon.dsl SYSTEM "dbcommon.dsl">
<!ENTITY dbctable.dsl SYSTEM "dbtable.dsl">
<!ENTITY dbtable.dsl SYSTEM "htmldbtable.dsl">
<!ENTITY dbadmon.dsl SYSTEM "dbadmon.dsl">
<!ENTITY dbautoc.dsl SYSTEM "dbautoc.dsl">
<!ENTITY dbbibl.dsl SYSTEM "dbbibl.dsl">
<!ENTITY dbblock.dsl SYSTEM "dbblock.dsl">
<!ENTITY dbcallou.dsl SYSTEM "dbcallou.dsl">
<!ENTITY dbcompon.dsl SYSTEM "dbcompon.dsl">
<!ENTITY dbdivis.dsl SYSTEM "dbdivis.dsl">
<!ENTITY dbfootn.dsl SYSTEM "dbfootn.dsl">
<!ENTITY dbgloss.dsl SYSTEM "dbgloss.dsl">
<!ENTITY dbgraph.dsl SYSTEM "dbgraph.dsl">
<!ENTITY dbhtml.dsl SYSTEM "dbhtml.dsl">
<!ENTITY dbindex.dsl SYSTEM "dbindex.dsl">
<!ENTITY dbinfo.dsl SYSTEM "dbinfo.dsl">
<!ENTITY dbinline.dsl SYSTEM "dbinline.dsl">
<!ENTITY dblink.dsl SYSTEM "dblink.dsl">
<!ENTITY dblists.dsl SYSTEM "dblists.dsl">
<!ENTITY dblot.dsl SYSTEM "dblot.dsl">
<!ENTITY dbmath.dsl SYSTEM "dbmath.dsl">
<!ENTITY dbmsgset.dsl SYSTEM "dbmsgset.dsl">
<!ENTITY dbnavig.dsl SYSTEM "dbnavig.dsl">
<!ENTITY dbchunk.dsl SYSTEM "dbchunk.dsl">
<!ENTITY dbpi.dsl SYSTEM "dbpi.dsl">
<!ENTITY dbprocdr.dsl SYSTEM "dbprocdr.dsl">
<!ENTITY dbrfntry.dsl SYSTEM "dbrfntry.dsl">
<!ENTITY dbsect.dsl SYSTEM "dbsect.dsl">
<!ENTITY dbsynop.dsl SYSTEM "dbsynop.dsl">
<!ENTITY dbtitle.dsl SYSTEM "dbtitle.dsl">
<!ENTITY dbttlpg.dsl SYSTEM "dbttlpg.dsl">
<!ENTITY dbverb.dsl SYSTEM "dbverb.dsl">
<!ENTITY version.dsl SYSTEM "version.dsl">
<!ENTITY db31.dsl SYSTEM "db31.dsl">
<!ENTITY dblib.dsl SYSTEM "dblib.dsl">
<!ENTITY dbcommon.dsl SYSTEM "dbcommon.dsl">
<!ENTITY dbctable.dsl SYSTEM "dbtable.dsl">
<!ENTITY dbtable.dsl SYSTEM "htmldbtable.dsl">
<!ENTITY dbfootn.dsl SYSTEM "dbfootn.dsl">
]>
<style-sheet>
<style-specification id="OHRA">
(declare-flow-object-class element
"UNREGISTERED::James Clark//Flow Object Class::element")
;; all other necessary declares
;; all other elements
;; table ELEMENT
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; table is processed in docbook stylesheets
(element TABLE
(process-children))
(define %table-rules%
;; Specify rules before and after an Table
#f)
(define %cals-table-class% "CALSTABLE")
(define (make-table-endnotes)
(empty-sosofo))
&dbparam.dsl;
&dblib.dsl;
&dbcommon.dsl;
&dbblock.dsl;
&dbctable.dsl;
&dbtable.dsl;;
&dbadmon.dsl;
&dbautoc.dsl;
&dbbibl.dsl;
&dbblock.dsl;
&dbcallou.dsl;
&dbcompon.dsl;
&dbdivis.dsl;
&dbfootn.dsl;
&dbgloss.dsl;
&dbgraph.dsl;
&dbhtml.dsl;
&dbindex.dsl;
&dbinfo.dsl;
&dbinline.dsl;
&dblink.dsl;
&dblists.dsl;
&dblot.dsl;
&dbmath.dsl;
&dbmsgset.dsl;
&dbnavig.dsl;
&dbchunk.dsl;
&dbpi.dsl;
&dbprocdr.dsl;
&dbrfntry.dsl;
&dbsect.dsl;
&dbsynop.dsl;
&dbtitle.dsl;
&dbttlpg.dsl;
&dbverb.dsl;
&version.dsl;
&db31.dsl;
&dblib.dsl;
&dbcommon.dsl;
&dbctable.dsl;
&dbtable.dsl;
</style-specification>
</style-sheet>
> / Roland Schopf <Roland.Schopf@xxxxxxxxxxx> was heard to say:
> | I already found the answer in the dssslist archive, but when I only
> | include the few modules mentioned there I do not get any resonable
> | result.
> |
> | Any suggestions?
>
> Hmm. It should work, I tried to make that code fairly self-contained
> (although it's not as self contained as it could be, I'll admit).
> Can you post the stylesheet you're using and a small sample file
> that demonstrates the error?
>
> Cheers,
> norm
>
> --
> Norman Walsh <ndw@xxxxxxxxxx> | It is good to have an end to
> http://nwalsh.com/ | journey toward; but it is the
> | journey that matters, in the
> | end.--Ursula K. Le Guin
>
>
> DSSSList info and archive:
http://www.mulberrytech.com/dsssl/dssslist
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| jade 1.3 compilation failed, Jon Haugsand | Thread | Re: AW: AW: CALS Table to HTML Tabl, Norman Walsh |
| RE: SGML declarations for subdocume, Mason, James David ( | Date | Re: AW: CALS Table to HTML Table vi, Tony Graham |
| Month |