From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101592 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: =?utf-8?q?=5Cstartregister=E2=80=A6=5Cstopregister_?= =?utf-8?q?bug=3F?= Date: Tue, 14 Aug 2018 17:31:33 +0200 Message-ID: <5deed3ae-0630-5bc6-183a-a9b5937bdb1a@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2114015898265624979==" X-Trace: blaine.gmane.org 1534260870 22621 195.159.176.226 (14 Aug 2018 15:34:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 14 Aug 2018 15:34:30 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 PostboxApp/6.1.1 To: mailing list for ConTeXt users , Alan Bowen Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 14 17:34:26 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fpbKv-0005fS-Ic for gctc-ntg-context-518@m.gmane.org; Tue, 14 Aug 2018 17:34:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7C1915091C; Tue, 14 Aug 2018 17: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 iGochZ-W6Opq; Tue, 14 Aug 2018 17:31:49 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 469D250952; Tue, 14 Aug 2018 17:31:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C0F8750951 for ; Tue, 14 Aug 2018 17:31:48 +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 e2Q4PN7X7z9B for ; Tue, 14 Aug 2018 17:31:48 +0200 (CEST) Original-Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 1E7D65091C for ; Tue, 14 Aug 2018 17:31:38 +0200 (CEST) Original-Received: by mail-ed1-f44.google.com with SMTP id r4-v6so10321321edp.9 for ; Tue, 14 Aug 2018 08:31:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=JNNVigPL65QL0dLlC8sn0lN3GzcLXtWjld1YugCt7VM=; b=u63oKWqzBqtgP/h8y11hMJg+cKBOSZjVR/MIPd+RfQnhyOvYktd6lc3T41sikXjP/p 2XOLNeJVZMtv3/j3M2zUONVD69GjJjUIIkFQaVKmWYnFTCOnIrNwkDu4uUPiVQZP3Ukt I116mPqu5oFi6mbdRsFOrBHc7039/mVMqI1t0nuPEC98E/pu8FrRX1gsnx7FOoicVA1d 9vtWZxIBpyDzNnqqwJ+735rs2Gpv66QhE5Si9hpu3o+nf7wzCsO01jMXWb9fcSxBPz2p cRV0ybtQGiOIzrOjxE2jGTO9jvycv6F3VZ36eoGhrgG6kF7cCFZMwCWYTO9sUOVSogR5 d0iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=JNNVigPL65QL0dLlC8sn0lN3GzcLXtWjld1YugCt7VM=; b=FnK8siG2fbC2F1S4g2ptjV9bMONoydRvKw8mIZ3cJEbqt7n3K1EoWDfkYIfadiKsgk Mqjy+oiROIp0T63COlRT63ATNDQWdH4x0Zs6AbcI1AyVR3vce1tyiq7sjzJk8T+nyrF3 mB+kXt8gezc7ku9b/oPoUMqXXPGGKoLrVTOncJnwLf6etVnweR6nk6JuEyNgRdrck9Qp FSxsobRwJSZYyjkRAfIbC0LeM1ssal0k0e+OZssRh588U+yEWBfIC+aiIPW9Ur0cpoQK YvBLNXcEXy4/UBgRtlKk4iRccRgW5kE+JIYMwoWf0vOWNme3VLV7QS5QZ08ZGenqNOSC NUdg== X-Gm-Message-State: AOUpUlF9pBh/RbKonB3Y/KucZUXVRaCJylA+UVd8Vdfa2VOvh0FvY8jh C4M6otHboaI0KjVa8IOiGbbfCXcW X-Google-Smtp-Source: AA+uWPyzorqCvNCJuzLByYF0Xz3pbGw5N8OjYbWSzfzRKeHPRPv5fdmULAt4dx6cZ30Sb4JVAcNNHg== X-Received: by 2002:a50:ace2:: with SMTP id x89-v6mr28488545edc.152.1534260697890; Tue, 14 Aug 2018 08:31:37 -0700 (PDT) Original-Received: from [192.168.1.11] (x5ce1ebd8.dyn.telefonica.de. [92.225.235.216]) by smtp.gmail.com with ESMTPSA id n46-v6sm16957641edd.6.2018.08.14.08.31.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Aug 2018 08:31:36 -0700 (PDT) In-Reply-To: Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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.org gmane.comp.tex.context:101592 Archived-At: This is a multi-part message in MIME format. --===============2114015898265624979== Content-Type: multipart/alternative; boundary="------------036D3DA2AB8572365DAFFFA6" Content-Language: en-US This is a multi-part message in MIME format. --------------036D3DA2AB8572365DAFFFA6 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit You forgot the second argument for \startregister and \stopregister. \defineregister[TesT] \starttext \startregister[TesT][one]{samples} \input knuth \page \startregister[TesT][two]{more} \input ward \stopregister[TesT][one] \page zapf \stopregister[TesT][two] \blank[3*big] \placeregister[TesT] \stoptext Wolfgang Alan Bowen schrieb am 14.08.18 um 17:25: > In the latest beta (2018.08.10), > > \defineregister[TesT] > \starttext > \startregister[TesT]{samples} > \input knuth > \page > \input ward > \stopregister[TesT] > \blank[3*big] > \placeregister[TesT] > \stoptext > > produces on page 2 the index entry > /samples 1/ > when one expects > /samples 1–2/ > / > / > Alan > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ --------------036D3DA2AB8572365DAFFFA6 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit You forgot the second argument for \startregister and \stopregister.


\defineregister[TesT]

\starttext

\startregister[TesT][one]{samples}

\input knuth

\page

\startregister[TesT][two]{more}

\input ward

\stopregister[TesT][one]

\page zapf

\stopregister[TesT][two]

\blank[3*big]

\placeregister[TesT]

\stoptext


Wolfgang

Alan Bowen schrieb am 14.08.18 um 17:25:
In the latest beta (2018.08.10),

\defineregister[TesT]
\starttext
\startregister[TesT]{samples}
\input knuth
\page
\input ward
\stopregister[TesT]
\blank[3*big]
\placeregister[TesT]
\stoptext

produces on page 2 the index entry
samples 1
when one expects
samples 1–2

Alan
___________________________________________________________________________________
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
___________________________________________________________________________________

--------------036D3DA2AB8572365DAFFFA6-- --===============2114015898265624979== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============2114015898265624979==--