[NTG-context] Broken Index Behavior?

luigi scarso luigi.scarso at gmail.com
Fri Mar 2 10:50:55 CET 2018


On Fri, Mar 2, 2018 at 2:28 AM, Brian Wedde <wbrian at onlineed.com> wrote:
> I put ConTeXt on a new server. It works fine except that it is not
> aggregating index results. I have isolated it to a single line, but i do not
> understand why it breaks indexing. Feedback from anybody would be immensely
> helpful. I have already spent way too much time figuring this out.
>
> %Minimal example:
> % ConTeXt  ver: 2017.05.15 21:48 MKII  fmt: 2017.8.17  int: english/english
> \enableregime[utf]
> \starttext
> \index{Aardvark}Aardvark
> \index{Baboon}Baboon
> \index{Camel}Camel
> \pagebreak
> \index{Baboon}Baboon
> \placeindex[compress=yes]
> \stoptext
>
> Outputs Index like this:
>
> A
> Aardvark 1
>
> B
> Baboon 1
>
> C
> Camel 1
>
> B
> Baboon 2
>
> and issues warning when compiling:
> references      : duplicate reference [][Index:b] on page 2
>
> However, if i remove this line, it works fine:
> \enableregime[utf]
>
> I need that line to be able to handle diacritics in the text however. I
> cannot upgrade to mkIV yet as there is a complex toolchain involved.
>
> Running this example with the same installation files and same input returns
> different results when run on my local workstation versus this new machine i
> am working on. It also works fine on the live.contextgarden.net tool.
>
> Can anyone think of a reason why adding "\enableregime[utf]" would break the
> index aggregator? File permissions? Missing tool? Something wrong with
> fonts? Some other context-sensitive misconfiguration?
>
> Any help would be appreciated. Thanks a bunch.
Hm this is what I see

1

Aardvark Baboon Camel


2

Baboon
a
Aardvark 1
b
Baboon 1–2

c
Camel 1


I will send off-list my files

-- 
luigi


More information about the ntg-context mailing list
https://mailman.ntg.nl/pipermail/ntg-context/2018/090984.html
mailman.ntg.nl
crawl=CC-MAIN-2021-49
5090
application/http; msgtype=response
sha1:CCX2UXQBLM7URVEQUSBIRC7XANCGMP22
<urn:uuid:199c9d0a-77af-4e86-a4e2-f6a7240fb383>
2021-11-28T08:47:15Z
5.39.185.232
text/html
sha1:CFO5UOUL7CK5G2T2YHRMJO5CKDH4YCRU
<urn:uuid:d274935d-fc7f-4c2d-98f3-86e40b278e4f>
https://mailman.ntg.nl/pipermail/ntg-context/2018/090984.html
response
<urn:uuid:94966817-496c-421b-892d-5bd11b0ac4a4>
isPartOf: CC-MAIN-2021-49
publisher: Common Crawl
description: Wide crawl of the web for November/December 2021
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-155
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.3-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/