ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	MF <massifr@fastwebnet.it>
Subject: Re: italian index: "I" and "J" under "I", "U" and "V" under "V"
Date: Mon, 26 Jun 2017 15:34:01 +0200	[thread overview]
Message-ID: <2f3aef6b-a570-1675-fe43-e9fb29d1ec96@wxs.nl> (raw)
In-Reply-To: <1498481293.7546.2.camel@fastwebnet.it>

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	other threads:[~2017-06-26 13:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-26 12:48 MF
2017-06-26 13:34 ` Hans Hagen [this message]
2017-06-26 19:59   ` mf
2017-06-26 21:39   ` Hans Åberg
2017-06-27  7:06     ` Hans Hagen
2017-06-27  8:43       ` Hans Åberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2f3aef6b-a570-1675-fe43-e9fb29d1ec96@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=massifr@fastwebnet.it \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).