arXiv / html_feedback

Supports a student project developing a UI for feedback on arXiv articles rendered as html.
MIT License
15 stars 3 forks source link

Clicking on link in HTML view leads to 404 #554

Open robertu94 opened 6 months ago

robertu94 commented 6 months ago

Description

When clicking on the link https://arxiv.org/html/2312.00678v1/#bib.bib55 reference for PALM I get a 404 on ArXiV, https://arxiv.org/html/2312.00678v1

(Optional:) Please add any files, screenshots, or other information here.

No response

(Required) What is this issue most closely related to? Select one.

References

Internal issue ID

d1263bb3-24c8-4f1f-87ba-8bde2675c22e

Paper URL

https://arxiv.org/html/2312.00678v1

Browser

Firefox/123.0

Device Type

Desktop

html-feedback-bot[bot] commented 6 months ago

Location in document: undefined

Selected HTML: undefined

github-actions[bot] commented 6 months ago

Hello @robertu94, thanks for the issue report! We are reviewing your report and will address it as soon as possible.

html-feedback-bot[bot] commented 6 months ago

Location in document: undefined

Selected HTML: undefined

chrisjcameron commented 4 months ago

Thanks for your report. We have fixed this issue in new conversions and will recreate the HTML for existing papers when the next version of LaTeXML is released. I rebuilt the HTML for this paper with the updated converter, and it now appears to work. Thank you for bringing this to our attention - we rely on feedback reports to help prioritize improvements to the html conversions. I will close this issue report -- if the issue persists, please let me know.

DominikPeters commented 4 months ago

I proposed a different fix in another repository (remove the trailing / from the <base> tag), which seems preferable to me compared to putting an absolute path into every <a href=""> (for example, suppose someone wants to save the HTML file for offline viewing, then clicking any internal link will send them back online).

https://github.com/arXiv/arxiv-view-as-html/issues/157

chrisjcameron commented 4 months ago

Thank you for the feedback, I will raise this with the team.

mnazzaro commented 4 months ago

Hi Dominik! Thanks for the suggestion. The reason we keep the trailing slash in the base tag (and use absolute urls in the hrefs) is that we can't change the urls of the static assets like figures. That is something that is not configurable in LaTeXML at this time, but may be in a future version. It is definitely a little unwieldy at the moment, especially for offline viewing.

chrisjcameron commented 4 months ago

There is a related issue on the LaTeXML repo: https://github.com/brucemiller/LaTeXML/issues/2356 Once the underlying converter supports the feature, we can revisit offline browsing support.