From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/10273 Path: main.gmane.org!not-for-mail From: John Culleton Newsgroups: gmane.comp.tex.context Subject: Re: More in lang-ger.tex and a MetaPost problem Date: Sat, 11 Jan 2003 11:15:56 +0000 Organization: WexfordPress Sender: ntg-context-admin@ntg.nl Message-ID: <200301111115.56605.john@wexfordpress.com> References: <20030108141559.11b771d8.md9per@mdstud.chalmers.se> <200301081251.42724.john@wexfordpress.com> <20030108193621.53f3091d.mickep@math.chalmers.se> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1042301874 28496 80.91.224.249 (11 Jan 2003 16:17:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 11 Jan 2003 16:17:54 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18XOKW-0007PS-00 for ; Sat, 11 Jan 2003 17:17:52 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id ED37410AE9; Sat, 11 Jan 2003 17:19:11 +0100 (MET) Original-Received: from mta3.adelphia.net (unknown [64.8.50.181]) by ref.ntg.nl (Postfix) with ESMTP id 5823F10ABB for ; Sat, 11 Jan 2003 17:18:24 +0100 (MET) Original-Received: from publish ([68.65.115.54]) by mta3.adelphia.net (InterMail vM.5.01.05.25 201-253-122-126-125-20021216) with ESMTP id <20030111161813.ZYUM11894.mta3.adelphia.net@publish>; Sat, 11 Jan 2003 11:18:13 -0500 Original-To: ntg-context@ntg.nl, Mikael Persson X-Mailer: KMail [version 1.4] In-Reply-To: <20030108193621.53f3091d.mickep@math.chalmers.se> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:10273 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:10273 On Wednesday 08 January 2003 18:36, Mikael Persson wrote: > On Wed, 8 Jan 2003 12:51:42 +0000 > > John Culleton wrote: > I have used xindy in LaTeX and liked it alot. Do I read your text > correct between the lines when I read that ConTeXt uses makeindex as > default but there is a way to use xindy instead to sort things? Or > does ConTeXt sort things in another way? > > Regards, Micke P > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context Context has its own indexing and sorting routines. So substituting either makeindex or Xindy requires writing or adapting output routines and input routines, and probably an output filter as well for Xindy.=20 I have played with the simple routines found in index.tex as found in the texsis distribution. My version is called indexx.tex and changes the command names to avoid conflict with Context macros.=20 But that does not directly address your problem. So I will work on the three pieces in a generic sort of way, the output routine, the filter, and the input routines (the latter are relatively trivial.) In the process I will be borrowing from xindy.sty, eplain.tex, texsis and so on.=20 I plan to use a simple macro which looks like \idx{a string of stuff} and outputs to a file \idx{a string of stuff}{folio} The string of stuff will have to include the keys, the formatting attributes for both keys and locator, and special indicators such as=20 see and seealso. I like the xindy.sty convention which uses ordinary punctuation to separate keys, sort keys, locator attributes etc.=20 (I like it because it simplifies macro writing :) The filter will have to break down the string into parts, and translate the parts into xindy raw format. So don't hold your breath for my work! But it all seems doable. And there is a frequent demand for language-specific sorting and categorization within Context. In the meantime one can perhaps use the makeindex4 conversion program and hand-modify the results. At some point I will have to adopt a xdy style file or write one. But each language will require its own xdy file or subfile that specifies the alphabet and sort order.=20 --=20 John Culleton Able Indexers and Typesetters=20 Rowse Reviews Culleton Editorial Services http://wexfordpress.com