Issue with epstopdf not working in LaTeX Compilation

David Carlisle d.p.carlisle at gmail.com
Sat Dec 21 17:40:16 CET 2024


tex-live list is really for issues with the distribution as a whole, not
individual packages, as package issues can not be solved here, they should
be raised with the package maintainers (even if we are on this list:-)

That said, you have not shown any input so it is hard to guess the issue.
You should not have to use the epstopdf package explicitly (epstopdf-base
is automatically loaded by graphicx) and you shouldn't have to use
--shell-escape.

Your log file is incomplete and ends

Package epstopdf Info: Source file: <feedback_n.eps>
(epstopdf)                    date: 2024-02-21 00:21:29
(epstopdf)                    size: 69874 bytes
(epstopdf)             Output file: <feedback_n-eps-converted-to.pdf>
(epstopdf)             Command: <repstopdf
--outfile=feedback_n-eps-converted-t
o.pdf feedback_n.eps>
(epstopdf)             \inc


so does not show any useful error that you got while including the
generated pdf.

Did the feedback_n-eps-converted-to.pdf file fail to get generated (in
which case you should have had an error from ghostscript) or did it get
generated but latex not include it (in which case you should have an error
from latex in the part of the log file not shown)

David




On Sat, 21 Dec 2024 at 16:30, Jian Guo <j.guo at amss.ac.cn> wrote:

> Dear TeX Support Team,
>
>
> I hope this email finds you well.
>
> I am currently working with a LaTeX document that includes .eps files,
> and I am encountering an issue with the epstopdf package. Specifically,
> while epstopdf appears to be loaded correctly, the .eps files are not
> being converted to .pdf as expected during compilation. I have checked
> the following aspects, but the issue persists:
>
>    1.
>
>    *Package Installation*: The epstopdf package is properly installed in
>    my TeX distribution (TeX Live 2024), and I can manually convert .eps
>    files to .pdf using the epstopdf command without any issues.
>    2.
>
>    *-shell-escape Option*: I have ensured that the -shell-escape option
>    is enabled in the LaTeX editor (WinEdt 11.2), as confirmed by the log
>    output showing the runsystem(epstopdf ...) command. However, epstopdf
>    seems not to run automatically during compilation.
>    3.
>
>    *Permissions*: I have verified that there are no permission issues
>    with the .eps files or the output directory. The epstopdf command
>    works manually, but during LaTeX compilation, the .pdf conversion does
>    not seem to trigger automatically.
>    4.
>
>    *File Path and Directory*: The .eps files and the LaTeX source are
>    located in the same directory, and I have tried using relative paths, but
>    the issue persists.
>
> Despite these checks, the error message "File
> 'feedback_n-eps-converted-to.pdf' not found: using draft setting" still
> appears, suggesting that LaTeX cannot find the converted .pdf file, even
> though epstopdf appears to execute successfully in the logs.
>
>
> I would appreciate any advice or suggestions you may have on resolving
> this issue. Thank you for your time and assistance.
>
> Best regards.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20241221/f7683aa9/attachment.htm>


More information about the tex-live mailing list.