ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Index sorting in Czech
@ 2003-01-10  8:06 AlterEgo Qasars
  2003-01-10 13:37 ` John Culleton
  2003-01-12 11:31 ` Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: AlterEgo Qasars @ 2003-01-10  8:06 UTC (permalink / raw)


Good morning.

I have to typeset a document in Czech with index. How can I make the 
ConTeXt to sort it according to a Czech custom/norm? I tried to learn it 
from the ConTeXt source but I failed. Is there any help/documentation for 
it?

To show what I need, see this please:

1) accutes: A and Aaccute goes in one section, but Aacute is after A (the
same holds for E/Eacute, I/..., O/..., Y/...; U is special, since there is
U, Uaccute and Uring).

2) carons: Ccaron, Dcaron etc. have thier own section. So there is one 
section for C, one for Ccaron, then is there D, then Dcaron etc.

3) Ecaron is no problem, since no Czech word can begin with it. But it 
goes in one section with E and Eaccute in a following order: E, Eaccute 
and Ecaron.

4) CH is in Czech supposed to be one letter. It stands after H. (There are 
some words where CH is two letters, but it can be ignored.)

5) There are much more rules, but they can be hardly algorithmized since 
they depend on a meaning. I can ignore them.

Can some of you send me an example how to do it? Then I would try to 
implement it myself.

Many thanks and greetings.
Michal Kvasnicka

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

* Re: Index sorting in Czech
  2003-01-10  8:06 Index sorting in Czech AlterEgo Qasars
@ 2003-01-10 13:37 ` John Culleton
  2003-01-12 11:31 ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: John Culleton @ 2003-01-10 13:37 UTC (permalink / raw)


On Friday 10 January 2003 08:06, AlterEgo Qasars wrote:
> Good morning.
>
> I have to typeset a document in Czech with index. How can I make the
> ConTeXt to sort it according to a Czech custom/norm? I tried to learn
> it from the ConTeXt source but I failed. Is there any
> help/documentation for it?
>
> To show what I need, see this please:
>
> 1) accutes: A and Aaccute goes in one section, but Aacute is after A
> (the same holds for E/Eacute, I/..., O/..., Y/...; U is special,
> since there is U, Uaccute and Uring).
>
> 2) carons: Ccaron, Dcaron etc. have thier own section. So there is
> one section for C, one for Ccaron, then is there D, then Dcaron etc.
>
> 3) Ecaron is no problem, since no Czech word can begin with it. But
> it goes in one section with E and Eaccute in a following order: E,
> Eaccute and Ecaron.
>
> 4) CH is in Czech supposed to be one letter. It stands after H.
> (There are some words where CH is two letters, but it can be
> ignored.)
>
> 5) There are much more rules, but they can be hardly algorithmized
> since they depend on a meaning. I can ignore them.
>
> Can some of you send me an example how to do it? Then I would try to
> implement it myself.
>
> Many thanks and greetings.
> Michal Kvasnicka
>
Xindy will do this very well. Visit that site for tutorials etc.
Unfortunately it is LaTeX oriented. But you can adapt macros from
e.g., TeXsis and create a Makeindex file, foo.idx, Then use a
conversion program that comes with Xindy and put it in Xindy format.

Or, use Xindy standalone, build a file of index items in an editor,
process through Xindy and feed the results back into your Context
program with an input statement. 

I am writing you directly because Hans may get annoyed if I tout Xindy
one more time. But it is really the tool of choice for sorting
non-English indexes, such as Hungarian, Norewgian etc.

John Culleton
Able Indexers and Typesetters 
Rowse Reviews
Culleton Editorial Services
http://wexfordpress.com

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

* Re: Index sorting in Czech
  2003-01-10  8:06 Index sorting in Czech AlterEgo Qasars
  2003-01-10 13:37 ` John Culleton
@ 2003-01-12 11:31 ` Hans Hagen
  2003-02-10 14:23   ` Michal Kvasnicka
  2003-02-10 14:30   ` Michal Kvasnicka
  1 sibling, 2 replies; 5+ messages in thread
From: Hans Hagen @ 2003-01-12 11:31 UTC (permalink / raw)


At 09:06 AM 1/10/2003 +0100, you wrote:
>Good morning.
>
>I have to typeset a document in Czech with index. How can I make the
>ConTeXt to sort it according to a Czech custom/norm? I tried to learn it
>from the ConTeXt source but I failed. Is there any help/documentation for
>it?
>
>Can some of you send me an example how to do it? Then I would try to
>implement it myself.

i'll send you an zip archive with czech patches by tom/david; lack of time 
is the reason that i didn't merge it (needs to be done careful); so, i 
would appreciate it if you would check it against the latest beta

Hans


-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

* Re: Index sorting in Czech
  2003-01-12 11:31 ` Hans Hagen
@ 2003-02-10 14:23   ` Michal Kvasnicka
  2003-02-10 14:30   ` Michal Kvasnicka
  1 sibling, 0 replies; 5+ messages in thread
From: Michal Kvasnicka @ 2003-02-10 14:23 UTC (permalink / raw)


Good evening.

Since it seems to me that my last answer was lost, I repost it. If you get it 
twice, I apologize.

> i'll send you an zip archive with czech patches by tom/david; lack of time
> is the reason that i didn't merge it (needs to be done careful); so, i
> would appreciate it if you would check it against the latest beta

I've got the zip file, but it only included these files:
	lang-sla.tex   mult-con.tex
	mult-com.tex   texexec.tex
Only translation of terms (like Chapter, Section, Index, List of Tables etc.) 
is included, no real sorting mechanism. Is there some more file? Or did I 
searched bad? How can I make the ConTeXt to sort indices according to the 
Czech norm? If you would provide me with the rules, I would try to write it 
myself.

Many thanks and greetings.
M.K.

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

* Re: Index sorting in Czech
  2003-01-12 11:31 ` Hans Hagen
  2003-02-10 14:23   ` Michal Kvasnicka
@ 2003-02-10 14:30   ` Michal Kvasnicka
  1 sibling, 0 replies; 5+ messages in thread
From: Michal Kvasnicka @ 2003-02-10 14:30 UTC (permalink / raw)


Good evening.

Since it seems to me that my last answer was lost, I repost it. If you get it 
twice, I apologize. (My stupidness -- I haven't set identity in the new mail 
program. Sorry.)

> i'll send you an zip archive with czech patches by tom/david; lack of time
> is the reason that i didn't merge it (needs to be done careful); so, i
> would appreciate it if you would check it against the latest beta

I've got the zip file, but it only included these files:
        lang-sla.tex   mult-con.tex
        mult-com.tex   texexec.tex
Only translation of terms (like Chapter, Section, Index, List of Tables etc.) 
is included, no real sorting mechanism. Is there some more file? Or did I 
searched bad? How can I make the ConTeXt to sort indices according to the 
Czech norm? If you would provide me with the rules, I would try to write it 
myself.

Many thanks and greetings.
M.K.

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

end of thread, other threads:[~2003-02-10 14:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-10  8:06 Index sorting in Czech AlterEgo Qasars
2003-01-10 13:37 ` John Culleton
2003-01-12 11:31 ` Hans Hagen
2003-02-10 14:23   ` Michal Kvasnicka
2003-02-10 14:30   ` Michal Kvasnicka

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