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
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
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 -------------------------------------------------------------------------
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.
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.
participants (5)
-
AlterEgo Qasars
-
Hans Hagen
-
John Culleton
-
Michal Kvasnicka
-
Michal Kvasnicka