

Edit LaTeX build process
<10kB. Updated 2018-10-13.
The author has shared 9 other
item(s).
Description
Download
As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.
Supported Anki versions:
- 2.1.0 (Updated 2018-10-13)
To download this add-on, please copy and paste the following code into Anki 2.1:
937148547
If you were linked to this page from the internet, please open Anki on your computer, go to the Tools->Add-ons menu item, then click on Get Add-ons and paste in the code.
Reviews

Great!

Thanks!

Finally Latex works in Anki on Windows

I used this add-on to configure "dvisvgm". Indeed I found using latex MathJax Chemistry that some characters were cropped above and below when generating the svg image. The man page of dvisvgm mentions this issue and explains how the "--exact-bbox" parameter have to be included in the command line as a remediation.
I then added this using the add-on proposed here and it works fine for me !
Thanks for this very useful tool !
I then added this using the add-on proposed here and it works fine for me !
Thanks for this very useful tool !

Great to solve path problems

Very handy indeed
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
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

useful

When I tried to use a LaTex formula it shows me this
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]
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]

works great. thank you!

latex is usually best viewing

who can change size of latex formulas?

Enables me to use MacPorts Latex without having to launch Anki from the terminal.

Funciona muito bem.

Crucial for advanced Latex setups. Also consider the Anki 2.1 compatible version found here: https://github.com/trimitri/edit_latex_toolchain




This is the add on you need if you want to use tikz.
For further instructions go to here:
http://pastebin.com/raw/mJj7gTQ7
For further instructions go to here:
http://pastebin.com/raw/mJj7gTQ7

Fixed LaTeX on my NixOS
For some reason on my NixOS installation LaTeX didn't render. I replaced default commands with:
["pdflatex", "tmp.tex"],
["convert", "-density", "150", "-trim", "tmp.pdf", "tmp.png"]
Now LaTeX generates nicely in Anki Desktop.
For some reason on my NixOS installation LaTeX didn't render. I replaced default commands with:
["pdflatex", "tmp.tex"],
["convert", "-density", "150", "-trim", "tmp.pdf", "tmp.png"]
Now LaTeX generates nicely in Anki Desktop.









Alternative latex paths
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 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!

Very useful.
I used it to change to pdflatex and imagemagick's convert.
Now I can use TikZ diagrams in my cards.
I used it to change to pdflatex and imagemagick's convert.
Now I can use TikZ diagrams in my cards.




Useful for latex and dvipng installed via macports
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"
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"