Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve article 1106.3479 (psfrag post-processing) #452

Open
dginev opened this issue Mar 11, 2024 · 0 comments
Open

Improve article 1106.3479 (psfrag post-processing) #452

dginev opened this issue Mar 11, 2024 · 0 comments
Labels
bug Something isn't working figures figure content medium a "usual" difficulty ar5iv issue
Milestone

Comments

@dginev
Copy link
Owner

dginev commented Mar 11, 2024

Exact location of issue

Figures with \psfrag reliance, such as Figure 1.

Problem details

This appears to be a limitation in latexml post-processing. A temporary ltxmlimg.tex is generated and processed with:

latex ltxmlimg > ltxmlimg.ltxoutput

But fails due to the .eps assets not being discovered. Here is a message from the latex run:

402:LaTeX Warning: File `./fig01.eps' not found on input line 75.

The figure in question has the source:

\begin{figure}[htbp]
\psfrag{u}{$u$}
\psfrag{x}{$x$}
\psfrag{xs}{$x^*$}
\psfrag{xp}{$x^+$}
\psfrag{xm}{$x^-$}
\psfrag{mu}{$\mu$}
\psfrag{sigma}{$\sigma$}
\psfrag{u1}{$U_{\text{\scriptsize{$-0.5$}}}$}
\psfrag{u2}{$U_{\text{\scriptsize{$0.5$}}}$}
\psfrag{u3}{$U_{\text{\scriptsize{$1.5$}}}$}
	\centering
		\includegraphics[width=0.95\textwidth]{./fig01.eps}
	\caption{\label{fig:fig1}Bifurcation diagram (top) for the deterministic part of \eqref{eq:simple_ex}-\eqref{eq:simple_ex1}. The potentials are shown as well (bottom). In the bistable regime for $\mu>0$ and $\sigma>0$ noise-induced transitions between the metastable equilibria occur.}
\end{figure} 

I think the surface problem here is just path visibility - the temporary file is generated in a new temporary directory, say /tmp/LaTeXMLraccPV/ltxmlimg.tex, but the .eps files are not copied alongside, and the source directory is not part of TEXINPUTS for the latex run.

@dginev dginev added bug Something isn't working medium a "usual" difficulty ar5iv issue figures figure content labels Mar 11, 2024
@dginev dginev added this to the Coverage 90% milestone Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working figures figure content medium a "usual" difficulty ar5iv issue
Projects
None yet
Development

No branches or pull requests

1 participant