Formatting help needed

duane poncy tsalagi at elohigadugi.org
Thu Dec 23 13:54:17 EST 2004


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
---------------------------------------------------------



More information about the use-livecode mailing list