Skip to content

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

@matthewfeickert

Description

@matthewfeickert

Describe the bug

This is scikit-hep/pyhf#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions