[NTG-context] language setting scope

massifr at fastwebnet.it massifr at fastwebnet.it
Wed Apr 20 15:50:13 CEST 2016


I apologize for the noise.
\mainlanguage[it] before \starttext solves the problem.

> Hello list,
> I'm typesetting XHTML italian text with Context (version 4/4/16).
> 
> I've put a \language[it] just after \starttext, but I get words
> with a wrong hyphenation.
> 
> As a patch, I just put \language[it] at the beginning of the xmlsetup
> that processes the <p> tag, and now words are hyphenated right,
> following the italian rules.
> 
> It looks like \language[it] get reset at some point.
> 
> Have you an explanation? 
> 
> Thank you in advance,
> Massi
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________



More information about the ntg-context mailing list