Re: [xep-support] Forcing a character to behave like a space for breaking across lines in Table Cells.

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Tue Oct 09 2007 - 11:42:26 PDT

At 2007-10-09 10:36 -0700, Michaud, Jean-Francois wrote:
>I was wondering if anybody could help with a comma problem we are
>experiencing in PDF.
>
>It would seem that the RenderX engine, within a CELL, condenses a "word"
>in the available space instead of breaking gracefully across lines. In
>particular, we use part numbers that are separated by a comma only (not
>comma space) and the stream of letters (maybe 70 letters) is conden in a
>space of about 1 inch wide (it is of course unreadable).
>
>Is it possible to select certain characters where we want a break to
>occur? Or is a special implementation necessary to insert, for example,
>a no-width space where needed to force a break after the character we
>want to use as a line breaker (this is more processing intensive though
>and if there is a RenderX configuration solution, it would be ideal)?

I highly recommend using the no-width space approach because then you
get total control over where these get inserted.

Here is an example from my XSLT training class:

   replace(.,'([\[(.:/{\\])','$1&#x200b;')

   - replace punctuation characters "[", "(", ".", ":", "/", "{" and
     "\" with itself followed by a Unicode zero-width space

I hope this helps.

. . . . . . . . . . Ken

--
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds:     publicly-available developer resources and training
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Jul'07  http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
-------------------
(*) 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/terms-of-service.html
Received on Tue Oct 9 12:08:33 2007

This archive was generated by hypermail 2.1.8 : Tue Oct 09 2007 - 12:08:39 PDT