mpi-astronomy / arxiv_display

born during a science coffee at MPIA, generates screen content for the corridors
https://mpi-astronomy.github.io/arxiv_display
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

[BUG] Deal with Latex code in article titles - remove \footnote #12

Closed nielbock closed 1 year ago

nielbock commented 1 year ago

Describe the bug There is frequently Latex code in the titles of articles. Some are needed, as they contain code that belongs to the title. Others, typically based on observational data, contain a "\footnote". While the "venign" code should be transformed at some point into something human readable, the \footnote code should be discarded.

Paper identifier This paper is an example for the \footnote. https://arxiv.org/abs/2303.00044

To Reproduce Steps to reproduce the behavior:

  1. look for articles on arxiv.org that contain \footnote in their titles
  2. look at arxiv_display output (see screenshot attached)

Expected behavior Any text formatted with a \footnote code in any article title should not be parsed to appear in the summary produced by arxiv_display.

Screenshots attached

Your platform (please complete the following information):

Additional context image

mfouesneau commented 1 year ago
image

fixed in arxiv_on_deck_2