arXiv / arXiv/html_feedback

amsthm: undefined environments, wrong numbering, autoref not working

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

Description

### Description

Thank you for working on an open LaTeX to HTML compiler, it's very nice to have.

Unfortunately, there are three kinds of related(?) problems making it hard to read/follow the paper in question:

- The environments `exa`, `lemC`, and `propC` are "missing" (defined in the supplied documentclass).
`exa` is short for `example`, `lemC` and `propC` are variants of `lem` (lemma) and `prop` (proposition), respecitvely, for stating results with citations (e.g. `\begin{lemC}[\cite{MyReferene}] The statements \end{lemC}`).

- Some references to theorem-like environments follow the "section.counter" scheme (as in the PDF), while others do not. In particular, the "section" part is also missing in the statements/environments themselves (i.e. `Proposition 6` is often referenced as `2.4`, in the PDF it's `Proposition 2.4`).

- \autoref doesn't work for theorem-like environments (it does for sections and tables). For example, it prints `2.4` instead of `Proposition 2.4`.

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

7a702791-828d-4933-b7c6-6eb46f38438d

### Paper URL

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

### Browser

Firefox/133.0

### Device Type

Laptop

Contributor guide

Open the contributing guide

Research direction

Start with the rendered paper at the supplied Paper URL and compare its theorem-like environments and references with the reported PDF behavior. Investigate handling of exa, lemC, propC, section-based numbering, and autoref; done means those environments render and theorem references include the expected labels and numbering.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.