dginev / ar5iv

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

Improve article cond-mat/0309206 (epsfig.sty) #404

Open dginev opened 9 months ago

dginev commented 9 months ago

Exact location of issue

Figures are silently missing from the end of the backmatter

https://ar5iv.labs.arxiv.org/html/cond-mat/0309206#Sx1.F1

Problem details

As an admin enhancement: There should at least be a Warning message emitted when a figure goes missing in latexml conversion - currently the log is too silent.

Separately, we should get the figures to appear.

dginev commented 7 months ago

The figures are based on .ps files, example:

\begin{figure*}
\epsfysize=20cm
\epsffile{fig9.ps}
\caption{ Variation of applied load $\sigma$ vs. average 
uniaxial strain $\langle \epsilon_{xx} \rangle$ as a function of 
(increasing) temperature. From top to bottom,
$A_2=1, 2, 3$ GPa, respectively. Red curves correspond to a polycrystal and blue
curves to a single crystal.}
\end{figure*}

Currently the epsfig.sty.ltxml binding silently ignores them, which needs to get enhanced:

https://github.com/brucemiller/LaTeXML/blob/6ee12be9311b90280fdd89f5bdb4fa13ca118785/lib/LaTeXML/Package/epsfig.sty.ltxml#L68-L69