RE: [xep-support] Scrunched Text

From: Nat Dunn <ndunn@webucator.com>
Date: Sat Nov 10 2007 - 16:50:03 PST

Alejandro,

That works like magic with letters, which is all I need for now. Thanks!!

Nat

-----Original Message-----
From: owner-xep-support@renderx.com [mailto:owner-xep-support@renderx.com]
On Behalf Of Alejandro Masino
Sent: Saturday, November 10, 2007 7:12 PM
To: xep-support@renderx.com
Subject: Re: [xep-support] Scrunched Text

Using:

hyphenate="true" hyphenation-character=""

should make the trick, but only if the string you want to see wrapped
contains letters... the string is split considering words but not
numbers (unless there is some language or script setting for hyphenation
that takes numbers into account as well, but I don't know).

HTH,
Alejandro

Nat Dunn wrote:
> Hello,
>
> Is there a way to set white-space and wrapping attributes so that
> white-space is not ignored, but long lines with no spaces in them don't
get
> scrunched?
>
>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
> <fo:layout-master-set>
> <fo:simple-page-master master-name="page">
> <fo:region-body margin="1in"/>
> </fo:simple-page-master>
> </fo:layout-master-set>
> <fo:page-sequence master-reference="page">
> <fo:flow flow-name="xsl-region-body">
> <fo:block linefeed-treatment="preserve"
> white-space-collapse="false"
> wrap-option="wrap"
>
> white-space-treatment="preserve"
> hyphenate="true"
>
> hyphenation-character="&gt;&gt;">
> The line below gets all scrunched up. How can I make it wrap without
> artificially inserting spaces?
>
0123456789012345678901234567890123456789012345678901234567890123456789012345
> 67890123456789012345678901234567890123456789
>
> I tried using the hyphenation attributes, but they don't do the trick.
>
> When there are spaces it wraps fine:
> 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789
0123456789
> 0123456789 0123456789 0123456789 0123456789 0123456789
> </fo:block>
> </fo:flow>
> </fo:page-sequence>
> </fo:root>
>
> Thanks,
>
> Nat
>
> -------------------
> (*) 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
>
>

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

-------------------
(*) 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 Sat Nov 10 17:19:02 2007

This archive was generated by hypermail 2.1.8 : Sat Nov 10 2007 - 17:19:03 PST