From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id CD717291D9 for ; Tue, 30 Jan 2024 13:13:31 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 6F971483ADC for ; Tue, 30 Jan 2024 13:11:17 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6RMsL5ggowvU for ; Tue, 30 Jan 2024 13:11:16 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 668084835AA for ; Tue, 30 Jan 2024 13:09:48 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 70FBB480147 for ; Tue, 30 Jan 2024 13:09:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WzID8-23SOwB for ; Tue, 30 Jan 2024 13:09:06 +0100 (CET) Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id C21FF4800EC for ; Tue, 30 Jan 2024 13:09:06 +0100 (CET) Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-602c714bdbeso29198137b3.1 for ; Tue, 30 Jan 2024 04:09:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706616545; x=1707221345; h=to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tbPnC9t7fqDmViqZabtn1n1s/5i/3olwv5m+jwQTe/o=; b=sz5NrrPa9tuuh50N+DQ8O991tIPWtlRnVXXs9N/bCeL68Ja0D5RVRc+v8XjZsCbX2b Qp9g2f0HZDJ57SVLaBROPFKt3Ul1xVWggajenpc7Vq5oW8GC1NLz1+Pw0UNtRvCmGAxI 1pqqkNUgGikcsTQc6m6PI/tR6t+MLzBEVBSCRaeGE+BLf1iYw9NzWhJTuUXaNkgpdJn4 hP8tx2+Lca2NJBf8EzpyEeTHKDy6vVsbxm43QcUgzly8Uv9IF7YxI1hHtVGolHQS33Iw WJtbNd6GdjyYmgAkaA25t+NBmaxsaViwSQjLrmH2aeoIAIaTBnPyXjtOheUIIQzpMF6o nxnQ== X-Gm-Message-State: AOJu0YwSY1iz+WXTvp1sxnQIsedeQ53BBHt+1mssHJK8WsdnM7wqt5ST 4FA+MhL1FtxvBi+p/AVayvcuIH2VpJ3stHYm09nsWSy8rVUtCUOT/d29vWnifICy7vMJ/sTFpd1 u7mcNcOa3Ag3LmlesRBJsB2F2SKJOpNGQ X-Google-Smtp-Source: AGHT+IFndzhiKRSsgwc+yjT9yThVZgFq9wcoxwRms2XzqXumJLYGGV6a7Y42FfCcbelXzdOPB45i7lb5IijOf8+hvvo= X-Received: by 2002:a81:b544:0:b0:5ff:9565:6f59 with SMTP id c4-20020a81b544000000b005ff95656f59mr579716ywk.3.1706616544910; Tue, 30 Jan 2024 04:09:04 -0800 (PST) MIME-Version: 1.0 References: <53d2b089-b0c1-4753-a15f-184c9d5f14e0@gmail.com> <3f6cbeb1-bc02-4f4b-4875-4dc103dc0a9d@gmail.com> <39bd12fc-0781-44c0-9db9-4c1f0be852aa@gmail.com> <12197796-7314-4b58-ad91-87a50143fd48@fiee.net> In-Reply-To: <12197796-7314-4b58-ad91-87a50143fd48@fiee.net> From: BPJ Date: Tue, 30 Jan 2024 13:08:55 +0100 Message-ID: To: mailing list for ConTeXt users Message-ID-Hash: JL3EULANPX2MCK63BFISW65JXM7R24LY X-Message-ID-Hash: JL3EULANPX2MCK63BFISW65JXM7R24LY X-MailFrom: melroch@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: bpj@melroch.se, mailing list for ConTeXt users Subject: [NTG-context] Re: chronological TOC List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============2686718566350351013==" --===============2686718566350351013== Content-Type: multipart/alternative; boundary="000000000000ed62ec061028a0c9" --000000000000ed62ec061028a0c9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Den tis 30 jan. 2024 09:06Henning Hraban Ramm skrev: > Am 29.01.24 um 21:45 schrieb jbf: > > And indeed this is the best solution I could find, though it obviously > > meant that something like '29 April 2017' was no good for sorting on... > > it has to be the US date format YY-MM-DD > > How did you expect a simple sorting algorithm to sort by verbose dates? > BTW, YYYY-MM-DD is ISO 8601. > Just out of curiosity from an occasional user: is it possible in indices to specify a separate sort key and displayed term as you can with makeindex? I remember back in the nineties I used numeric sort keys for a Sanskrit index where the letters were Latin (with lots of diacritics) but the sort order was Indic (a, =C4=81, i, =C4=AB, ... k, kh, g, gh, ...). I assigned a two-d= igit "number" (01, 02, 03, ...) to each grapheme and the sort key consisted of hyphen-separated such numbers. > Hraban > > > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror= ) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > > _________________________________________________________________________= __________ > --000000000000ed62ec061028a0c9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Den tis 30 jan. 2024 09:06Henning Hraban Ramm <texml@fiee.net> skrev:
Am 29.01.24 um 21:45 schrieb jbf:
> And indeed this is the best solution I could find, though it obviously=
> meant that something like '29 April 2017' was no good for sort= ing on...
> it has to be the US date format YY-MM-DD

How did you expect a simple sorting algorithm to sort by verbose dates?
BTW, YYYY-MM-DD is ISO 8601.
=
Just out of curiosity from an occasional user: = is it possible in indices to specify a separate sort key and displayed term= as you can with makeindex? I remember back in the nineties I used numeric = sort keys for a Sanskrit index where the letters were Latin (with lots of d= iacritics) but the sort order was Indic (a, =C4=81, i, =C4=AB, ... k, kh, g= , gh, ...). I assigned a two-digit "number" (01, 02, 03, ...) to = each grapheme and the sort key consisted of hyphen-separated such numbers.<= br>


Hraban

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

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage=C2=A0 : https://www.pragma-ade.nl / http= s://context.aanhet.net (mirror)
archive=C2=A0 : https://github.com/contextgarden/= context
wiki=C2=A0 =C2=A0 =C2=A0: https://wiki.contextgarden.net
___________________________________________________________________________= ________
--000000000000ed62ec061028a0c9-- --===============2686718566350351013== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________ --===============2686718566350351013==--