* Issue in btx rendering
@ 2022-05-04 12:32 śrīrāma via ntg-context
2022-05-04 12:40 ` śrīrāma via ntg-context
0 siblings, 1 reply; 2+ messages in thread
From: śrīrāma via ntg-context @ 2022-05-04 12:32 UTC (permalink / raw)
To: ntg-context; +Cc: śrīrāma
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Issue in btx rendering
2022-05-04 12:32 Issue in btx rendering śrīrāma via ntg-context
@ 2022-05-04 12:40 ` śrīrāma via ntg-context
0 siblings, 0 replies; 2+ messages in thread
From: śrīrāma via ntg-context @ 2022-05-04 12:40 UTC (permalink / raw)
To: ntg-context; +Cc: śrīrāma
[-- Attachment #1: Type: text/plain, Size: 389 bytes --]
On 5/4/22 6:02 PM śrīrāma wrote:
> 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'
Attaching the output I get which demonstrates the issue with the bad output of
the first entry.
Sreeram
[-- Attachment #2: btx-test.pdf --]
[-- Type: application/pdf, Size: 14288 bytes --]
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-04 12:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-04 12:32 Issue in btx rendering śrīrāma via ntg-context
2022-05-04 12:40 ` śrīrāma via ntg-context
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).