[xep-support] New line in <fo:inline/>

David Tolpin dvd at davidashen.net
Wed Apr 19 13:31:39 PDT 2006


On 21/08/5766, at 23:53, Steve Ylvisaker wrote:

> I have a situation where I need to force multiple lines of text  
> within an inline area. I have tried the obvious: specify a width,  
> exceed it and specify wrap-option="wrap". These parameters seem to  
> be ignored and my inline area just continues to expand.
>
> Is there a way to do this? Or am I headed in the wrong direction.
> Steve
>

Hi Steve,

yes, there is a way. You have keep-together="always" on an ancestor  
of the fo:inline element. keep-together is a shorthand which expands  
to keep-together.{within-page,within-column,within-line}="always".  
XEP, for historical compatibility reasons, regards keep- 
together.within-line on fo:inline and similar elements only, that's  
why when you wrap a fragment into fo:inline, it is kept together  
within line.

A truly conforming formatter would keep your whole block on a single  
line (which the next generation of XEP will do, by the way), even if  
there is no fo:inline. To get the behavior you need, you should  
specify keep-together.within-column instead of just keep-together.

David

-------------------
(*) 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/terms-of-service.html



More information about the Xep-support mailing list