[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Hyphenation in XSL FO

Subject: Re: Hyphenation in XSL FO
From: Gustaf Liljegren <gustaf.liljegren@xxxxxx>
Date: Thu, 11 Jan 2001 13:16:59 +0100
xsl fo no break hyphen
David Carlisle wrote:

>If the rules are sufficiently good then you don't need so many
>exceptions. English (especially with UK as opposed to American
>hyphenation rules) is probably the worst of the European languages

I wouldn't say English is the hardest. In Swedish, there are many compound
words, like "sidlayout" (page layout) or "dokumenthantering" (document
management). In these two examples, there are only one natural place for a
hyphen. To add another level of complication, you may construct your own
words, so if you have a page layout problem, you may say that you have a
"sidlayoutsproblem". And when you found a solution, you have a
"sidlayoutsproblemslösning" (well, there are better ways to say that, but
it's not grammatically wrong). In this case, a program has to know each of
the words to break it naturally (between two words).

There was a proposal (acctually by two Swedes, Svanberg and Järnefors) for
how to solve this in HTML. Not surprisingly, they suggested a hyphenation
list, delivered with every page. Not a neat solution, but probably the best
around for Swedes, if you care for hyphenation.

>That's what &#160; is for isn't it?

Smart, I didn't think of that. Hope implementors do. There's no obvious
reason for a special treatment of no-break spaces or soft hyphens in FO, is
it?

Thanks for the explanation about TeX.

Gustaf Liljegren


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.