From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114982 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?b?xZtyxKtyxIFtYSB2aWEgbnRnLWNvbnRleHQ=?= Newsgroups: gmane.comp.tex.context Subject: Re: =?utf-8?q?List_of_publications=E2=80=A6?= Date: Wed, 18 May 2022 07:34:10 +0530 Message-ID: <5568258.DvuYhMxLoT@sreeramtplt> References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart5823000.lOV4Wx5bFT" Content-Transfer-Encoding: 7Bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34361"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?utf-8?B?xZtyxKtyxIFtYQ==?= , Damien Thiriet To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed May 18 04:04:59 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 1nr93Z-0008cE-S6 for gctc-ntg-context-518@m.gmane-mx.org; Wed, 18 May 2022 04:04:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BF7E6280E25; Wed, 18 May 2022 04:04:22 +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 I1pZZq_jvi3U; Wed, 18 May 2022 04:04:21 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 15201289EA9; Wed, 18 May 2022 04:04:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 22269280E25 for ; Wed, 18 May 2022 04:04:19 +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 ubcwnrn3CaYJ for ; Wed, 18 May 2022 04:04:17 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.180; helo=mail-pf1-f180.google.com; envelope-from=citturs@gmail.com; receiver= Original-Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (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 57351280434 for ; Wed, 18 May 2022 04:04:17 +0200 (CEST) Original-Received: by mail-pf1-f180.google.com with SMTP id i24so785215pfa.7 for ; Tue, 17 May 2022 19:04:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tyIm4oEeB6sZYhSJkKkgQ4aEWnPTuqTx1dkgwWoFtIA=; b=TABraJzeOU0EecbRmjnGYpGfdW6PAzuz/pGcSZz9Gz+dGj72GTQIsXIIlHqmAMZUA0 7Jy+qnaVTL4vSISkmMm/R1a8eyPLn1ceEJnNeNc9p/8AdkAFFKOSiiYF+rK6KujDSyG1 MxgYeR09o147uraYXrnw5LkOy0UoFqTluprbRRdMgU1wXi25DmS7Ts5fw3qO6htWIroI AF5t4PgmOVs9LfzJEYH3WaKmVBbBlmBkGh96jd4qs8l9WIwd3of1mZtoUCW5qM+5H4V3 ix8q3fQ6ueaCw5tHF9YWycrkmX1X63RyoBJyk8NMT8UlzLVnOi4Dy9PfASlQdIw1nuaF EwHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tyIm4oEeB6sZYhSJkKkgQ4aEWnPTuqTx1dkgwWoFtIA=; b=WwkU6nz0mtJI0cTNp6SQOf7qcY5YfwHSAOrCdB5WGqmUc736rBIfBff2+P+Jpwln/Y qhWdbk94B+qjfICIdmCymRxwXCQH6ibMEVEPiaNYTkqRH0cZOpQ8gRiIKZT0YJDUiYm9 A4MWa3zqDtQcX7e/DYFfiZWCx+RW5lIVBpgpVWaonAZKe7CzX920MoIU/mpnlMa4UVru NBetSVaA12W0+LyVd8Ls1uBQoA82pwuFcxBBirMQVyn6wSiud+X/eqCGIL9WjNAI4OFn vmFFe+kHQwgdFi355mTcM8SUNvU9tVm2qcBfNgi0qup7HSVM2fL/c98FlZ1aVjIA7ubG Uh7Q== X-Gm-Message-State: AOAM5302hN8rv8RloSyQbAMRROuKtlTR8m4lDzJOgaP+XmIgSnpP+G+Q r6WUID/iYhL+a1ls6LkhpI5EwFGLP5w= X-Google-Smtp-Source: ABdhPJyUhYGujdff+EYC8EBIAs1dKrSu6I7F22lVTh2nQGATPkrVI0Vk8DMA1TnGwdP7FfJof8SyGw== X-Received: by 2002:a65:6413:0:b0:3f5:f306:d2f7 with SMTP id a19-20020a656413000000b003f5f306d2f7mr1852391pgv.341.1652839454642; Tue, 17 May 2022 19:04:14 -0700 (PDT) Original-Received: from sreeramtplt.localnet ([122.167.231.245]) by smtp.gmail.com with ESMTPSA id a9-20020a170902710900b0015e8d4eb1c6sm296565pll.16.2022.05.17.19.04.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 19:04:14 -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:114982 Archived-At: This is a multi-part message in MIME format. --nextPart5823000.lOV4Wx5bFT Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" On 5/18/22 12:02 AM Damien Thiriet via ntg-context wrote: > Unfortunately, commenting out all occurrences of those two lines > didn't make the job for me. > And using lowercase characters is unfortunately a no-op as far as > I'm concerned: my bib files have been filled with CamelCase for years, > and are loaded by dozens of other files=E2=80=A6 >=20 > is there something I missed? > current version: 2022.05.02 16:19 That's strange: I have LMTX 2022.05.11 11:36 and have no issues with this=20 'patch'. I too have thousands of references across documents, so could not= =20 convert the tags to lowercase, and this patch works for me.=20 I am attaching a diff here. I hope you made the format (context --make) aft= er=20 applying the changes. Sreeram --nextPart5823000.lOV4Wx5bFT Content-Disposition: attachment; filename="publ-ini.diff" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="utf-8"; name="publ-ini.diff" --- publ-ini-1.lua 2022-05-04 08:07:01.410444702 +0530 +++ publ-ini.lua 2022-04-24 09:28:56.499009761 +0530 @@ -22,7 +22,7 @@ -- gain is not that large anyway because not much publication stuff is flushed. local next, rawget, type, tostring, tonumber = next, rawget, type, tostring, tonumber -local match, find, gsub, lower = string.match, string.find, string.gsub, string.lower +local match, find, gsub = string.match, string.find, string.gsub local concat, sort, tohash = table.concat, table.sort, table.tohash local mod = math.mod local formatters = string.formatters @@ -1316,12 +1316,6 @@ local typesetters = { } publications.typesetters = typesetters - local lowered = setmetatableindex(function(t,k) - k = lower(k) - t[k] = k - return k - end) - local function defaulttypesetter(field,value,manipulator) if value and value ~= "" then value = tostring(value) @@ -1428,8 +1422,6 @@ local function get(dataset,tag,field,what,check,catspec) -- somewhat more extensive local current = rawget(datasets,dataset) if current then - tag = lowered[tag] - field = lowered[field] local data = current.luadata[tag] if data then local category = data.category @@ -1479,8 +1471,6 @@ local function btxflush(name,tag,field) local dataset = rawget(datasets,name) if dataset then - tag = lowered[tag] - field = lowered[field] local fields = dataset.luadata[tag] if fields then local manipulator, field = splitmanipulation(field) @@ -1507,8 +1497,6 @@ local function btxfield(name,tag,field) local dataset = rawget(datasets,name) if dataset then - tag = lowered[tag] - field = lowered[field] local fields = dataset.luadata[tag] if fields then local category = fields.category @@ -1534,8 +1522,6 @@ local function btxdetail(name,tag,field) local dataset = rawget(datasets,name) if dataset then - tag = lowered[tag] - field = lowered[field] local fields = dataset.luadata[tag] if fields then local details = dataset.details[tag] @@ -1566,11 +1552,8 @@ local function btxdirect(name,tag,field) local dataset = rawget(datasets,name) if dataset then - tag = lowered[tag] - field = lowered[field] local fields = dataset.luadata[tag] if fields then - field = lowered[field] local manipulator, field = splitmanipulation(field) local value = fields[field] if value then @@ -1589,8 +1572,6 @@ local function okay(name,tag,field) local dataset = rawget(datasets,name) if dataset then - tag = lowered[tag] - field = lowered[field] local fields = dataset.luadata[tag] if fields then local category = fields.category --nextPart5823000.lOV4Wx5bFT 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== --nextPart5823000.lOV4Wx5bFT--