Jupyter notebook 文件转PDF时,出现错误怎么办?

发布于 2022-09-04 23:17:50 字数 7183 浏览 24 评论 0

nbconvert failed: PDF creating failed, captured latex output:
This is XeTeX, Version 3.14159265-2.6-0.99996 (TeX Live 2016) (preloaded format=xelatex)
 restricted \write18 enabled.
entering extended mode
(./notebook.tex
LaTeX2e <2016/03/31>
Babel <3.9r> and hyphenation patterns for 22 language(s) loaded.
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/base/size11.clo))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/psnfss/mathpazo.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/local/texlive/2016basic/texmf-dist/tex/xelatex/xetex-def/xetex.def
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/caption/caption.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/caption/caption3.sty))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/adjustbox/adjustbox.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/xkeyval/xkvutils.tex)))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/adjustbox/adjcalc.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/adjustbox/trimclip.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/collectbox/collectbox.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/adjustbox/tc-xetex.def)))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/graphics-cfg/color.cfg))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/tools/enumerate.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/base/textcomp.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/base/ts1enc.def))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/upquote/upquote.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/eurosym/eurosym.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/ucs/ucs.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/ucs/data/uni-global.def))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/base/inputenc.sty

Package inputenc Warning: inputenc package ignored with utf8 based engines.

) (/usr/local/texlive/2016basic/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and firstline=lastline fix 
<2008/02/07> (tvz))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/oberdiek/grffile.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.s
ty
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/oberdiek/hobsub-generic.st
y)) (/usr/local/texlive/2016basic/texmf-dist/tex/latex/oberdiek/auxhook.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/url/url.sty))

Package hyperref Message: Driver (autodetected): hxetex.

(/usr/local/texlive/2016basic/texmf-dist/tex/latex/hyperref/hxetex.def
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/hyperref/puenc.def)
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/oberdiek/stringenc.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty)
) (/usr/local/texlive/2016basic/texmf-dist/tex/latex/tools/longtable.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/booktabs/booktabs.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/enumitem/enumitem.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/ulem/ulem.sty)
No file notebook.aux.
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/base/ts1cmr.fd)
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/psnfss/t1ppl.fd)
kpathsea: Running mktextfm pplr8t
/usr/local/texlive/2016basic/texmf-dist/web2c/mktexnam: Could not map source abbreviation  for pplr8t.
/usr/local/texlive/2016basic/texmf-dist/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input pplr8t
This is METAFONT, Version 2.7182818 (TeX Live 2016) (preloaded base=mf)

kpathsea: Running mktexmf pplr8t

! I can't find file `pplr8t'.
<*> ...:=ljfour; mag:=1; nonstopmode; input pplr8t
                                                  
Please type another input file name
! Emergency stop.
<*> ...:=ljfour; mag:=1; nonstopmode; input pplr8t
                                                  
Transcript written on mfput.log.
grep: pplr8t.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input pplr8t' failed to make pplr8t.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font T1/ppl/m/n/10.95=pplr8t at 10.95pt not loadable: Metric (TFM) file or in
stalled font not found.
<to be read again> 
                   relax 
l.275     \begin{document}
                          
? 
! Emergency stop.
<to be read again> 
                   relax 
l.275     \begin{document}
                          
No pages of output.
Transcript written on notebook.log.

图片描述

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

瞎闹 2022-09-11 23:17:50

下载MacTex. 不要下载basictex,否则会缺很多文件.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文