LatexIt icon indicating copy to clipboard operation
LatexIt copied to clipboard

Failed to LatexIt beause of colorspace RGB

Open stichou opened this issue 5 years ago • 4 comments

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

stichou avatar Apr 02 '20 18:04 stichou

Which version of LaTeX It! do you use, because convert was replaced by dvipng a couple of months ago …

sphh avatar Apr 02 '20 18:04 sphh

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.

Thunderbird

stichou avatar Apr 06 '20 08:04 stichou

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: Screenshot from 2020-04-06 11-09-38

sphh avatar Apr 06 '20 09:04 sphh

@stichou, could you solve the problem?

sphh avatar Jul 27 '20 07:07 sphh