LatexIt
LatexIt copied to clipboard
Failed to LatexIt beause of colorspace RGB
Hello,
I am having trouble using LatexIt on Fedora31. I followed the steps for solving the problem (Detailed troubleshooting) and googling I discovered that the error comes from the fact I should add the option -colorspace RGB in the Latex It! command ( https://superuser.com/questions/1291967/error-in-converting-a-pdf-to-a-png-in-imagemagick/1292291). So the command should be : convert -units PixelsPerInch -density 300 /tmp/test.ps -trim -colorspace RGB /tmp/test.png (for the test for example).
However I do not know the structure of Thunderbird extensions and where is the command of Latex It in order to modify it. Can you help me please ?
Thank you in advance, Steven
P-S : I already turn the rigths 'none' to 'read' in /etc/ImageMagick-6/policy.xml
Which version of LaTeX It! do you use, because convert was replaced by dvipng a couple of months ago …
The version is 0.6.8 . I thought the problem came from convert because I followed the steps in Detailed Troubleshooting and it was the last step which was causing the problem (I solved it with -colorspace RGB but if the command is now dvipng it is pointless ...)
I join a screenshot of the error. Also my paths to dvipng and latex are correct.

Thanks for the screenshot. Could you please post a screenshot of the settings dialog, too.
Have you checked, if the latex executable given in the settings dialog exists and is executable?
Please could you enable debug output (if it is not enabled yet), run LatexIt! again and also attach/insert the generated LaTeX file (/tmp/tblatex-1.tex).
Just for reference, this is how a successful run might look:

@stichou, could you solve the problem?