ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Gour <gour@mail.inet.hr>
Cc: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: Indexing macros
Date: Wed, 4 Dec 2002 15:30:38 +0100	[thread overview]
Message-ID: <20021204143038.GD20691@mail.inet.hr> (raw)
In-Reply-To: <200212031333.47102.john@wexfordpress.com>

John Culleton (john@wexfordpress.com) wrote:

> Perhaps as is so often the case, the features are there but not yet
> described in Context. A Context-only solution would be nice, but in
> the meantime the power of the existing packages are available. 

I agree that ConTeXt-only solution would be terrific since it will provide
better mechanism for extension & easier maintainance.

However, main reason why I had to switch to Xindy (over makeindex) was handling
of my national alphabet (Croatian) as well as ability to define my sort order -
for Sanskrit transliteration.

For example, here is the part of my xindy file which handled Sanskrit
diacritics for LaTeX:

(define-rule-set "resolve-sanskrit-diacritics"

   :rules  (("\\={(a)}" "\1" :bregexp :again)
            ("\\={\\i}" "i" :bregexp :again)
            ("\\={I}" "I" :bregexp :again)
            ("\\d{(r)}" "ri" :bregexp :again)
            ("\\d{(t)}" "\1" :bregexp :again)
            ("\\d{(T)}" "\1" :bregexp :again)
            ("\\d{(d)}" "\1" :bregexp :again)
            ("\\d{(n)}" "\1" :bregexp :again)
                 ...
            ))

This snippet just resolve sanskrit diacritics and sort them according to their
Latin (or Croatian) counterpart chars without accent.

It would be wonderful to be able to do such things with ConTeXt only.

Sincerely,
Gour

-- 
Gour
gour@mail.inet.hr
Registered Linux User #278493

  parent reply	other threads:[~2002-12-04 14:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-02 16:20 John Culleton
2002-12-02 16:41 ` Taco Hoekwater
2002-12-03 13:33   ` John Culleton
2002-12-03 16:57     ` Hans Hagen
2002-12-03 16:59     ` Hans Hagen
2002-12-04 14:30     ` Gour [this message]
2002-12-02 16:51 ` Hans Hagen
2002-12-03 14:18   ` John Culleton
2008-09-11 20:58 width of cell in TABLE Peter Münster
2008-09-12  8:27 ` span ROWS in \starttables? Alan BRASLAU
2008-09-12 13:37   ` Aditya Mahajan
2008-09-15 12:49     ` Indexing macros Alan BRASLAU

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=20021204143038.GD20691@mail.inet.hr \
    --to=gour@mail.inet.hr \
    --cc=ntg-context@ntg.nl \
    --cc=taco@elvenkind.com \
    /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).