From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Sorting of abbreviations in index
Date: Sun, 1 Oct 2017 15:31:46 +0200 [thread overview]
Message-ID: <5ADE7C33-A542-4ED2-9F93-C2FA68ABD73E@fiee.net> (raw)
In-Reply-To: <694AD22E-9887-4EAD-9A2E-83C533359025@fiee.net>
Pretty please?
Am 2017-09-25 um 19:50 schrieb Henning Hraban Ramm <texml@fiee.net>:
> Might I get an answer? It’s getting urgent...
>
> In short: \index{\SomeMacro{stuff}} orders not after the result of \SomeMacro{stuff}, but after "SomeMacro".
> The same, if I use \SomeMacro within the sorting option: \index[\SomeMacro{stuff}]{stuff}.
> How can I change this?
>
> Best, Hraban
>
> Am 2017-09-24 um 00:45 schrieb Henning Hraban Ramm <texml@fiee.net>:
>
>> So, in extension of my previous question:
>> I’m combining abbreviations and registers (index).
>> My author wants organizations listed with full name and abbreviation, and I try to avoid many verbose entries in the text.
>>
>> If I use \infull within \index, entries get sorted at i – probably a problem of expansion. How can I solve this?
>>
>> \Sach[\infull{ADN}]{\infull{ADN} (ADN)} doesn’t help.
>>
>> -----
>>
>> \mainlanguage[de]
>> \setupsynonyms [abbreviation] [textstyle=normal]
>>
>> \abbreviation{Abt.}{Abteilung}
>> \abbreviation{ADN}{Allgemeiner Deutscher Nachrichtendienst}
>> \abbreviation{AFL}{American Federation of Labor}
>> \abbreviation{ANC}{African National Congress}
>> \abbreviation{AV}{Auslandsvertretung}
>> \abbreviation{BArch}{Bundesarchiv}
>>
>> \defineregister[Sach][
>> pagestyle=normal,
>> compress=yes,
>> indicator=no,
>> ]
>> \setupregister[Sach][style=normal]
>>
>> \def\Abk#1{\Sach{\infull{#1} (#1)}{\sc\lowercase{#1}}}
>> %\def\qAbk#1{\Sach{\infull{#1} (#1)}}
>>
>>
>> \starttext
>> \section{Intro}
>> \Sach{Abenteuer}\Sach{Abba}\Sach{Alliteration}
>> \Sach{Berta}\Sach{Cäsar}\Sach[Context]{\CONTEXT}\Sach{COBOL}\Sach{Cäsium}
>> \Sach{Igel}\Sach{Jagertee}\Sach{Humboldt}\Sach{infulk}\Sach{infulm}
>>
>> \Abk{ADN}, \Abk{ANC}, \Abk{AV}
>>
>> \section{Abkürzungen}
>> \placelistofabbreviations %[criterium=all]
>>
>> \section{Sachregister}
>> \placeregister[Sach]
>>
>> %\infull{AV}
>> %\infull{AFL}
>>
>> \stoptext
>>
>> -----
>>
>> Greetlings, Hraban
>> ---
>> http://www.fiee.net
>> http://wiki.contextgarden.net
>> GPG Key ID 1C9B22FD
>>
___________________________________________________________________________________
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:[~2017-10-01 13:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-23 10:40 abbreviations: \infull always in small caps Henning Hraban Ramm
2017-09-23 19:28 ` Thomas A. Schmitz
2017-09-23 22:12 ` Henning Hraban Ramm
2017-09-23 22:45 ` Sorting of abbreviations in index Henning Hraban Ramm
2017-09-25 17:50 ` Henning Hraban Ramm
2017-10-01 13:31 ` Henning Hraban Ramm [this message]
2017-10-06 15:13 ` Henning Hraban Ramm
2017-10-09 10:42 ` Jano Kula
2017-10-09 15:35 ` Henning Hraban Ramm
2017-10-09 16:55 ` Jano Kula
2017-10-09 17:03 ` Floris van Manen
2017-09-23 22:46 ` abbreviations: \infull always in small caps Henning Hraban Ramm
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=5ADE7C33-A542-4ED2-9F93-C2FA68ABD73E@fiee.net \
--to=texml@fiee.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).