Re: Color and font size of cells within a table

Subject: Re: Color and font size of cells within a table
From: Norman Walsh <norm@xxxxxxxxxxxxx>
Date: Tue, 17 Mar 1998 15:03:33 -0500
/ "Jordi Mulet" <jmulet@xxxxxxxxxx> was heard to say:
| Hello,
| When we execute Jade we obtain the message:
| conveni3.dsl:114:16:E: unexpected token "$pi-font-size$"

I don't have time to try this right now, but I think this might
work better:

(define ($process-cell-para-contents$ para colnum align body)
  (let ((font-name (case body
		     (("THEAD") %title-font-family%)
		     (("TFOOT") %title-font-family%)
		     (else  %body-font-family%)))
	(weight    (case body
		     (("THEAD") 'bold)
		     (("TFOOT") 'bold)
		     (else  'medium)))

;*****************************************************
; lets of fontsize and fontcolor
;*****************************************************
	(fontsize ($pi-font-size$))
	(fontcolor($pi-font-color$))
	(%factor% (if %verbatim-size-factor%
		      %verbatim-size-factor%
                      1.0) ))


In other words, put all the definintions in the one top-level
"let".

--norm


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


Current Thread
  • RE:Color and font size of cells within a table
    • Jordi Mulet - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id FAA07950Fri, 13 Mar 1998 05:06:29 -0500 (EST)
      • Chris Maden - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id KAA11428Fri, 13 Mar 1998 10:38:36 -0500 (EST)
      • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id PAA09833Tue, 17 Mar 1998 15:06:27 -0500 (EST) <=