bibtex entry on PyPI/TestPyPI renders strikethrough element <s> around curly braces
See original GitHub issueDescribe the bug
This is https://github.com/scikit-hep/pyhf/issues/2024.
On PyPI and TestPyPI the following RST
.. code:: bibtex
@software{pyhf,
author = {Lukas Heinrich and Matthew Feickert and Giordon Stark},
title = "{pyhf: v0.7.0rc4}",
version = {0.7.0rc4},
doi = {10.5281/zenodo.1169739},
url = {https://doi.org/10.5281/zenodo.1169739},
note = {https://github.com/scikit-hep/pyhf/releases/tag/v0.7.0rc4}
}
@article{pyhf_joss,
doi = {10.21105/joss.02823},
url = {https://doi.org/10.21105/joss.02823},
year = {2021},
publisher = {The Open Journal},
volume = {6},
number = {58},
pages = {2823},
author = {Lukas Heinrich and Matthew Feickert and Giordon Stark and Kyle Cranmer},
title = {pyhf: pure-Python implementation of HistFactory statistical models},
journal = {Journal of Open Source Software}
}
gets rendered out with the strikethrough element <s>
around curly braces:
@software{pyhf,
author = <s>{Lukas Heinrich and Matthew Feickert and Giordon Stark}</s>,
title = <s>"{pyhf: v0.7.0rc4}"</s>,
version = <s>{0.7.0rc4}</s>,
doi = <s>{10.5281/zenodo.1169739}</s>,
url = <s>{https://doi.org/10.5281/zenodo.1169739}</s>,
note = <s>{https://github.com/scikit-hep/pyhf/releases/tag/v0.7.0rc4}</s>
}
@article{pyhf_joss,
doi = <s>{10.21105/joss.02823}</s>,
url = <s>{https://doi.org/10.21105/joss.02823}</s>,
year = <s>{2021}</s>,
publisher = <s>{The Open Journal}</s>,
volume = <s>{6}</s>,
number = <s>{58}</s>,
pages = <s>{2823}</s>,
author = <s>{Lukas Heinrich and Matthew Feickert and Giordon Stark and Kyle Cranmer}</s>,
title = <s>{pyhf: pure-Python implementation of HistFactory statistical models}</s>,
journal = <s>{Journal of Open Source Software}</s>
}
Expected behavior
I would expect that it get rendered out correctly without the <s>
like it is in the project GitHub README and on the project docs.
To Reproduce
- On PyPI: https://pypi.org/project/pyhf/0.6.3/
- On TestPyPI: https://test.pypi.org/project/pyhf/0.7.0rc4/
My Platform
This is not platform dependent. I’ve tested this on Chrome and Firefox on both Linux and Mac.
Additional context
None.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
bibtex entry on PyPI/TestPyPI renders strikethrough element `<s ...
bibtex entry on PyPI /TestPyPI renders strikethrough element `<s>` around curly ... gets rendered out with the strikethrough element <s> around curly braces:...
Read more >fix: allow HTML5 s tag through cleaner by miketheman · Pull ...
Successfully merging this pull request may close these issues. bibtex entry on PyPI/TestPyPI renders strikethrough element <s> around curly braces.
Read more >Using TestPyPI - Python Packaging User Guide
TestPyPI is a separate instance of the Python Package Index (PyPI) that allows you to try out the distribution tools and process without...
Read more >Does pybtex support accent/special characters in .bib file?
An obvious downside is that if you render to a non-LaTeX backend, then you have to remove the brackets in a post-processing stage....
Read more >pelican-bibliography - PyPI
Generated bibliography in Pelican that can be rendered in references and citations.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@matthewfeickert The code here is fixed, and once
warehouse
pulls in the new version there’s an automated process to re-render READMEs with the new code, so there’s no further action needed on your end!Thanks for the detailed example, I’ll take a deeper look at this soon.