From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/108962 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Duncan Hothersall Newsgroups: gmane.comp.tex.context Subject: Re: Fine tuning an index Date: Fri, 9 Oct 2020 08:31:31 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2310239706855215890==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21821"; mail-complaints-to="usenet@ciao.gmane.io" To: "ntg >> mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 09 09:32:18 2020 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 1kQmsz-0005Zu-ON for gctc-ntg-context-518@m.gmane-mx.org; Fri, 09 Oct 2020 09:32:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DC1A71A9536; Fri, 9 Oct 2020 09:31:53 +0200 (CEST) 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 A7XVgdB3_JDZ; Fri, 9 Oct 2020 09:31:51 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7F78F1A94E8; Fri, 9 Oct 2020 09:31:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id ED8191A94D3 for ; Fri, 9 Oct 2020 09:31:50 +0200 (CEST) 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 xufysuNi9eGr for ; Fri, 9 Oct 2020 09:31:50 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.52; helo=mail-io1-f52.google.com; envelope-from=dh@capdm.com; receiver= Original-Received: from mail-io1-f52.google.com (mail-io1-f52.google.com [209.85.166.52]) (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 EEB781A9496 for ; Fri, 9 Oct 2020 09:31:49 +0200 (CEST) Original-Received: by mail-io1-f52.google.com with SMTP id 67so9129641iob.8 for ; Fri, 09 Oct 2020 00:31:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=capdm.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=8hB23g2ddM65Pv5SZroysijkwifTfmYH2L7JVR6oV9g=; b=GxvZfhfMG/07aL3CXgmEoLmcmCacb7UGk0YZIltuZQxOyUJ/ShV7peYeO7V5z6r9P2 MyVH+ulva4oJTyQbJkBu4xb9TAt4EDgNas8/Su+GIwCpbi13qdw6kkLb2NQ20zQ5rX6y l8Hl/JTv5wEeGK484V+s0LSOFQgmD6EZsl5mQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=8hB23g2ddM65Pv5SZroysijkwifTfmYH2L7JVR6oV9g=; b=R3gX6k3xveRwiRtrdV5BJezutoyTTBYnZV02Wxu4fmLnUs6/xExfRV6DqFizQvZ1rP CUr2MmUAD/5dKbJ3j9WCd45RRP7mEhr9SRWiJip1EtnWiKLlJ/X62gkv1WMyuuBje0Qe h89c4rSqrGE6E9RZvRZepV6bmzF1smN/PmOjXEvrJYMCsNKmtW6kJEqaIjEAXWsE0qE+ /avjK+In1RFLSzPQ4C8gCiQ30imW6lipCnONhQFaXksGRMhrpcEVUVx0v43MIPafdRyp 4n3dYJm4bVuUg6SDLzIJ82++xnz5VHbI2PjXVx51KY6g12Majm+5nn83xHu2eL6H9xoj BsAA== X-Gm-Message-State: AOAM5318+SZYKke48tBQdPH+e4+hzOPrrHVDJxiU+dltGVoTicbqB3Qf 4/hgSYaSti4SeDCgJKu2hCTcomqpyQf8RunKqtZxMatVuL14HA== X-Google-Smtp-Source: ABdhPJwcf41Nrn4ut0wxTNrC/62SjC1XOP6alW61Xg5hfLgAzdwC2InDy7oC5XRsEmXGmeSvbb1mvZt5a+YRPcoa0a4= X-Received: by 2002:a02:3b27:: with SMTP id c39mr9900493jaa.95.1602228707994; Fri, 09 Oct 2020 00:31:47 -0700 (PDT) In-Reply-To: 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:108962 Archived-At: --===============2310239706855215890== Content-Type: multipart/alternative; boundary="000000000000fd79d105b137f0ed" --000000000000fd79d105b137f0ed Content-Type: text/plain; charset="UTF-8" Just a note to add, that \showinjector doesn't seem to do anything unless you also have a \setinjector command, which is a bit counterintuitive since probably the first thing you want to do is see the ID of each line in your list/register before you know what \setinjector command you need. I've worked around it by adding \setinjector[register][1][\relax] after \showinjector. On Fri, 9 Oct 2020 at 07:25, Duncan Hothersall wrote: > Brilliant, thanks, I didn't know about that one. Much appreciated. > > Duncan > > On Thu, 8 Oct 2020 at 21:36, jbf wrote: > >> Duncan, have you looked at >> https://wiki.contextgarden.net/Command/setinjector? >> >> >> You might also need \showinjector. But it should work for indexes >> (register). >> >> Julian >> On 9/10/20 2:58 am, Duncan Hothersall wrote: >> >> Fine tuning column and page breaking in an index. This is tricky, because >> there are usually very few "good" places to break an index, and automatic >> breaking seems to alter slightly depending on whether interactions are set >> up or not, but is there a way to manually insert a column or page break >> into the register before or after a certain entry, the way there is for a >> table of contents? >> >> --000000000000fd79d105b137f0ed Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Just a note to add, that \showinjector=C2=A0doesn'= ;t seem to do anything unless you also have a \setinjector=C2=A0command, wh= ich is a bit counterintuitive since probably the first thing you want to do= is see the ID of each line in your list/register before you know what \set= injector=C2=A0command you need.

I've worked ar= ound it by adding

\setinjector[register][1][\relax= ]

after \showinjector.

On Fri, 9 Oct 2020 at 07:25,= Duncan Hothersall <dh@capdm.com>= wrote:
Brilliant, thanks, I didn't know about that one. Much app= reciated.

Duncan

On Thu, 8 Oct 2020 at 21:36, jbf &= lt;roma83537@gmail= .com> wrote:
=20 =20 =20

Duncan, have you looked at https://wiki.contextgarden.net/Comm= and/setinjector?

You might also need \showinjector. But it should work for indexes (register).

Julian

On 9/10/20 2:58 am, Duncan Hothersall wrote:
Fine=C2=A0tuning column and page breaking in an index. This is tricky, because there are usually very=C2=A0few "good" places to break an i= ndex, and automatic breaking seems to alter slightly depending on whether interactions are set up or not, but is there a way to manually insert a column or page break into the register before or after a certain entry, the way there is for a table of contents?
=
=
--000000000000fd79d105b137f0ed-- --===============2310239706855215890== 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== --===============2310239706855215890==--