arXiv / arXiv/html_feedback

Code listing has indentation cut

Open
#2,378 2 comments 0 reactions 0 assignees View on GitHub
bug listings styles
Dominant language
No language data
Stars
42
Forks
40
PR merge metrics
No merged PRs in 30d

Description

My python code snippet was rendered without indentation in the html version but fine in the pdf.
See example at: https://arxiv.org/html/2410.07586v2 (Section 6.4 - grey area)

I tried to reproduce this with latexml 0.8.8 locally but did not see the issue.

Filed an issue with latexml but was adviced to post here instead.
https://github.com/brucemiller/LaTeXML/issues/2431#issuecomment-2420410721

Contributor guide

Open the contributing guide

Research direction

Start with the example at https://arxiv.org/html/2410.07586v2, focusing on Section 6.4 and comparing its HTML code listing with the PDF. Review the linked LaTeXML issue and try reproducing the behavior with LaTeXML 0.8.8. Done means the Python snippet retains its indentation in the HTML output as it does in the PDF.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.