1

I'm using TexMaker and want to make a PNG file from a TikZ figure. When using the preview option in standalone class, I get a beautiful PDF, but when switching to convert I get a massage that "Process started" but it doesn't compile. (I've installed the windows version of ImageMagick).

  • you could try pdf2png.com – Thorbjørn E. K. Christensen Mar 13 '18 at 12:53
  • What exactly is stated in the generated log file? Not what TeXMaker reads from the log. It might be an idea to manually compile this .tex file using (I assume) pdflatex file.tex from the command line. Some editors have a tendency to not show all the errors/messages. My guess is a missing option to enable pdflatex to run external programmes. – daleif Mar 13 '18 at 13:06
  • I did enable pdflatex -shell-escape. My guess that it's some driver for the conversion itself, but I have no idea where to look... – Benny Gamus Mar 13 '18 at 13:44
  • 1
    Then list what the log says, can it even find convert or whatever command from Imagemagick it is using – daleif Mar 13 '18 at 14:02
  • What compiler are you using? For example, LuaLaTeX needs an additional command to make hell escape work. – user139954 Mar 13 '18 at 17:15
2

One problem with the convert option under MS Windows is that the convert shell command is for FAT32 to NTFS conversion. The ImageMagick convert.exe might be taken or not. For safety standalone awaits the convert tool be named imgconvert.exe. Either change the standalone options or copy-rename the convert.exe file in the ImageMagick folder to imgconvert.exe.

If this doesn't work out, please post some example code, your compiler call and the log file.

  • 1
    In the meantime convert.exe got renamed to magick.exe by ImageMagick. I will update the package accordantly. – Martin Scharrer Mar 27 '18 at 17:50
  • In the installation folder of ImageMagick there are both convert.exe and magick.exe, so which one should be renamed according to your comment? – Diaa Aug 2 '18 at 0:26
  • @Diaa: Originally there was just a convert.exe. Newer version of Image Magick use magick.exe but allow to install the old file as well. I still have to update the package to reflect this. – Martin Scharrer Aug 5 '18 at 19:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.