arXiv / arXiv/html_feedback

Indent is lost (minted.sty)

Open
#5,825 1 comment 0 reactions 0 assignees View on GitHub
bug listings needs-latex-package
Dominant language
No language data
Stars
42
Forks
40
PR merge metrics
No merged PRs in 30d

Description

### Description

Indent is lost from the code snippet in Figure 2.

Indent is fine in Figure 2 in PDF, but not in HTML.

Also `\par` is printed though it is supposed not to be printed.
```
\par# Handle a read request from a client for key k.
```

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

Image

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

Choose One

### Internal issue ID

ce9b6f8d-49f5-4762-9c90-8bd6bb5207bc

### Paper URL

https://arxiv.org/html/2512.15659v2

### Browser

Chrome/144.0.0.0

### Device Type

Desktop

Contributor guide

Open the contributing guide

Research direction

Start with the HTML rendering of Figure 2 in the paper at https://arxiv.org/html/2512.15659v2 and compare it with the PDF output. Trace how minted.sty content is converted, focusing on the lost indentation and the visible \par; done means the HTML preserves the code indentation and no longer prints \par.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, latex
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.