Edit LaTeX build process<10kB. Updated 2018-10-13. Supports both Anki 2.0.x and 2.1.x.
As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.
To download this add-on, please copy and paste the following code into the desktop program:
If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.
Other Anki 2.0.x Add-Ons Other Anki 2.1.x Add-Ons Ask a Question
For further instructions go to here:
Currently this add-on is not supporting all the latex code. Thanks to the help of a member of this forum I have little resolve its lascune. Thank you for this add-on.
For some reason on my NixOS installation LaTeX didn't render. I replaced default commands with:
["convert", "-density", "150", "-trim", "tmp.pdf", "tmp.png"]
Now LaTeX generates nicely in Anki Desktop.
I use the portable version of miktex so it didn't work with anki out of the box. This addon helped to redefine the paths for latex and dvipng. Thanks mate, great job!
Used this to switch away from latex + dvipng to pdflatex + imagemagick. Now I am also able to use TikZ to draw staff in cards.
Hint: to convert .pdf to .png with this add-on one can use imagemagick:
convert -trim -density 300 tmp.pdf tmp.png
I used it to change to pdflatex and imagemagick's convert.
Now I can use TikZ diagrams in my cards.
This add-on is very useful because it lets you use your macports latex and dvi installations with Anki 2. When you configure the plugin, just substitute "/opt/local/bin/latex" for "latex" and "/opt/local/bin/dvipng" for "dvipng"