Anki 上的 LATEX 无法正常显示; Ubuntu 18.10

LATEX on Anki does not display properly; Ubuntu 18.10

伙计们 - 我正在尝试显示如下基本命令(许多示例之一):

Does the sum below converge? [latex]\begin{displaymath}\sum_{k = 1}^{\infty}\frac{1}{k}\end{displaymath}[/latex]

但是它会产生以下错误:

Does the sum below converge? Error executing dvipng. Generated file: /tmp/anki_temp/tmp.tex

This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=latex) restricted \write18 enabled. entering extended mode (./tmp.tex LaTeX2e <2018-04-01> patch level 5 (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo)) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty)) (./tmp.aux) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd) [1] (./tmp.aux) ) Output written on tmp.dvi (1 page, 536 bytes). Transcript written on tmp.log.

我已经安装了 Ubuntu 18.10 运行 Anki(版本 2.1.5 Qt 5.9.2 PyQt 5.9)和 "sudo apt install texlive-latex-extra"。

非常感谢任何帮助。

嗯,缺少 dvipng。

运行 sudo apt-get install dvipng

致谢: https://apple.stackexchange.com/questions/209497/anki-latex-not-working-i-have-installed-basictex-dvipng