ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: about \placeindex: uppercase initial and lowercase initial, two languages
Date: Sun, 28 Jan 2018 18:51:17 +0100	[thread overview]
Message-ID: <9a4570b7-3c67-9a78-f4a7-5b64b713be10@gmx.es> (raw)
In-Reply-To: <E0D81608-7C5F-45ED-BBE8-C45F149DDBB6@me.com>

On 01/28/2018 03:16 PM, Jeong Dal wrote:
> Hi, 
> 
> To place the index at the end of the book, I put \placeindex before \stopproduct.
> It is compiled well.
> But, for the better output, I have two questions about the index.
> 
> 1. In the output, it distinguished uppercase and lowercase initial.
> [...] 
> Is there a way to make index combining the lowercase and the uppercase together as follows?
> 
> s
> set
> simple statements
> …
> Squeeze theorem

Hi Jeong,

"method={zm, zc}" is your friend here:

    \setupregister[method={zm, zc}]
    \starttext
    \startTEXpage[offset=2em]
    \index{Squeeze theorem}
    \index{simple statements}
    \index{set}
    \index{sweat}
    \placeindex
    \stopTEXpage
    \stoptext

> 2. The index shows the English letters first and the Koren letters follows. 
> Although it is OK that English words are shown first, is there a way
> to make Korean words are shown first since the main language is Korean?

I wonder whether two different indices would make sense here.

I guess register order is related to the position in any charset you
take. The ASCII characters come before any other range you select (not
only CJK, but Greek or Cyrillic).

Just in case it helps,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2018-01-28 17:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1517137201.13647.ntg-context@ntg.nl>
2018-01-28 14:16 ` Jeong Dal
2018-01-28 17:51   ` Pablo Rodriguez [this message]

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=9a4570b7-3c67-9a78-f4a7-5b64b713be10@gmx.es \
    --to=oinos@gmx.es \
    --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).