From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114840 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?b?xZtyxKtyxIFtYSB2aWEgbnRnLWNvbnRleHQ=?= Newsgroups: gmane.comp.tex.context Subject: Issue in btx rendering Date: Wed, 04 May 2022 18:02:57 +0530 Message-ID: <2825145.e9J7NaK4W3@sreeramtplt> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart3165896.aeNJFYEL58" Content-Transfer-Encoding: 7Bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37691"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?utf-8?B?xZtyxKtyxIFtYQ==?= To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed May 04 14:33:50 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 1nmECU-0009Yx-4s for gctc-ntg-context-518@m.gmane-mx.org; Wed, 04 May 2022 14:33:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 354AF2A37B4; Wed, 4 May 2022 14:33:10 +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 cpCmHaPGVF84; Wed, 4 May 2022 14:33:09 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DF3922A37E7; Wed, 4 May 2022 14:33:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5FC112A37B4 for ; Wed, 4 May 2022 14:33:07 +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 ay5dffJmwOok for ; Wed, 4 May 2022 14:33:06 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.176; helo=mail-pf1-f176.google.com; envelope-from=citturs@gmail.com; receiver= Original-Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (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 D9EE42A37AE for ; Wed, 4 May 2022 14:33:05 +0200 (CEST) Original-Received: by mail-pf1-f176.google.com with SMTP id j6so1002944pfe.13 for ; Wed, 04 May 2022 05:33:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=IUy+doUZZtsE8qUNFOiPA3AXY70bBr/LIbqFFv5cyjY=; b=nMvdsuCgcslX7tNc/ScKP8HmsAN5DHWYkAn7Q/VkUVNTwvZ6hd+4mkyYGbnR6PUtX6 Dvcf0TKZIxDujbYezQt2KHQcVBR66MySPXzVarAxevfbm5bjJ5mOHCAzI7438us+VLwh 6Ujk8ZhLXfOfoOxm4uqEgxa6U4FIQQ+oUDT+Bqx4YM4dZo+E+8bAtiooC1+6eSQkpGQI vOxFgvEuhkW8/fp1lExgFiFXGFHCcptkv4rdy64IiLQnOq8LfdzkW7NfGtM3iEQgJ2fW afHDovd4Bg8V0a4VjS/n/42i7ViIcML+mmn1TATiW9VOA6WZW9wdPBiwmpVJ5T4XbpZB eD+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=IUy+doUZZtsE8qUNFOiPA3AXY70bBr/LIbqFFv5cyjY=; b=diZ7bvaX1lisr6mfqWswCfCLoszEmHhFHV88s2LOUfyq6LzSKSSo5+SiHqDI74hbcL jbCVx9fNZpB8cE9ThvtP1I7SjQ3eqPqWJ1WaAabT7/cvrzSykEKziN1GVKvTydVKb/yD VjSauOSIu3OEOmMLIEXi89djaOwtoITbn+yXeBJSbqyvrSEwWTDxnpOyJUClnCq5Chk+ jfEpRBLuVIFhX6YfK1DfMeA6GjlfEhKPwe714Md/uD+v/bV4nocawUxS3jq3jpD+fySY 9+0I+WaYUaypviyee15NQsw3P3OubtjXh+9BKTmTUyVmDnbkwi7AuOcJZDyM7TKlHikm ul+g== X-Gm-Message-State: AOAM532uqzxPHLxX1LdHQQdtdyvJDuhA+jrgQ5SDcg2de/iaBI4esd32 yk1rfufFExh09E9WLdwHsGKipKFIjII= X-Google-Smtp-Source: ABdhPJxJHvAdmcunK6vum/fO5xkVhWKpI2j1ZtNAoaXFpqDr1YkpAF6XWRE61l4kulFZwZiAmXx60A== X-Received: by 2002:a63:5011:0:b0:3c1:e24a:e5ea with SMTP id e17-20020a635011000000b003c1e24ae5eamr15823832pgb.359.1651667582700; Wed, 04 May 2022 05:33:02 -0700 (PDT) Original-Received: from sreeramtplt.localnet ([122.167.219.254]) by smtp.gmail.com with ESMTPSA id u5-20020a170903124500b0015e8d4eb25csm8278143plh.166.2022.05.04.05.33.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 05:33:02 -0700 (PDT) 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:114840 Archived-At: This is a multi-part message in MIME format. --nextPart3165896.aeNJFYEL58 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi, [my current version: 2022.05.02 16:19] With the past two-or-so uploads, btx output seems to be broken in some cases. Compiling the below example \usebtxdataset[refs.bib] \usebtxdefinitions[aps] \starttext This reference has a tag which is in camel-case: \cite[Nielsen2011_ChernoffInformationExponentialFamilies] On the other hand this reference has a tag which is lower-case: \cite[vaart1998_asymptoticstatistics] \placelistofpublications \stoptext along with the bibtex file (refs.bib attached here), only the second citation entry has a properly rendered bibliography entry while the first one does not. Notably, any bibtex entries whose tags are not all lowercase (ASCII) are not rendered correctly. Instead, in the log I get publications > unknown tag 'nielsen2011_chernoffinformationexponentialfamilies' in dataset 'default' Almost all my entries in bib files are in camel-case since I find that to be easier to read and it gives me a better clue of what the item is. With some recent uploads I noticed that in publ-ini.lua 'tag' and 'field' entries were string.lowered(). Upon removing those statements, I am able to get the proper output. I also have certain bib files where the entries are not at all in ASCII (so I am not sure what the code might do there, I did not check in detail). I hope I can continue to use camel case for the tags (if its not too much to ask): is there some additional setting that I should change to allow this so that the output is rendered correctly? Thanks, Sreeram --nextPart3165896.aeNJFYEL58 Content-Disposition: attachment; filename="refs.bib" Content-Transfer-Encoding: 7Bit Content-Type: text/x-bibtex; charset="utf-8"; name="refs.bib" @article{Nielsen2013_InformationGeometricCharacterizationChernoff, author = {Nielsen, Frank}, doi = {10.1109/LSP.2013.2243726}, issn = {1070-9908}, journal = {IEEE Signal Processing Letters}, localfile = {Nielsen2013_InformationGeometricCharacterizationChernoff.pdf}, month = {March}, number = {3}, pages = {269--272}, title = {An Information-Geometric Characterization of Chernoff Information}, volume = {20}, year = {2013}, } @article{Nielsen2011_ChernoffInformationExponentialFamilies, author = {Nielsen, Frank}, journal = {CoRR}, localfile = {Nielsen2011_ChernoffInformationExponentialFamilies.pdf}, title = {Chernoff information of exponential families}, url = {http://arxiv.org/abs/1102.2684; https://dblp.org/rec/bib/journals/corr/abs-1102-2684}, volume = {abs/1102.2684}, year = {2011}, } @book{vaart1998_asymptoticstatistics, author = {Vaart, A. W. van der}, collection = {Cambridge Series in Statistical and Probabilistic Mathematics}, doi = {10.1017/CBO9780511802256}, localfile = {Vaart1998_AsymptoticStatistics.pdf}, place = {Cambridge}, publisher = {Cambridge University Press}, series = {Cambridge Series in Statistical and Probabilistic Mathematics}, title = {Asymptotic Statistics}, year = {1998}, } @article{Muller1997_IntegralProbabilityMetricsGeneratingClass, author = {M{\"u}ller, Alfred}, doi = {10.2307/1428011}, issn = {0001-8678, 1475-6064}, journal = {Advances in Applied Probability}, month = {Jun}, number = {2}, pages = {429--443}, title = {Integral Probability Metrics and Their Generating Classes of Functions}, url = {https://www.cambridge.org/core/product/identifier/S000186780002807X/type/journal_article}, volume = {29}, year = {1997}, } --nextPart3165896.aeNJFYEL58 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== --nextPart3165896.aeNJFYEL58--