Re: declare-initial-value

Subject: Re: declare-initial-value
From: Norman Walsh <norm@xxxxxxxxxxxxx>
Date: Tue, 8 Jul 1997 08:28:32 -0400
Paul Prescod <papresco@xxxxxxxxxxxxxxxxxxxxxxxxx> writes:
> [...]
> Where these are defined above. I would (mildly) prefer if we used the
> DSSSL feature that allows inherited characteristics to be declared like
> this:
> (declare-initial-value writing-mode 'left-to-right)

This makes a lot of sense to me.  I'll convert the DocBook modular
stylesheet to this style sometime before the next release.  (er, 0.87
that is, not 0.86 which I'll be announcing in a coupla minutes ;-)

> (element style-specification
>     (make simple-page-sequence
> 	writing-mode: (debug (inherited-writing-mode))
> 	font-size: (debug (inherited-font-size))))

Is it necessary to say

     (make <something>
 	writing-mode: (inherited-writing-mode)
 	font-size: (inherited-font-size))

or is inheritance the default?  


 DSSSList info and archive:

Current Thread