From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Robert Zydenbos <context@zydenbos.net>
Subject: Re: formatting index entries
Date: Wed, 21 Aug 2019 17:33:17 +0200 [thread overview]
Message-ID: <babb1648-471b-b39c-ffad-dbd31c4e2d65@gmail.com> (raw)
In-Reply-To: <CB431F54-5AF3-4C8D-920E-DC3972C0BC2D@zydenbos.net>
Robert Zydenbos schrieb am 21.08.2019 um 10:59:
> Dear list members,
>
> In my book I am creating an index. I know that there are commands for formatting index entries, like:
>
> \index{sl::īga}
>
> if I want the word 'īga' to be printed in slanted type. I also know that we can create sub-entries, like
>
> \index{īga+emphasized}
>
> But now I want the word 'īga' to be slanted, but not the word 'emphasized'. I have tried things like \index{sl::īga+rm::emphasized}, but I can't figure this out.
>
> Any suggestions?
\defineprocessor [sl] [style=slanted]
\defineprocessor [bf] [style=bold]
\starttext
\dontleavehmode\index{sl->īga}
\dontleavehmode\index{īga+normal}
\dontleavehmode\index{bf->īga+bold}
\placeindex[balance=no]
\stoptext
Wolfgang
___________________________________________________________________________________
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 prev parent reply other threads:[~2019-08-21 15:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-21 8:59 Robert Zydenbos
2019-08-21 15:10 ` Pablo Rodriguez
2019-08-21 23:35 ` Robert Zydenbos
2019-08-21 23:42 ` formatting index entries: alphabetical order in Unicode Robert Zydenbos
2019-08-21 23:58 ` Richard Mahoney | Indica et Buddhica
2019-08-22 9:20 ` Robert Zydenbos
2019-08-22 14:53 ` Wolfgang Schuster
[not found] ` <43F51ECE-2F99-46B8-B050-DAECC31C9AB9@zydenbos.net>
2019-08-22 16:17 ` Wolfgang Schuster
2019-09-13 10:20 ` Robert Zydenbos
2019-09-13 10:31 ` luigi scarso
2019-09-16 17:22 ` Robert Zydenbos
2019-09-13 10:35 ` Hans Hagen
2019-08-21 15:33 ` Wolfgang Schuster [this message]
2019-08-21 23:30 ` formatting index entries Robert Zydenbos
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=babb1648-471b-b39c-ffad-dbd31c4e2d65@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=context@zydenbos.net \
--cc=ntg-context@ntg.nl \
/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).