mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
add note about latexCmds
This commit is contained in:
parent
fc4f24ce59
commit
cc4b9938c7
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ from anki.utils import checksum, call, namedtmp, tmpdir, isMac, stripHTML
|
||||||
from anki.hooks import addHook
|
from anki.hooks import addHook
|
||||||
from anki.lang import _
|
from anki.lang import _
|
||||||
|
|
||||||
|
# if you modify these in an add-on, you must make sure to take tmp.tex as the
|
||||||
|
# input, and output tmp.png as the output file
|
||||||
latexCmds = [
|
latexCmds = [
|
||||||
["latex", "-interaction=nonstopmode", "tmp.tex"],
|
["latex", "-interaction=nonstopmode", "tmp.tex"],
|
||||||
["dvipng", "-D", "200", "-T", "tight", "tmp.dvi", "-o", "tmp.png"]
|
["dvipng", "-D", "200", "-T", "tight", "tmp.dvi", "-o", "tmp.png"]
|
||||||
|
|
Loading…
Reference in a new issue