From: "śrīrāma via ntg-context" <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: śrīrāma <citturs@gmail.com>
Subject: Issue in btx rendering
Date: Wed, 04 May 2022 18:02:57 +0530 [thread overview]
Message-ID: <2825145.e9J7NaK4W3@sreeramtplt> (raw)
[-- Attachment #1: Type: text/plain, Size: 1549 bytes --]
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
[-- Attachment #2: refs.bib --]
[-- Type: text/x-bibtex, Size: 1832 bytes --]
@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},
}
[-- Attachment #3: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2022-05-04 12:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-04 12:32 śrīrāma via ntg-context [this message]
2022-05-04 12:40 ` śrīrāma via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2825145.e9J7NaK4W3@sreeramtplt \
--to=ntg-context@ntg.nl \
--cc=citturs@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).