From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114301 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adam Reviczky via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: registers, how to ignore quote marks Date: Sat, 29 Jan 2022 04:49:50 +0000 Message-ID: References: <23e83330-f646-c389-655a-143eaa9e15cd@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2451914640686637476==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25042"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Adam Reviczky To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 29 05:50:43 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nDfhD-0006Mw-JY for gctc-ntg-context-518@m.gmane-mx.org; Sat, 29 Jan 2022 05:50:43 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9C6D9282AEF; Sat, 29 Jan 2022 05:50:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ma5MxUZ7PwaN; Sat, 29 Jan 2022 05:50:05 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7E6E7289097; Sat, 29 Jan 2022 05:50:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AD4D1289097 for ; Sat, 29 Jan 2022 05:50:03 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Irt0-NnluxMG for ; Sat, 29 Jan 2022 05:50:02 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.54; helo=mail-ed1-f54.google.com; envelope-from=reviczky@gmail.com; receiver= Original-Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 4FB30282AEF for ; Sat, 29 Jan 2022 05:50:02 +0100 (CET) Original-Received: by mail-ed1-f54.google.com with SMTP id p7so14110888edc.12 for ; Fri, 28 Jan 2022 20:50:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PV+OtmJQkbFdHN7wDLk56D7JWaPCOOGMf2gyQrLuG98=; b=Py0KLn/0nu2SbhTi1f1M5WeTIA88mKK9jQYh2PD+JbdpQ/KRuOL+nxE/+G+x3vw91v JxGrn1xq5+Sl8CrVPYsXx/LhgBTRGhsQm00sBtX/NH0Db+K/ihi4A2owPhlcbPAAM68K 7sBdzmlHGnCSyOGC3CNL9GgDEBALHycwVZWempA0bPCqXSQ/bNqwUF9P/NUI08LlMPEy acc3a1F5+QD0CXD5lRzNpz4majZhMrEsuGdvzSquHMv1wAWRlUKZLc2hqoDOjrWMCWrW B5tbsUAvGorC8nGv8i8xo7i8bqc2Lev++zCTGiwoO1mSsycM542kiY78zSB/Ugri+VSu J2ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PV+OtmJQkbFdHN7wDLk56D7JWaPCOOGMf2gyQrLuG98=; b=IxJHkJx+t7uf2b3GqUeRInYmgad266iYveLhVwxbCrYrQ6S+zqSTHDjmXJQpYVVqp/ /x/7SgEK2pSdCT5TgbxkRd1h8wDyJd8Xm02LhApeGLCvMsPjYtGIlzG6ibO1PtHitUVe dOjp3WgYIlY1fTtsCE02WYFiMtb2+67KsoifXGlgWfcnWDJDva1uao0ntCcqrbxShByW PXDonycwgUPOrxaG10UflbELb9DJYQaKzlrf8FyOIEKWocAScATyE3hvQAa7H9VIwVHY m7KOOh7NKK15HoNBO2GonPiJD2oSUqppTXzSNBy+a5dKeulpTHuDbwH/NZQFC4g7Tx0i P/ig== X-Gm-Message-State: AOAM532+W7xhnr/eRrtcRHUc5DvMRmyX/z7NYRLydM0WKNIYMkmZKAqL oUBr9f2GkDSynzO98nXhTd8iMSuOlYMdyLsucFjlpzrewSAJjw== X-Google-Smtp-Source: ABdhPJzelaWkZxwf4iiYhAJfFWskYV9/+EAhf+aZ3cE0R24k6ZIMQ7S20iLRaFBf62fzoyA584bgGeuNEGbm0yMKK+s= X-Received: by 2002:a05:6402:27c8:: with SMTP id c8mr10963503ede.87.1643431801452; Fri, 28 Jan 2022 20:50:01 -0800 (PST) In-Reply-To: <23e83330-f646-c389-655a-143eaa9e15cd@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:114301 Archived-At: --===============2451914640686637476== Content-Type: multipart/alternative; boundary="000000000000bcfcaf05d6b148d0" --000000000000bcfcaf05d6b148d0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Julian, Have you tried \index[Innovative]{=E2=80=98Innovative=E2=80=99}? See wiki entry: https://wiki.contextgarden.net/Registers - To sort a word (such as "ConTeXt" under "C"), use: \index [CONTEXT]{\ConTeXt} You would have to change each index call though. Adam On Sat, Jan 29, 2022 at 2:42 AM jbf via ntg-context wrote: > 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: > =E2=80=98Innovative Beings=E2=80=99. I need to retain those quote marks.= If I put > \index{=E2=80=98Innovative=E2=80=99} then =E2=80=98Innovative=E2=80=99 is= sorted under =E2=80=98 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=3Dyes] > > \setupregister[index][n=3D1] > > \defineprocessor[special][style=3Ditalic] > > The only hint I could gain from the wiki was that it might depend on usin= g > a method key in \setupregister, but I could not see which to use. Tried a > few and got weird results. > > Julian > > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --000000000000bcfcaf05d6b148d0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Julian,

Have you tried \i= ndex[Innovative]{=E2=80=98Innovative=E2=80=99}?

  • To sort a word (such as = "ConTeXt" under "C"), use: \index[CONTEXT]{\ConTeXt}

  • You would have to change each index call though.
    Adam

    On Sat, Jan 29, 2022 at 2:42 AM jbf via ntg-conte= xt <ntg-context@ntg.nl> wro= te:
    =20 =20 =20

    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 hel= p with the following?

    I have an index entry that has unicode quote marks either side: =E2= =80=98Innovative Beings=E2=80=99.=C2=A0 I need to retain those quote marks.= If I put \index{=E2=80=98Innovative=E2=80=99} then =E2=80=98Innovative=E2= =80=99 is sorted under =E2=80=98 instead of under the letter I. How do I ge= t 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][compre=
    ss=3Dyes]
    \setupregister[index][n=3D1]<=
    /span>
    \defineprocessor[special][sty=
    le=3Ditalic]

    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. Tr= ied a few and got weird results.

    Julian

    ___________________________________________________________________________= ________
    If your question is of interest to others as well, please add an entry to t= he Wiki!

    maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
    webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
    archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
    wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
    ___________________________________________________________________________= ________
    --000000000000bcfcaf05d6b148d0-- --===============2451914640686637476== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============2451914640686637476==--