[xep-support] keep together/text fitting question

timf at learningtree.com timf at learningtree.com
Wed Aug 20 10:06:35 PDT 2003


John, Nikolai, 

Thanks for the options.  The non-breaking space did the job and will 
probably be the best way for us.  I forgot to mention the text is in 
French, and it is necessary to put the space before all punctuation at the 
end of sentences.  The trick will be getting the editors to remember to 
always put the non-breaking space in.

Tim Frichtel





"Nikolai Grigoriev" <grig at renderx.com>
Sent by: owner-xep-support at renderx.com
08/20/2003 04:45 AM
Please respond to xep-support

 
        To:     <xep-support at renderx.com>
        cc: 
        Subject:        Re: [xep-support] keep together/text fitting question


> the traditional way to do this is to use a non-breaking space 
> instead of a white space. Depending on your encoding, you 
> may need to use an entity reference for the character. In 
> Unicode the reference is &#160; I haven't tried this in XEP, 

It works, and seems to be the easiest solution.

Just for completeness, let me mention a couple of others:

1) Use a space-filled leader instead of a space character:

     Where is the text<fo:leader leader-length="0.5em">?

This is equivalent to the NBSP solution; it has a disadvantage
of greater verbosity but lets you control the distance from the 
text to the question mark in a precise manner.

2) Add some padding before the question mark:

     Where is the text<fo:inline padding-left="0.5em">?</fo:inline>

Same advantages/disadvantages. This one is natural if your 
question mark should be made more visible to the Marketing:

  Where is the text<fo:inline padding-left="6pt" color="red"
                        font="16pt bold Impact">?</fo:inline>

Best regards,
Nikolai Grigoriev
RenderX

-------------------
(*) 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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20030820/9ea75c49/attachment.html>


More information about the Xep-support mailing list