W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2010

RE: keeping word together (not breaking words onto next line)

From: Mario Madunic <Mario_Madunic@newflyer.com>
Date: Mon, 20 Dec 2010 09:46:57 -0600
To: <www-xsl-fo@w3.org>
Message-ID: <36AF0013C402B5448862C43C02A9F44247645C@NFIL050.newflyer.com>
Thanks Jeremias, but it is keeping the entire string on one line instead of forcing an entire word to the next line. I'm looking at keeping words together when they would span two lines. Is there a group of attributes that I should be looking at?

Example:
FLUSH WINDOW ASSEMBLY, NON-EMERGENCY TIP-IN/FIXED

Should become
FLUSH WINDOW ASSEMBLY, NON-EMERGENCY
TIP-IN/FIXED

Not
FLUSH WINDOW ASSEMBLY, NON-EMERGENCY TIP-IN/
FIXED

Marijan (Mario) Madunic
Publishing Specialist
New Flyer Industries

-----Original Message-----
From: www-xsl-fo-request@w3.org [mailto:www-xsl-fo-request@w3.org] On Behalf Of Jeremias Maerki
Sent: Monday, December 20, 2010 8:31 AM
To: www-xsl-fo@w3.org
Subject: Re: keeping word together (not breaking words onto next line)

<fo:block keep-together.within-line="always">My Title</fo:block>

...or the same with fo:inline.

HTH

On 20.12.2010 14:52:13 Mario Madunic wrote:
> I’m trying to keep words in titles together when they would break onto
> two lines. An example would be when a title has the following
> text“TIP-IN/FIXED”. Currently it is breaking the string at the “/
> ” and placing “FIXED” on the next line. What is required is the
> whole string on the next line. How can this be accomplished.
> 
> Marijan (Mario) Madunic
> Publishing Specialist
> New Flyer Industries



Jeremias Maerki



--------------------------------------------------------------------
Please consider the environment before printing this e-mail.

CONFIDENTIALITY STATEMENT: This communication (and  any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you.
Received on Monday, 20 December 2010 15:47:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 December 2010 15:47:33 GMT