[xep-support] Line break problem/question

Steve Anderson steveo at member.fsf.org
Thu Oct 5 11:04:28 PDT 2006


I've got an FO file with the following markup:

<fo:list-item-body start-indent="body-start()">
    <fo:block>All queues, including those for cases and leads, are now created
                in a single location under
        <fo:inline line-height="100%"
line-height-shift-adjustment="disregard-shifts">
          <fo:inline font-weight="bold" line-height="100%">Setup</fo:inline>
          <fo:inline line-height="100%" font-family="ZapfDingbats">?</fo:inline>
          <fo:inline font-weight="bold" line-height="100%">Manage
Users</fo:inline>
          <fo:inline line-height="100%" font-family="ZapfDingbats">?</fo:inline>
          <fo:inline font-weight="bold" line-height="100%">Queues</fo:inline>
        </fo:inline>.</fo:block>
</fo:list-item-body>

The problem I'm running into is that I get a line break before the
period that's the last character in the block.  Anybody know how I can
avoid that?  Since this is generated FO, I'd like a general solution,
rather than adding keep-together.within-lines="always" to the block
for this specific case.

I suppose I could, while generating, look for specific cases and add a
wrapping fo:inline with keep-together.within-lines="always" like this:

        <fo:inline keep-together.within-line="always">
          <fo:inline font-weight="bold" line-height="100%">Queues</fo:inline>
        </fo:inline>.</fo:inline>
</fo:block>

but I'm really looking for a more elegant solution in the FO.

     Steve
-- 

steveo at member.fsf.org
What you say does matter, and so does how you say it.
-------------------
(*) 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