[pretest] Metapost graphics file not found
Uwe Siart
usenet at siart.de
Wed Mar 3 07:06:59 CET 2021
With the following MetaPost and LaTeX test files
% graph-test.mp -------------------------
u = 1cm;
beginfig(1);
draw (0,0)--(u,0)--(u,u)--(0,u)--cycle;
endfig;
end
% ---------------------------------------
% graph-test.tex ------------------------
\documentclass{article}
\usepackage{graphicx}
\DeclareGraphicsRule{*}{mps}{*}{}
\begin{document}
\includegraphics{graph-test.1}
\end{document}
% ---------------------------------------
the pdflatex log file says:
,----
| LaTeX Warning: File `graph-test.1' not found on input line 5.
`----
However, the graphics is included correctly in the PDF. So the warning
seems to be wrong.
Also I think that \DeclareGraphicsRule{*}{mps}{*}{} was not needed in TL
2020. But I can't test at the moment.
--
Uwe
More information about the tex-live
mailing list.