cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

How to underline hyphenation in a FOSI?

mramshaw
1-Newbie

How to underline hyphenation in a FOSI?

I am having a problem with my underline element in that it is not underlining the hyphen if a word gets hyphenated at the end of a line. I know the scorespc="1" in this snippet <highlt scoring="1" scorespc="1" scorestyle="single"/"> makes the spaces and commas in underlined text be underlined as well as the actual text but is there any way to get the hyphen to be underlined as well? Any help would be greatly appreciated.

4 REPLIES 4

This may help. Editor 5.2 Help says this:

set wordincludechars
set wordincludechars= chars
Specifies a list of punctuation characters that Arbortext Editor should considered as word-constituent characters for selection. The default on UNIX is "-_", so underscores and dashes are considered part of a word. The default on Windows is the null string so underscores and dashes are not considered part of a word selection by default.
Example:
set wordincludechars='-_()$'

However, the hyphen that Editor generates at the end of a line may or may not be seen as part of a word, so this might have no effect.

Hi Mike,

What version are you using? I tested the following in 5.3 and the hyphens are
underlined. A graphic is attached. I tried it with ragged right as well as
justified.

<highlt inherit="1" scoring="1" scorespc="1">

scorestyle is not a characteristic in the 5.3 Outspec DTD, so I'm thinking you
must be using 5.4. If you are, the release notes should mention the new
characteristic and hopefully provide helpful information. If not, contact
Technical Support. And please let us know what you find out.

Good luck!
Suzanne Napoleon
www.FOSIexpert.com
"WYSIWYG is last-century technology!"


I tried your suggestion and the set wordincludechars trick and neither of them worked (but thanks for the suggestions!). I forgot to mention in my original post that we recently transitioned from 5.2 to 5.4 and in 5.2, we did not have this problem. We have opened up a Technical Support call on this and I will let you all know how it turns out in this thread. Thanks again for your suggestions!

In Reply to Suzanne Napoleon:


Hi Mike,

What version are you using? I tested the following in 5.3 and the hyphens are
underlined. A graphic is attached. I tried it with ragged right as well as
justified.

<highlt inherit="1" scoring="1" scorespc="1">

scorestyle is not a characteristic in the 5.3 Outspec DTD, so I'm thinking you
must be using 5.4. If you are, the release notes should mention the new
characteristic and hopefully provide helpful information. If not, contact
Technical Support. And please let us know what you find out.

Good luck!
Suzanne Napoleon
www.FOSIexpert.com
"WYSIWYG is last-century technology!"


I seem to recall a recent thread on a difference post-upgrade (can't
remember versions for sure) that ultimately resulted from a change to the
hyphenation logic. Narrow table cells broke differently? Something like
that.


Announcements

Top Tags