Edit LaTeX build process
As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.
- 2.1.0 (Updated 2018-10-13)
To download this add-on, please copy and paste the following code into Anki 2.1:
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.
All Anki 2.1.x Add-Ons
I then added this using the add-on proposed here and it works fine for me !
Thanks for this very useful tool !
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
Error al ejecutar latex.
Archivo generado: C:\Users\E5-523~1\AppData\Local\Temp\anki_temp\tmp.tex
Ha instalado latex y dvipng/dvisvgm?
What can I do about that? I just put [latex]\in[/latex]
For further instructions go to here:
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!
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"