[NTG-context] No indicators in registers when using french as main language

2010-04-07 Thread Vianney le Clément
Hello,

The subject says it all.

\mainlanguage[fr]
\starttext
\index{Item}Item
\placeindex
\stoptext

There is no indicator i in the index. It appears when you comment
out the first line or change it to another language. Adding
\setupregister[index][indicator=yes] does not help.

Another, probably unrelated, problem is that \completeindex does not
seem to do anything.

Vianney
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] No indicators in registers when using french as main language

2010-04-07 Thread Wolfgang Schuster

Am 07.04.10 21:37, schrieb Vianney le Clément:

Hello,

The subject says it all.

\mainlanguage[fr]
\starttext
\index{Item}Item
\placeindex
\stoptext

There is no indicator i in the index. It appears when you comment
out the first line or change it to another language. Adding
\setupregister[index][indicator=yes] does not help.

Another, probably unrelated, problem is that \completeindex does not
seem to do anything.
   

Can you add

\startluacode
sorters.entries ['fr'] = sorters.entries ['en']
sorters.mappings['fr'] = sorters.mappings['en']
\stopluacode

at the begin of your file. Sorting for diacritics won't be perfect but 
you get now a index.


@Hans: can you add this to sort-lan.lua

Wolfgang

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] No indicators in registers when using french as main language

2010-04-07 Thread Vianney le Clément
 Can you add

 \startluacode
 sorters.entries ['fr'] = sorters.entries ['en']
 sorters.mappings['fr'] = sorters.mappings['en']
 \stopluacode

 at the begin of your file. Sorting for diacritics won't be perfect but you
 get now a index.

Thanks. Works perfectly.

Vianney
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___