-
Notifications
You must be signed in to change notification settings - Fork 366
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
epstopdf not behaving #1453
Comments
LaTeXTools just calls the compilation commands and doesn't compile the files itself. You can see the actual commands in the sublime text console |
I have tried switching the builder from traditional to basic, though with the builder selected as basic in settings the console output still looks like it is calling Here is the console output:
I get the same error with both settings for builder. |
It seems like you have selected the builder in the build panel. Use |
Well, I have had partial success. XeLaTeX as the builder gives me figure, though it is not calling epstopdf or generating the converted .pdf. |
We do have 2 builders (Basic Builder and Traditional Builder) and each of the builder supports 3 engines (pdflatex, xelatex, luatex).
If you use the basic builder you should have the same result
|
I'm not quite understanding why when I'm running the basic builder I am getting different behavior than when running XeLaTeX directly. When running basic it is just running pdfLaTeX, is there a way to specify which to choose? Should I just set it up in the script builder? |
I would open the ST console |
I am running ST3, with a fresh download of LatexTools on a Windows 10 machine with texlive2019, and ghostscript 9.50.
When running this example document
I am getting a persistent epstopdf error:
Package pdftex.def Error: File 'TryEps-eps-converted-to.pdf' not found: using draft setting. [...graphics[width = 0.8\textwidth]{TryEps.eps}]
I added an explicit path to ghostscript and am running my texpath as:
"texpath" : "C:\\texlive\\2019\\bin\\win32;C:\\Program Files\\gs\\gs9.50\\bin;%PATH",
When I run the same example document in TeXWorks it compiles fine. I have found a difference in the log files.
The LaTeXTools log file contains this section where the error occurs:
The same section from the TeXWorks log file looks like this:
My hunch is that the problem is in the difference between the commands, in LaTeXTools it is:
and in TeXWorks it is:
When I run these commands in BASH from the folder containing the .eps, they both generate the .pdf.
Any and all insight will be greatly appreciated, this has been haunting me for a few weeks now.
The text was updated successfully, but these errors were encountered: