ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Robert Zydenbos <context@zydenbos.net>
To: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: formatting index entries
Date: Thu, 22 Aug 2019 01:30:51 +0200	[thread overview]
Message-ID: <3B0B3582-AE92-4A0D-814E-5CB08A27F8F3@zydenbos.net> (raw)
In-Reply-To: <babb1648-471b-b39c-ffad-dbd31c4e2d65@gmail.com>

Sorry, that works fine in MkIV, but not in MkII, which I need to use.

Robert

> On 21. Aug 2019, at 17:33, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:
> 
> 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
___________________________________________________________________________________

      reply	other threads:[~2019-08-21 23:30 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 ` formatting index entries Wolfgang Schuster
2019-08-21 23:30   ` Robert Zydenbos [this message]

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=3B0B3582-AE92-4A0D-814E-5CB08A27F8F3@zydenbos.net \
    --to=context@zydenbos.net \
    --cc=ntg-context@ntg.nl \
    --cc=wolfgang.schuster.lists@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).