[xep-support] Stretchable no break space

From: Jirka Kosek (jirka@kosek.cz)
Date: Tue Sep 14 2004 - 14:16:02 PDT

  • Next message: David Tolpin: "Re: [xep-support] Stretchable no break space"

    Hi,

    typographical rules for Czech language forbids single letter
    prepositions at the end of line. This is commonly solved by inserting
      ( ) after each preposition. So instead of writing:

    ... V lese ...

    we often write

    ... V lese ...

    and we are sure that the line break would not occur between "V" and
    "lese". The problem is when text-align="justify" is specified and spaces
    between words must be stretched. Normal spaces ( ) are stretched to
    proportionaly distribute gap between words. Unfortunately width of
    no-break space does not stretch so these spaces look thinner than normal
    spaces. This leads to a very unpleasant rendering.

    Is it possible to make no-break space stretchable in XEP (so it will
    behave same way as ~ works in TeX)? Or is there other character with
    similar behaviour?

    If not, can you modify XEP rendering engine to treat no-break space as
    stretchable space? Without this feature it would be impossible to use
    XEP for high-end formatting in Czech language.

    Thanks,

                                    Jirka

    -- 
    ------------------------------------------------------------------
       Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
    ------------------------------------------------------------------
       Profesionální školení a poradenství v oblasti technologií XML.
          Podívejte se na náš nově spuštěný web http://DocBook.cz
    ------------------------------------------------------------------
    
    

    -------------------
    (*) 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 : Tue Sep 14 2004 - 14:33:33 PDT