Skip to main content
1-Visitor
April 12, 2011
Question

How to underline hyphenation in a FOSI?

  • April 12, 2011
  • 4 replies
  • 1260 views

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

    1-Visitor
    April 13, 2011
    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.

    1-Visitor
    April 13, 2011
    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!"


    mramshaw1-VisitorAuthor
    1-Visitor
    April 14, 2011

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


    1-Visitor
    April 14, 2011
    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.