Re: [NTG-context] about \placeindex: uppercase initial and lowercase initial, two languages

2018-01-28 Thread Pablo Rodriguez
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
___

[NTG-context] about \placeindex: uppercase initial and lowercase initial, two languages

2018-01-28 Thread Jeong Dal
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.
For example,

S
Squeeze theorem

s
set
simple statements
…

Is there a way to make index combining the lowercase and the uppercase together 
as follows?

s
set
simple statements
…
Squeeze theorem

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?

Since I just use “\placeindex”, I don’t give a Minimal sample.

Thank you.

Best regards,

Dalyoung
___
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
___