ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* No indicators in registers when using french as main language
@ 2010-04-07 19:37 Vianney le Clément
  2010-04-07 20:47 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Vianney le Clément @ 2010-04-07 19:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: No indicators in registers when using french as main language
  2010-04-07 19:37 No indicators in registers when using french as main language Vianney le Clément
@ 2010-04-07 20:47 ` Wolfgang Schuster
  2010-04-07 21:01   ` Vianney le Clément
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2010-04-07 20:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: No indicators in registers when using french as main language
  2010-04-07 20:47 ` Wolfgang Schuster
@ 2010-04-07 21:01   ` Vianney le Clément
  0 siblings, 0 replies; 3+ messages in thread
From: Vianney le Clément @ 2010-04-07 21:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-07 21:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-07 19:37 No indicators in registers when using french as main language Vianney le Clément
2010-04-07 20:47 ` Wolfgang Schuster
2010-04-07 21:01   ` Vianney le Clément

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).