question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bibtex entry on PyPI/TestPyPI renders strikethrough element <s> around curly braces

See original GitHub issue

Describe 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

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:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mikethemancommented, Sep 24, 2022

@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!

1reaction
mikethemancommented, Sep 23, 2022

Thanks for the detailed example, I’ll take a deeper look at this soon.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found