gpt4 book ai didi

latex - sphinx.ext.pngmath 当我尝试一个简单的表达式时引发错误

转载 作者:行者123 更新时间:2023-12-04 19:57:12 24 4
gpt4 key购买 nike

我正在使用 Sphinx创建我的项目的文档。我想使用扩展 sphinx.ext.pngmath 和这个小测试:

    Returns the indefinite integral of the polynomial *poly*:
.. math::
\int p(x)dx

我得到了错误:
WARNING: inline latex u'\\int p(x)dx\n\n': latex exited with error:             
[stderr]

[stdout]
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
restricted \write18 enabled.
entering extended mode
(./math.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size12.clo))
(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty

! LaTeX Error: File `utf8x.def' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: def)

Enter file name:
! Emergency stop.
<read *>

l.131 \endinput
^^M
No pages of output.
Transcript written on math.log.

我已经安装了 texlive-latex-base 包。

谢谢,
魔方

最佳答案

texlive-full将安装所有 texlive 软件包,这确实有点矫枉过正。

您可以只安装 texlive-latex-extra来解决这个特殊问题。

关于latex - sphinx.ext.pngmath 当我尝试一个简单的表达式时引发错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3952787/

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