arXiv / arXiv/html_feedback

Floats in \afterpage{} calls fail to render

Open
#2,716 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

Figures and tables inside `\afterpage{}` calls fail to render.

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

See every instance of `LABEL:` in the rendered HTML output for [2412.00855v1](https://arxiv.org/abs/2412.00855v1). For example, the table referenced by `LABEL:tableskysy` does not appear anywhere in the rendered HTML at all, nor does the figure referenced by `LABEL:spectra_contaminants`. These are just how the HTML is rendering e.g. the TeX `\autoref{spectra_contaminants}` without a rendered referent; the underlying problem is not the rendered text, but rather the absence of the float itself in the rendered output.

`\afterpage{}` seems to be on the supported packages list so I'm not sure what the problem is. As I understand it, `\afterpage{}` is typically used to solve messy PDF layout issues, so I'm wondering if HTML conversion might be best served by ignoring it.

I am the corresponding author for this paper and I welcome feedback on my TeX. I suspect this is best solved on your end, but I miiight eventually try to see if I can make do without `\afterpage{}`, so please see the [first submitted version](https://arxiv.org/abs/2412.00855v1 ) to guarantee reproducibility.

Thank you for your work to improve accessibility in the arXiv!

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

Figures

### Internal issue ID

05cd3fd7-9cc5-4c67-ad3e-74482752a62f

### Paper URL

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

### Browser

Firefox/132.0

### Device Type

Desktop

Contributor guide

Open the contributing guide

Research direction

Reproduce the problem using the first submitted version of paper 2412.00855v1 and its rendered HTML page, focusing on the \afterpage{} calls containing the missing table and figure. Trace how those floats are handled during HTML conversion; done when the referenced figures and tables appear in the rendered HTML instead of LABEL-only references.

Written by the indexing model from the issue text.

Assessment

Tech stack
tex
Domain
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.