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

Error when including .eps figure in pdfLaTeX #97

Open
hbghlyj opened this issue Jun 27, 2024 · 0 comments
Open

Error when including .eps figure in pdfLaTeX #97

hbghlyj opened this issue Jun 27, 2024 · 0 comments

Comments

@hbghlyj
Copy link

hbghlyj commented Jun 27, 2024

For example, the LaTeX document:

\documentclass{article}
\begin{filecontents}{1.eps}
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 269 359 342 432
%%HiResBoundingBox: 269.5 359.5 341.5 431.5
%%Creator: Asymptote 2.852.85
%%CreationDate: 2024.06.27 12:49:20
%%Pages: 1
%%Page: 1 1
/Setlinewidth {0 exch dtransform dup abs 1 lt {pop 0}{round} ifelse
idtransform setlinewidth pop} bind def
gsave
 305.5 395.5 translate
newpath 35.75 0 moveto
 35.75 19.7441798 19.7441798 35.75 0 35.75 curveto
 -19.7441798 35.75 -35.75 19.7441798 -35.75 0 curveto
 -35.75 -19.7441798 -19.7441798 -35.75 0 -35.75 curveto
 19.7441798 -35.75 35.75 -19.7441798 35.75 0 curveto
closepath
/Compatible .setblendmode
1 1 0 setrgbcolor
0.5 Setlinewidth
1 setlinecap
1 setlinejoin
10 setmiterlimit
fill
newpath 35.75 0 moveto
 35.75 19.7441798 19.7441798 35.75 0 35.75 curveto
 -19.7441798 35.75 -35.75 19.7441798 -35.75 0 curveto
 -35.75 -19.7441798 -19.7441798 -35.75 0 -35.75 curveto
 19.7441798 -35.75 35.75 -19.7441798 35.75 0 curveto
closepath
0 setgray
stroke
newpath -7.15 14.3 moveto
 -7.15 16.274418 -8.75058202 17.875 -10.725 17.875 curveto
 -12.699418 17.875 -14.3 16.274418 -14.3 14.3 curveto
 -14.3 12.325582 -12.699418 10.725 -10.725 10.725 curveto
 -8.75058202 10.725 -7.15 12.325582 -7.15 14.3 curveto
closepath
fill
newpath 14.3 14.3 moveto
 14.3 16.274418 12.699418 17.875 10.725 17.875 curveto
 8.75058202 17.875 7.15 16.274418 7.15 14.3 curveto
 7.15 12.325582 8.75058202 10.725 10.725 10.725 curveto
 12.699418 10.725 14.3 12.325582 14.3 14.3 curveto
closepath
fill
newpath -13.6933614 -11.4900945 moveto
 -10.4143918 -15.3937228 -5.49696256 -17.875 0 -17.875 curveto
 5.49696256 -17.875 10.4143918 -15.3937228 13.6933614 -11.4900945 curveto
stroke
grestore
showpage
%%EOF
\end{filecontents}
\usepackage[pdftex]{graphicx}
\begin{document}
\begin{center}
  \includegraphics{1}
\end{center}
\end{document}

can be compiled on texlive.net, but cannot be compiled at latexonline.cc, the error message is:

pdflatex -interaction nonstopmode -recorder -output-directory latex.out /tmp/downloads/tmp_5422/main.tex
/tmp/downloads/tmp_5422/main.tex: warning: Writing file `./1.eps'
/tmp/downloads/tmp_5422/main.tex:60: error: [pdftex.def] File `1-eps-converted-to.pdf' not found
      at   \includegraphics{1}
There were errors; /tmp/storage/compilation_5207/output.pdf not updated
@hbghlyj hbghlyj changed the title Error when including .eps figure in PDFLatex Error when including .eps figure in pdfLaTeX Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant