当我试图在我的mac电脑上下载一个pdf格式的jupyter笔记本时,出现以下错误。我昨天安装了pandoc和basicTex,问题是我没有安装乳胶吗?还是其他问题?有人能建议怎么修理吗?在
Error:
nbconvert failed: PDF creating failed, captured latex output:
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./notebook.tex
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 22 language(s) loaded.
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/base/size11.clo))
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/psnfss/palatino.sty)
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/graphics-def/pdftex.def
(/usr/local/texlive/2017basic/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2017basic/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/caption/caption.sty
(/usr/local/texlive/2017basic/texmf-dist/tex/latex/caption/caption3.sty))
! LaTeX Error: File `adjustbox.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
l.42 \usepackage
{xcolor} % Allow colors to be defined^^M
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on notebook.log.
我可以通过安装完整的macTex来解决这个问题。在
它适用于我(只适用于ubuntu/debian)。在
sudo-apt-get安装texlive-xetex
相关问题 更多 >
编程相关推荐