Re: [xep-support] keep together/text fitting question

From: Nikolai Grigoriev (grig@renderx.com)
Date: Wed Aug 20 2003 - 04:45:59 PDT

  • Next message: Erik S. LaBianca: "[xep-support] pdf page bleeds"

    > 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   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@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



    This archive was generated by hypermail 2.1.5 : Wed Aug 20 2003 - 04:48:58 PDT