Subject: Re: [xsl] Hyphenation in XSL FO From: Sebastian Rahtz <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 10 Jan 2001 12:32:30 +0000 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Hyphenation in XSL FO, Gustaf Liljegren | Thread | Re: [xsl] Hyphenation in XSL FO, Nikolai Grigoriev |
Re: [xsl] xsl:script: functions wri, Jeni Tennison | Date | Re: [xsl] Hyphenation in XSL FO, David Carlisle |
Month |