Open Thomas19842 opened 7 years ago
I investigated this problem a bit and found the following issues and solution:
After having pdflatex exit with code 1 (i.e., with an error) the pdflatex.log file of MiKTeX has the following error messages:
INFO .. starting with command line: pdflatex ... C:/Users/.../AppData/Local/Temp/TE_temp_preview18216.tex
...
INFO pdflatex - going to create file: C:\Users\...\AppData\Roaming\TikzEdt\TikzEdt\023~1.0\TEMP_H~1.fmt
ERROR pdflatex - output:
ERROR pdflatex -
Sorry, but "MiKTeX Configuration Utility" did not succeed for the following reason:
Unknown format name/engine: TEMP_H~1/pdftex
The log file hopefully contains the information to get MiKTeX going again:
C:/Users/.../AppData/Local/MiKTeX/2.9/miktex/log/initexmf.log
In the file initexmf.log, I find:
INFO initexmf - starting with command line: initexmf --enable-installer --dump-by-name=TEMP_H~1 --engine=pdftex
FATAL initexmf - Unknown format name/engine: TEMP_H~1/pdftex
So it seems to me that there is some problem with the format file at C:\Users\...\AppData\Roaming\TikzEdt\TikzEdt\0.2.3.0\temp_header.fmt
. If I delete it, TikzEdt tries to regenerate it from temp_header.tex
but hangs.
temp_header.tex
is a hidden file (for whatever reason) and when I checked it, I saw that it contained corrupted commands such as reviewEnvironment{tikzpicture}
instead of \PreviewEnvironment{tikzpicture}
. After deleting these problematic commands, TikzEdt works again.
For future reference, my issue is fixed (so far) by not doing the above (my file has \PreviewEnvironment{tikzpicture}) Instead I launched TikzEdt and went to Compilation > (Re-)Generate precompiled headers.
Also, I would like to take this opportunity to tag #77 , Does anyone know how to compile this program from source code?
Hello,
I have the following problem with new miktex installations since maybe a half year. I can't use the preview and compiling function. The miktex installation was found and all packages are installed but if I use the Tikzedt I have the following error.
The same problem I also have with other scripts which use the latex Compilers. They can't find latex.exe whether the path is correct and the normal installation is working with editors like TecnicCenter. After a long time trying I didn't found any solution for this Issue. I can't only explain that something changed at latex.exe and maybe arguments didn't work.
Does anyone have some experience there? How can I change it in my scripts and also in TikzEdt?
Thank you very much in advance and best regards
Thomas Stein