[xep-support] Strange behavior with zero-width space

W. Eliot Kimber ekimber at innodata-isogen.com
Tue Oct 26 13:14:00 PDT 2004


I am generating FO output of this form:

<fo:block>Some stuff
<fo:inline keep-together.within-line="always">keep me
together</fo:inline>&#x200b;<fo:inline 
keep-together.within-line="always">keep me
together</fo:inline>&#x200b; more stuff.
</fo:block>

The intent is to allow the line to break between two adjacent inlines 
that are, individually, kept together on the line.

With 3.8.4, what I'm getting is that the *does not* break at the 
zero-width space *and* if the line does not naturally break following 
the second phrase, that the whitespace following the zero-width space is 
not rendered. That is, I get this output:

   Some stuff keep me togetherkeep me together
   more stuff

Instead of:

   Some stuff keep me together
   keep me together more stuff

And if I have just one lineline followed by a zero-width space I get 
this output:

   Some stuff keep me togethermore stuff

Instead of:

   Some stuff keep me together more stuff

I think this is a bug in XEP--it is certainly counter to what I would 
expect and counter to what XSL Formatter does.

Is this a bug? If not, why not? In either case, is there a workaround?

Thanks,

E.
-- 
W. Eliot Kimber
Professional Services
Innodata Isogen
9390 Research Blvd, #410
Austin, TX 78759
(512) 372-8122

eliot at innodata-isogen.com
www.innodata-isogen.com

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list