Here is something I think that should be added to the documentation.

In the ConTeXt garden (page Command/mainlanguage) the description is:

mainlanguage Set the language of auto-generated language elements, like the 
title of the table of contents or the appendix.

On the Command/language page:

Change the hyphenation rules, quotation marks, all that sort of thing, to that 
of a different language. (The default language is English.)

Testing showed that \mainlanguage sets both \currentlanguage and 
\currentmainlanguage to the same value, while \language sets \currentlanguage 
only.

My suggestion is to add info to this behaviour to the mainlanguage page, 
reflecting the fact that \mainlanguage does set both \currentlanguage and 
\currentmainlanguage.Which is not apparent from the current documentation. 

Another solution would be to separate \language and \mainlanguage completely. 
An option I would prefer for clarity, because now the order of calling 
\language and \mainlanguage makes a difference.

dr. Hans van der Meer


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to