arXiv / arXiv/html_feedback

Siunitx qty compatability

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

Description

### Description

When I use a command `\MlRelativeCoverage` defined as `\newcommand{\MlRelativeCoverage}{\qty{63.903196906582814}{\percent}\xspace}`, the resulting HTML is `\qty63.903196906582814`.
I am expecting `63.9 %`, which is what the PDF shows.

The same issue occurs with `\qtyrange`.

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

_No response_

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

Other

### Internal issue ID

e86feeb2-adcd-4ed1-b2dd-aa9e40260d99

### Paper URL

https://services.arxiv.org/html/submission/6873348/view

### Browser

Chrome/140.0.0.0

### Device Type

Desktop

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue from the linked paper URL in Chrome and compare the PDF with the rendered HTML for \qty and \qtyrange. The work is done when the HTML renders the percentage as 63.9 % and handles the range command instead of emitting the raw command syntax.

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.