[NTG-context] definesortkey

Johan Sandblom jsandblom at gmail.com
Fri Mar 31 01:47:11 CEST 2006


I have a document in Swedish with an index. Merely setting
mainlanguage[sv] does not give correct sort order. I remember doing
something like

\startlanguagespecifics[sv]
\definesortkey[å][z][a][å]
\definesortkey[ä][z][b][ä]
\definesortkey[ö][z][c][ö]
\stoplanguagespecifics

but this no longer has any effect and gives

TeXUtil | unknown entry k in line k {sv}{ec}{å}{z}{a}{å}
TeXUtil | unknown entry k in line k {sv}{ec}{ä}{z}{b}{ö}
TeXUtil | unknown entry k in line k {sv}{ec}{ö}{z}{c}{ö}

from newtexexec (this is on a current windows standalone context)

What is the correct code?

Regards, Johan

--
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell


More information about the ntg-context mailing list