arXiv / arXiv/html_feedback

\subref rendering issues

Open
#6,134 1 comment 0 reactions 0 assignees View on GitHub
bug figure latexml reference
Dominant language
No language data
Stars
42
Forks
40
PR merge metrics
No merged PRs in 30d

Description

### Description

In the PDF version, \subref{label} is rendered as the letter of the subfigure (e.g. "b"), and \ref{label} is rendered as the number of the figure plus the letter of the subfigure (e.g. "3b"). However, in the HTML version, \subref{label} is rendered as the number of the figure plus the letter of the subfigure (e.g. "3b" instead of "b").

This does not align with the behaviour of the PDF version, and hence should be considered a bug.

### (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

eaa38221-bca7-4ace-aa95-b85fe9196ffa

### Paper URL

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

### Browser

Chrome/137.0.0.0

### Device Type

Desktop

Contributor guide

Open the contributing guide

Research direction

No repository files, tests, or entry points are identified. Start by reproducing the linked paper in PDF and HTML, then trace the HTML rendering path for the \subref and \ref cases; done means HTML \subref matches the PDF letter while \ref retains the figure number and letter.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, latex
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.