On 6/26/2017 2:48 PM, MF wrote:
Hello list,
there's a bug in the way ConTeXt groups the items of a register when
"indicator=yes" and mainlanguage is "it":
- items starting with the J letter are grouped under the I letter
- items starting with the V letter are grouped under the U letter

This is not what one would expect from an index in modern italian.
If you browse an italian dictionary, you will find all the 26 letters.

You can test the bug with this code:
----------------------
\starttext

\mainlanguage[it]

Imbuto\index{imbuto}, Juventus\index{Juventus},
volpe\index{volpe}, Windows\index{Windows},
uovo\index{uovo}, yes\index{yes}.

\placeindex[indicator=yes,n=1]

\stoptext
----------------------

Is there a way to get around this bug and get all the 26 distinct
letters in a register keeping "it" as the main language?
in sort-lan.lua you can fix the table:

definitions["it"] = {
    entries = {

(not sure which italian is responsible for it)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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