How can I get LaTeX working on Anki?
Solution 1:
Your question was very helpful to me in getting LaTeX working with Anki, but I've found there's an easier way to get dvipng:
- Install MacTeX. I installed BasicTeX-2011.pkg (MacTeX-Additions-2011.mpkg is NOT required).
- Open the terminal, type "tlmgr update --self && tlmgr install dvipng" and press enter. It will update TeX Live Manager and install the latest dvipng.
Once you do that, you should be all set.
Solution 2:
I was having this exact problem but the command "tlmgr update --self && tlmgr install dvipng" did not work and I got the error I need to run the program as an admin.
The user account I was using was an admin account. What I did instead is run each command separately as sudo: At the Mac OS X Terminal prompt:
$ sudo tlmgr update --self
(wait for this command to grab updates and compete)
$ sudo tlmgr install dvipng
This worked and installed tlmgr updates as well as dvipng, causing Anki to display LaTeX output!