[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: Sebastian Rahtz <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 10 Jan 2001 12:32:30 +0000
hyphenation exception xsl fo
Gustaf Liljegren writes:
 > >its been done already, for many languages
 > 
 > But how can it be done with so many exceptions to the rules? 
TeX does it at three levels
 - with patterns, for 80-90% of words
 - a list of explicit exceptions compiled in
 - a per-document set of exceptions

 > of words that should not be hyphenated; names on persons, streets and
 > places, days, months and so forth
so, you have to build up your exception list. I promise, it works.

 > Acctually, there's even a need for not
 > splitting two words sometimes; number + unit/currency, street + number and
 > so on. 
thats up to you in the markup to keep two words together

 > But I wouln't call for *that* other than in professional WYSIWYG
 > publishing programs.
I would!!

what are we doing here, if we dont want "professional
publishing"??????

 > Overall, I tend to be a bit sceptical about processing
 > formatting for a whole book in one big step, without a chance to handle
 > exceptions like this.
quite right. but the mechanisms exist
 > >DSSSL is not a formatter, so how can it have a hyphenation exception
 > >dictionary.
 > 
 > Formatter or specification for a formatter, what does it matter? Here's the
 > property I found:
 > 
 > hyphenation-exceptions: is a list of strings. Each string is a word which
 > may contain

well, I take it back. I had not remember that in DSSSL. I bet it isnt
implemented

 > Sorry, I'm just a TeX (or acctually LaTeX) newbie, so I'm not familiar with
 > the concept of patterns. 

have a look at the TeX Book, it'll point you at the research by Knuth
and Liang


 > Do you think this is a criteria for processing a
 > hyphenation list? Would it be too slow otherwise?

hyphenating with a dictionary is slow, yes. 

sebastian


 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.