From: jbf via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: jbf <roma83537@gmail.com>
Subject: registers, how to ignore quote marks
Date: Sat, 29 Jan 2022 13:40:05 +1100 [thread overview]
Message-ID: <23e83330-f646-c389-655a-143eaa9e15cd@gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 832 bytes --]
I have an issue that has been raised at least twice in this list but as
far as I can see it has not received an answer. Perhaps someone can help
with the following?
I have an index entry that has unicode quote marks either side:
‘Innovative Beings’. I need to retain those quote marks. If I put
\index{‘Innovative’} then ‘Innovative’ is sorted under ‘ instead of
under the letter I. How do I get my indexing to ignore the quote marks,
at the very least the initial one?
My index setup at the moment is as follows:
\defineregister[index][compress=yes]
\setupregister[index][n=1]
\defineprocessor[special][style=italic]
The only hint I could gain from the wiki was that it might depend on
using a method key in \setupregister, but I could not see which to use.
Tried a few and got weird results.
Julian
[-- Attachment #1.2: Type: text/html, Size: 1765 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2022-01-29 2:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-29 2:40 jbf via ntg-context [this message]
2022-01-29 4:49 ` Adam Reviczky via ntg-context
2022-01-29 5:23 jbf via ntg-context
2022-01-29 9:43 ` Henning Hraban Ramm via ntg-context
2022-01-29 10:02 ` jbf via ntg-context
2022-01-29 10:39 ` Hans Hagen via ntg-context
2022-01-30 0:30 ` jbf via ntg-context
2022-01-30 9:59 ` Hans Hagen via ntg-context
2022-01-30 20:55 jbf via ntg-context
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=23e83330-f646-c389-655a-143eaa9e15cd@gmail.com \
--to=ntg-context@ntg.nl \
--cc=roma83537@gmail.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).