Re: underlining?

Subject: Re: underlining?
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxx>
Date: Mon, 04 Aug 1997 08:43:56 -0700
At 14:52 97/08/01 -0400, Norm wrote:
>Is it possible to get underlining with the RTF back end?

The Score Flow Object is what you need.  An example is below.

............ Ken

F:\>type temp.sgm
<!DOCTYPE doc [
<!ELEMENT doc - O ( para+ )>
<!ELEMENT para - O ( #PCDATA | under )*>
<!ELEMENT under - O ( #PCDATA )>
]>
<doc>
<para>First paragraph.
<para>Second paragraph <under>with underscoring</under> using
the score flow object.
<para>Third and last paragraph.
</doc>

F:\>type temp.dsl
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN">

(default                       ;handle all elements not explicitly handled
    (process-children))

(element para
    (make paragraph
        (process-children)))

(element under
    (make score
        type: 'after            ;parallel to placement path after text
        (process-children)))

; end of file

F:\>jade -t rtf -d temp.dsl -o temp.rtf -c l:\jade\current\catalog temp.sgm

F:\>


--
G. Ken Holman            mailto:gkholman@xxxxxxxxxxxxxx
Crane Softwrights Ltd.  http://www.CraneSoftwrights.com
1605 Mardick Court, Box 266,         V: +1(613)489-0999
Kars, Ontario CANADA K0A-2E0         F: +1(613)489-0995
PGP Privacy: http://www.cyberus.ca/~holman/gkholman.pgp

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


Current Thread