Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to LatexIt beause of colorspace RGB #45

Open
stichou opened this issue Apr 2, 2020 · 4 comments
Open

Failed to LatexIt beause of colorspace RGB #45

stichou opened this issue Apr 2, 2020 · 4 comments

Comments

@stichou
Copy link

stichou commented Apr 2, 2020

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

@sphh
Copy link
Collaborator

sphh commented Apr 2, 2020

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

@stichou
Copy link
Author

stichou commented Apr 6, 2020

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

@sphh
Copy link
Collaborator

sphh commented Apr 6, 2020

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
Copy link
Collaborator

sphh commented Jul 27, 2020

@stichou, could you solve the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants