Closed rcontinuum closed 2 years ago
I believe the issue is that you are using gswin64.exe
instead of gswin64c.exe
. I should probably do an automatic check as this is a subtle error that I'm sure has bitten quite a few people...
You are right! gswin64c.exe
works. And you wrote that even in the "Main Settings".
Thank you!
Great. I added the automatic check to my To Do list.
Hello,
I encounter a problem with Iguanatex (v1_59_1.ppam) if I use pdflatex (miktex installed, Windows 10) as the latex engine. It could be a ghostscript problem too.
For any formula I try to generate the temporary pdf file "c:\temp\IguanaTex_tmp.pdf" looks good and contains the expected formula. The next command issued by Iguanatex (I'm in debug mode)
cmd /C "C:\Program Files\gs\gs9.26\bin\gswin64.exe" -q -dBATCH -dNOPAUSE -sDEVICE=bbox IguanaTex_tmp.pdf 2> IguanaTex_tmp.bbx
leads not to an error but to an empty file "IguanaTex_tmp.bbx" , i.e. 0 bytes.
Thus the next command
"C:\Program Files\gs\gs9.26\bin\gswin64.exe" -q -dBATCH -dNOPAUSE -sDEVICE=pngalpha -r1200 -sOutputFile=IguanaTex_tmp_tmp.png -gx -c "<</Install { translate}>> setpagedevice" -f "c:\temp\IguanaTex_tmp.pdf"
results in a ghostscript error message and Iguanatex fails. In a ghostscript window that pops up I see
I assume the reason 2. is failing is the empty bbx-file in 1. The -g option in the gs command line is "empty".
Now, if I execute 1. in a shell, i.e.
cmd.exe
andcd C:\temp
, and remove the -dNOPAUSE option, then ghostscript shows me a ghostscript window with the following text:Thus, command 1. gives a reasonable bounding box but somehow is not able to write it to the bbx file. Additionally, I tried gs9.56.1. The newest version, of ghostscript. But same problem.
Any hints?
PS: engine latex(DVI) works as expected, as it uses "dvipng" for the conversion.