This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Changing "red" behaviour for unimplemented features in DSSSL stylesheets ?
- From: Peter Biechele <Peter dot Biechele at bextec dot de>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 5 Nov 2003 08:32:09 +0100
- Subject: Re: [docbook-apps] Changing "red" behaviour for unimplemented features in DSSSL stylesheets ?
- Organization: beXtec GmbH
- References: <200311041343.36815.Peter.Biechele@bextec.de> <20031104132331.GA14269@nic.fr>
The given sequence is from the html/* directory and does give an error when
processed for print output (I need pdf/ps output). The error is:
----
jade:/mount/morpheus/home/pebi/Projekte/ToolBox/Dokumentation/Requirements_stylesheet.dsl:39:3:E:
"element" is not the name of any flow object class
-------
and it does not produce any output !
So looked in the print/* directory for other occurences of "color" and found:
-----------------
;; Make text that comes from unimplemented tags easy to spot
(default
(let* ((colr-space (color-space
"ISO/IEC 10179:1996//Color-Space Family::Device RGB"))
(red (color colr-space 1 0 0)))
(make sequence
color: red
(process-children))))
---------------------------------
So i took this part, copied it to my local dsl file and changed "1 0 0" to "0
0 0 " which should give black.
BUT now i get no formatiing of the document at all. The whole text is
concatenated together to give one large blob of text.
I am new to DSSSL and still do not understand whats really going on here, so
what else can I try ??
By the way, putting the part above into my own stylesheet also changes
behaviour of reading images. It now includes ALL given imageobjects, not only
the EPS one for print output !
Thanks for any suggestions.
> In your customized DSSSL stylesheet:
>
> (default
> (make element gi: "FONT"
> attributes: '(("COLOR" "RED")) ;; Replace by what you want
> (process-children)))
>
> (The above was obtained from html/docbook.dsl by grepping for "RED".)
>
#####################################################
Dr. Peter Biechele, E-Mail: Peter.Biechele@beXtec.de
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.