ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* (mkii) language-specific options for \placeregister[index] ?
@ 2007-12-19  9:47 Steffen Wolfrum
  2007-12-19 13:45 ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Steffen Wolfrum @ 2007-12-19  9:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

the following (with mkii) is probably not the most pressuring topic  
to most of you  ... apologies!


Although I have set	\mainlanguage[de]	the register seems to be  
unaffected. All my cultural heritage (i.e. the Umaut) is ignored!!!

o(

The problem is the sorting – keywords containing umlauts seem to be  
sorted after "e":

Bestimmung
Bühler
Bildung


Are there language-specific arguments/options for	\placeregister[index]?

Thanks,

Steffen


___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: (mkii) language-specific options for \placeregister[index] ?
  2007-12-19  9:47 (mkii) language-specific options for \placeregister[index] ? Steffen Wolfrum
@ 2007-12-19 13:45 ` Wolfgang Schuster
  2007-12-19 21:01   ` Steffen Wolfrum
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2007-12-19 13:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2007/12/19, Steffen Wolfrum <context@st.estfiles.de>:
> Hi,
>
> the following (with mkii) is probably not the most pressuring topic
> to most of you  ... apologies!
>
>
> Although I have set     \mainlanguage[de]       the register seems to be
> unaffected. All my cultural heritage (i.e. the Umaut) is ignored!!!
>
> o(
>
> The problem is the sorting – keywords containing umlauts seem to be
> sorted after "e":
>
> Bestimmung
> Bühler
> Bildung
>
> Are there language-specific arguments/options for       \placeregister[index]?
>
> Thanks,
>
> Steffen

Hi Steffen,

Can you post a example where this did happen for you.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: (mkii) language-specific options for \placeregister[index] ?
  2007-12-19 13:45 ` Wolfgang Schuster
@ 2007-12-19 21:01   ` Steffen Wolfrum
  2007-12-21 14:55     ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Steffen Wolfrum @ 2007-12-19 21:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1319 bytes --]


Am 19.12.2007 um 14:45 schrieb Wolfgang Schuster:

> 2007/12/19, Steffen Wolfrum <context@st.estfiles.de>:
>> Hi,
>>
>> the following (with mkii) is probably not the most pressuring topic
>> to most of you  ... apologies!
>>
>>
>> Although I have set     \mainlanguage[de]       the register seems  
>> to be
>> unaffected. All my cultural heritage (i.e. the Umaut) is ignored!!!
>>
>> o(
>>
>> The problem is the sorting – keywords containing umlauts seem to be
>> sorted after "e":
>>
>> Bestimmung
>> Bühler
>> Bildung
>>
>> Are there language-specific arguments/options for        
>> \placeregister[index]?
>>
>> Thanks,
>>
>> Steffen
>
> Hi Steffen,
>
> Can you post a example where this did happen for you.


Sure, attached you may find a tiny zipped folder called  
"sort_test" (6.2KB).

Inside there are 2 chapter files, an environment file and two test  
files:

"right.tex" includes the chapter files via input: here the register's  
order is right.
"wrong.tex" includes the chapters as components via ConTeXt's project  
strcture: here the register's order is wrong.

Unfortunately I always use this very nice project structure and thus  
all my registers were wrong and needed to be sorted manually ;o(

Steffen

[ConTeXt  ver: 2007.12.14 08:57 MKII]


[-- Attachment #2: sort_test.zip --]
[-- Type: application/zip, Size: 6329 bytes --]

[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: (mkii) language-specific options for \placeregister[index] ?
  2007-12-19 21:01   ` Steffen Wolfrum
@ 2007-12-21 14:55     ` Wolfgang Schuster
  2007-12-21 17:34       ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2007-12-21 14:55 UTC (permalink / raw)
  To: ntg-context

On Wed, 19 Dec 2007 22:01:14 +0100
Steffen Wolfrum <context@st.estfiles.de> wrote:

> Am 19.12.2007 um 14:45 schrieb Wolfgang Schuster:
> 
> > 2007/12/19, Steffen Wolfrum <context@st.estfiles.de>:
> >> Hi,
> >>
> >> the following (with mkii) is probably not the most pressuring topic
> >> to most of you  ... apologies!
> >>
> >> Although I have set     \mainlanguage[de]       the register seems  
> >> to be
> >> unaffected. All my cultural heritage (i.e. the Umaut) is ignored!!!
> >>
> >> o(
> >>
> >> The problem is the sorting – keywords containing umlauts seem to be
> >> sorted after "e":
> >>
> >> Bestimmung
> >> Bühler
> >> Bildung
> >>
> >> Are there language-specific arguments/options for        
> >> \placeregister[index]?
> >>
> >> Thanks,
> >>
> >> Steffen
> >
> > Hi Steffen,
> >
> > Can you post a example where this did happen for you.

Hi Hans and all others,

I found the reason for the wrong index sorting in Steffens files.

The correct sorted file contains something like this.

\enableregime[utf]
\starttext
text\index{Bestimmung} text\index{Bühler} text\index{Bildung} text
\placeindex
\stoptext

The text is enclosed by the normal start/stoptext pair and the document
setup is written before the start of the document while the wrong file
contains this:

\starttext
\enableregime[utf]
text\index{Bestimmung} text\index{Bühler} text\index{Bildung} text
\placeindex
\stoptext

The files did not really contain start/stop but use ConTeXts document
structure and \everystarttext is executed by \startpoduct, the first
command in the product file.

The problem is now, ConTeXt write information for the index sorting
into the tui file and a few additional entries for every spcifiec file
encoding, in this utf-8.

This works quite well in the first example because \enableregime is
writte before \starttext while in the second example the sorting
information are written before ConTeXt knows the file encoding.

A workaround for the moment is to write \enableregime before
\startproduct in the main file but I hope this coule be fiyed in the
next release.

I still wonder why nobody noticed this untill now.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: (mkii) language-specific options for \placeregister[index] ?
  2007-12-21 14:55     ` Wolfgang Schuster
@ 2007-12-21 17:34       ` Hans Hagen
  2007-12-21 18:01         ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2007-12-21 17:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster wrote:

> The problem is now, ConTeXt write information for the index sorting
> into the tui file and a few additional entries for every spcifiec file
> encoding, in this utf-8.

writing the sort vector is hooked into starttext

> This works quite well in the first example because \enableregime is
> writte before \starttext while in the second example the sorting
> information are written before ConTeXt knows the file encoding.
> 
> A workaround for the moment is to write \enableregime before
> \startproduct in the main file but I hope this coule be fiyed in the
> next release.

i'll find another hook

> I still wonder why nobody noticed this untill now.

maybe because of \expanded names, \eacute still sorts somewhat right

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: (mkii) language-specific options for \placeregister[index] ?
  2007-12-21 17:34       ` Hans Hagen
@ 2007-12-21 18:01         ` Wolfgang Schuster
  2007-12-21 18:35           ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2007-12-21 18:01 UTC (permalink / raw)
  To: ntg-context

On Fri, 21 Dec 2007 18:34:32 +0100
Hans Hagen <pragma@wxs.nl> wrote:

> Wolfgang Schuster wrote:
> 
> > The problem is now, ConTeXt write information for the index sorting
> > into the tui file and a few additional entries for every spcifiec file
> > encoding, in this utf-8.
> 
> writing the sort vector is hooked into starttext

I realized this myself, because the only difference between both
version had been the file size of the tui files.

> > This works quite well in the first example because \enableregime is
> > writte before \starttext while in the second example the sorting
> > information are written before ConTeXt knows the file encoding.
> > 
> > A workaround for the moment is to write \enableregime before
> > \startproduct in the main file but I hope this coule be fiyed in the
> > next release.
> 
> i'll find another hook
> 
> > I still wonder why nobody noticed this untill now.
> 
> maybe because of \expanded names, \eacute still sorts somewhat right

I found this solution also but it is easier to write ä, ü ... instead
of \aumlaut, \uumlaut etc.

BTW, why could I use only \aumlaut in macros but not \adiaresis.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: (mkii) language-specific options for \placeregister[index] ?
  2007-12-21 18:01         ` Wolfgang Schuster
@ 2007-12-21 18:35           ` Hans Hagen
  2007-12-21 18:50             ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2007-12-21 18:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster wrote:

> BTW, why could I use only \aumlaut in macros but not \adiaresis.

diae

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: (mkii) language-specific options for \placeregister[index] ?
  2007-12-21 18:35           ` Hans Hagen
@ 2007-12-21 18:50             ` Wolfgang Schuster
  0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Schuster @ 2007-12-21 18:50 UTC (permalink / raw)
  To: ntg-context

On Fri, 21 Dec 2007 19:35:32 +0100
Hans Hagen <pragma@wxs.nl> wrote:

> Wolfgang Schuster wrote:
> 
> > BTW, why could I use only \aumlaut in macros but not \adiaresis.
> 
> diae

D’oh!

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2007-12-21 18:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-19  9:47 (mkii) language-specific options for \placeregister[index] ? Steffen Wolfrum
2007-12-19 13:45 ` Wolfgang Schuster
2007-12-19 21:01   ` Steffen Wolfrum
2007-12-21 14:55     ` Wolfgang Schuster
2007-12-21 17:34       ` Hans Hagen
2007-12-21 18:01         ` Wolfgang Schuster
2007-12-21 18:35           ` Hans Hagen
2007-12-21 18:50             ` Wolfgang Schuster

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