Questions about DSSSL evaluation order.

Subject: Questions about DSSSL evaluation order.
From: KAZUMI Saito <ksaito@xxxxxxxxxxxxxxxxxx>
Date: Wed, 04 Feb 1998 13:08:40 +0900
I have some questions about DSSSL procedure-definition and evaluation order.

The DocBook Style Sheet has following an element-construction rule and
two procedure-definitions.

  (element (SEGMENTEDLIST TITLE) ($lowtitle$ 2))

  (define ($lowtitlewithsosofo$ tlevel sosofo)
    (let ((hs (HSIZE (- 3 tlevel))))
      (make paragraph
	  font-family-name: %title-font-family%
	  font-weight: 'bold
	  font-size: hs
	  line-spacing: (* hs %line-spacing-factor%)
	  space-before: (* hs %head-before-factor%)
	  space-after: (* hs %head-after-factor%)
	  start-indent: %body-start-indent%
	  quadding: 'start
	  keep-with-next?: #t
	  sosofo)))

  (define ($lowtitle$ tlevel)
    ($lowtitlewithsosofo$ tlevel (process-children)))

Before the element-construction rule (for SEGMENTEDLIST TITLE) is evaluated,
Must be this construct-expression expanded as following?

(element (SEGMENTEDLIST TITLE) 
  (let ((hs (HSIZE (- 3 2))))
    (make paragraph
	  font-family-name: %title-font-family%
	  font-weight: 'bold
	  font-size: hs
	  line-spacing: (* hs %line-spacing-factor%)
	  space-before: (* hs %head-before-factor%)
	  space-after: (* hs %head-after-factor%)
	  start-indent: %body-start-indent%
	  quadding: 'start
	  keep-with-next?: #t
	  (process-children)))))

And, Where can I found such definition (i.e. after all of nested closures are
expanded construct-expression is evaluated) in DSSSL standard ?

----
 KAZUMI Saito  ksaito@xxxxxxxxxxxxxxxxxx


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


Current Thread
  • Questions about DSSSL evaluation order.
    • KAZUMI Saito - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id XAA29603Tue, 3 Feb 1998 23:10:29 -0500 (EST) <=
      • <Possible follow-ups>
      • Frank A. Christoph - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id AAA01083Wed, 4 Feb 1998 00:52:56 -0500 (EST)
        • Henry S. Thompson - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id GAA08522Wed, 4 Feb 1998 06:03:52 -0500 (EST)