gpt4 book ai didi

ubuntu - Anki 上的 LATEX 无法正常显示;乌类图18.10

转载 作者:行者123 更新时间:2023-12-04 18:27:01 26 4
gpt4 key购买 nike

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

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

关于ubuntu - Anki 上的 LATEX 无法正常显示;乌类图18.10,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53602609/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com