figure 2 sized differently than figures 1, 3
- Dominant language
- No language data
- Stars
- 42
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
### Description
The three figures in https://arxiv.org/html/2312.09974v3 are provided as SVGs. Due to the current CSS, the pictures in Figures 1, 3 have `width:auto`, so they are sized correctly using the SVG width/height attributes. Figure 2 doesn't get `width:auto`, so it is sized using the HTML width/height, which are derived incorrectly due to an ImageMagick bug (I reported the cause some time ago https://github.com/brucemiller/LaTeXML/issues/2471), plus the attributes are rounded to the nearest integer, although that probably doesn't have a very visible effect.
(LaTeXML unfortunately can't compile the TikZ figures directly. Something about the plot in Figure 3 makes both processing and postprocessing run for hours.)
### (Optional:) Please add any files, screenshots, or other information here.
### (Required) What is this issue most closely related to? Select one.
Figures
### Internal issue ID
fb9af8ea-ef21-4fce-8412-0ebe273a5e95
### Paper URL
https://arxiv.org/html/2312.09974v3
### Browser
Chrome/142.0.0.0
### Device Type
Desktop
Contributor guide
Research direction
Start by inspecting the CSS and HTML/SVG sizing for the linked paper, comparing Figure 2 with Figures 1 and 3. Done when Figure 2 receives the same intended sizing behavior as the neighboring SVG figures without relying on the incorrect rounded HTML dimensions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, html
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100