|
Subject: Re: this context requires a sosofo From: Daniel Speck <dspeck@xxxxxxxxxxxx> Date: Fri, 07 Nov 1997 16:09:36 -0500 |
Jim_Albright@xxxxxxx wrote:
>
> (define ($italic-seq$)
> (make sequence
> font-posture: 'italic
> (process-children)))
>
>
> (element highlight
> (case (attribute-string "REND")
> (("ITALIC") $italic-seq$)
> (("BOLD") $bold-seq$)))
>
>
> -----------
>
>
>
> What am I doing wrong? I am trying to specify that ITALIC be
> applied in this situation:
>
> <HIGHLIGHT rend=ITALIC>xxxxx</HIGHLIGHT>
>
Try:
...
(("ITALIC") ($italic-seq$))
(("BOLD") ($bold-seq$))))
(note the parentheses around $italic-seq$ and $bold-seq$). You want to
call the function not reference the value of a variable.
-dan
--
Daniel Speck e-mail: dspeck@xxxxxxxxxxxx
Research Engineer voice: +1 301.548.7818
Thomson Technology Services Group fax: +1 301.527.4094
1375 Piccard Drive, Rockville, MD 20850 WWW: www.thomtech.com
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: this context requires a sosofo, Chris Maden | Thread | Please do a DSSSL Poster at SGML/XM, Deborah Aleyne Lapey |
| Re: this context requires a sosofo, Chris Maden | Date | Please do a DSSSL Poster at SGML/XM, Deborah Aleyne Lapey |
| Month |