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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

allowing content to break on ANY character?

naglists
1-Newbie

allowing content to break on ANY character?

Hi,
I am working in Styler 5.2 m050 however I'm working in a FOSI source edit,
so a FOSI answer is required.

I want to permit content in context para/component to break between any two
characters. Technically, that may mean I want to allow content to break
after any character.

Is it possible to specify this?

If it matters, I'm developing a semantic table, so I may have two places to
do this para/content or row/entry. Attributes of entry? Processing
instructions?

I'm currently reading about hyphenation rules, but even if I can figure out
how to set up the right rules, it's reading like those rules are applied at
the document level.

Basically I want logic opposite to
 applied at the character (not word)
level.

--
Paul Nagai
3 REPLIES 3

You are on the right path, looking at the hyphenation rules. The
attributes here also control break before and break after. It has been
some time since I played here but I think you need to specify every (and
I mean every) character than someone might type in this area in the
breakafter attribute.

You put a specific language code on the hyphenation rule and then
indication that this is the language in use in some other attribute.
Again, much too long since I had to do this. But it is possible.

John Dreystadt
Software Development Director
Arbortext - PTC
734-352-2835
-


Paul,

The Hyphenation category can be specified for specific e-i-cs, which is how bilingual documents such as side-by-side English and French are handled.

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



Thanks. With your pointers, I got it.

I'm using:
<rscs>
<hyphrule<br/> brkafchr="- / @ \ . = a b c ... A B C ... 0 1 2 ...">
brkalways="1"
clbrkok="1"
language="para_context_component_monitored_item"
minpush="1"
nobrkchr="1"
pgbrkok="1"
...
</rscs>
...

The XML output by my semantic table includes this (the content of this para
originates in the authored element "component"):

<para role="para_context_component_monitored_item">

<att>
<specval attname="role" attloc="para"&lt;br"/>attval="para_context_component_monitored_item">
<c...