[NTG-context] hyphenation problem with apostrophe

Hans Hagen pragma at wxs.nl
Wed Apr 27 00:30:06 CEST 2005


Peter Münster wrote:
> Hello,
> there is no hyphenation with "l'éducation".
> 
> Example:
> 
> \enableregime[il1]
> \usetypescript[modern][\defaultencoding]
> \setupbodyfont[modern]
> \mainlanguage[fr]
> \starttext
> \dorecurse{66}x éducation
> 
> \dorecurse{65}x l'éducation
> \stoptext
> 
> ConTeXt version is 2005.01.31
> 
> Could someone help please?

The solution is:

\startlanguagespecifics[nl,cz,sk,fr]
   \lccode`\'=`\'
\stoplanguagespecifics

\mainlanguage[fr]

\starttext

\hyphenatedword{\eacute ducation}

\hyphenatedword{l'\eacute ducation}

\stoptext


however, there was a good reason for not making this a default, maybe taco 
remembers why

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list