ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mari Voipio <mari.voipio@iki.fi>
Subject: Sorting index (in Spanish)
Date: Fri, 05 Aug 2005 13:53:59 +0300	[thread overview]
Message-ID: <42F34547.6080004@iki.fi> (raw)


Dear Fellow-Contexters,

I have been charged with editing a ConTeXt document in Spanish (of which 
I understand preciously little). This far I have gotten over the hurdles 
of hyphenation, labeltexts and the upside-down exclamation mark (and as 
far as we can tell, the Spanish hyphenation patterns get loaded, too), 
but now I have a problem sorting the index: the words 'ángulo' and 
'índice' get sorted in the beginning of the index instead of among a and i.

It tried putting something like the example below in a) the setup part 
of my document, b) just before the index (a bit like in the example at 
<http://www.ntg.nl/pipermail/ntg-context/2005/008346.html>, except that 
I use the command \placeindex and not \completeindex) and c) in the 
lang-ita.tex file.

% Changes to sorting to fix the sorting of accented letters
\startlanguagespecifics[es]
\definesortkey {\´a}{a}{a}{\´a}  % á sorted among 'a'
\definesortkey {\´i}{i}{i}{\´i}  % í sorted among 'i'
\stoplanguagespecifics

None of the options a)-c) worked and I'm thinking that this is more of a 
  "stupid user" problem, i.e. as I cannot find any description on how 
\definesortkey works, I just don't understand how to use it properly.


Any help???

Mari


PS. Tried to find related info in contextgarden.net, but can't find much 
  - if it isn't there, I can add stuff (*after* I solve this problem) if 
somebody tells me where I may start growing this flower of mine.

             reply	other threads:[~2005-08-05 10:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-05 10:53 Mari Voipio [this message]
2005-08-05 12:13 ` Hans Hagen
2005-08-08 15:43   ` Hans Hagen

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=42F34547.6080004@iki.fi \
    --to=mari.voipio@iki.fi \
    --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).