dginev / ar5iv

A web service offering HTML5 articles from arXiv.org as converted with latexml
https://ar5iv.org
MIT License
782 stars 20 forks source link

Improve article 1611.01578 #287

Open yuxi-liu-wired opened 1 year ago

yuxi-liu-wired commented 1 year ago

Figure 5 has 3 subfigures, but one of them is "NO IMAGE AVAILABLE".

dginev commented 1 year ago

Indeed, the log claims:

Warning:expected:source No graphic source found; skipping
 source was example1.eps
 In Post::Graphics[@0x558754cddef0] ->processGraphic

And the article has example1.pdf. The underlying problem is that latexml wrongly converted the journal template that was submitted alongside with the article.

So this is related to #265 , I will add it as a related test.

dginev commented 1 year ago

Actually, the cause here is different than I thought. There is a single source TeX file and it requests example1.eps. But the only provided asset is example1.pdf. So either the sources distributed by arXiv are missing a file, or there was some custom fallback treatment that used the .pdf in the absence of the .eps.

Will push this back until the cause becomes clearer.

dginev commented 1 year ago

Update: confirming the previous observation really. When a modern (texlive 2022) pdflatex is ran over the article sources (both the ones in the S3 bucket, and the latest sources available in the article page) an error is encountered:

LaTeX Warning: File `example1.eps' not found on input line 297.

! Package pdftex.def Error: File `example1-eps-converted-to.pdf' not found: usi
ng draft setting.

See the pdftex.def package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.297 ...ics[width=0.24\columnwidth]{example1.eps}                                           

So I have to wonder if arXiv is using a different fallback strategy for missing .eps inclusions... May have to ask.