mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
use --exact with dvisvgm
https://anki.tenderapp.com/discussions/ankidesktop/36561-latex-svgs-getting-cut-off
This commit is contained in:
parent
0577157970
commit
54fac70e22
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ pngCommands = [
|
||||||
|
|
||||||
svgCommands = [
|
svgCommands = [
|
||||||
["latex", "-interaction=nonstopmode", "tmp.tex"],
|
["latex", "-interaction=nonstopmode", "tmp.tex"],
|
||||||
["dvisvgm", "--no-fonts", "-Z", "2", "tmp.dvi", "-o", "tmp.svg"]
|
["dvisvgm", "--no-fonts", "--exact", "-Z", "2", "tmp.dvi", "-o", "tmp.svg"]
|
||||||
]
|
]
|
||||||
|
|
||||||
build = True # if off, use existing media but don't create new
|
build = True # if off, use existing media but don't create new
|
||||||
|
|
Loading…
Reference in a new issue