arXiv / arXiv/html_feedback

Cleverref reference \cref for custom theorem not displaying correctly

Open
#140 2 comments 0 reactions 0 assignees View on GitHub
fidelity latexml needs-latex-package
Dominant language
No language data
Stars
42
Forks
40
PR merge metrics
No merged PRs in 30d

Description

### Description

A custom theorem is defined using `\newtheorem{arch}{Architecture}`. However, when referencing an instance of this using `\cref{arch}` (the instance is labelled with "arch"), it is rendered as "1" instead of "Architecture 1" as in the rendered PDF.

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

3729a97c-d353-4115-b9ad-957eee61148f

### Paper URL

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

### Browser

Firefox/120.0

### Device Type

(Not automatically filled in: it's a Linux laptop)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the custom \newtheorem{arch}{Architecture} and \cref{arch} case from the paper at https://arxiv.org/html/2305.10391v2, then inspect the generated HTML around the reference. The fix is done when the HTML renders the reference as “Architecture 1” rather than “1”, matching the PDF.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.