Formatting help needed
Lynch, Jonathan
BNZ2 at CDC.GOV
Thu Dec 23 13:57:52 EST 2004
If you are setting the htmltext, then don't you need to use <p> </p> or
<br> to create returns and linefeeds?
-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of duane
poncy
Sent: Thursday, December 23, 2004 1:54 PM
To: Revolution
Subject: Formatting help needed
I've written this script to format a dictionary entry:
on preOpen
set the useUnicode to true
set the textFont of field "Glyph" to "Aboriginal Sans,unicode"
set the textFont of field "Display" to "Aboriginal Sans,english"
set the htmlText of field "Display" to "<i>" & the htmltext of field
"POS" \
& " " & the htmltext of field "pronounce" & "</i>" & return & \
the htmltext of field "Definitions" & return & \
"<b><i>example</b></i>" & return & \
"<i>" & the htmlText of field "example" & "</i>" \
& return & return & "<b><i>see also </b></i>" & \
"<i>" & the htmlText of field "xref1" & ", " & \
the htmlText of field "xref2" & "</i>"
end preOpen
What I get is this:
---------------------------------
n.
ah dah doh leez dee
prayer; worship
example
doo dah doo dah see also
gadoliga
adaliga
-----------------------------------
what I should (or want to) get is this:
-----------------------------------
n. ah dah doh leez dee
prayer; worship
example
doo dah doo dah
see also
gadoliga, adaliga
------------------------------------
I'm getting CRs where I don't want them,
and I'm not getting them where I do???
Does anyone have any idea what I'm doing wrong?
Thank you.
Duane Poncy
visit elohi gadugi: poetry, software,
Cherokee culture and Native American rights.
http://elohigadugi.org/
--------------------------------------------------------
Another world is not only possible, she is on her way.
On a quiet day, I can hear her breathing. - Arundhati Roy
---------------------------------------------------------
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list