Ipython: PDFの作成に失敗しました! LaTeXエラー:ファイル `adjustbox.sty 'が見つかりません。

作成日 2015年09月15日  ·  27コメント  ·  ソース: ipython/ipython

やあ、
ノートブックをPDFに変換しようとしています。 pandocとBasicTeXをダウンロードしましたが、それでも次の出力が得られます。

[NbConvertApp]ノートブックHW1_MATS8001.ipynbをPDFに変換
[NbConvertApp] 15256バイトをnotebook.texに書き込む
[NbConvertApp] PDFの作成
[NbConvertApp] pdflatexを3回実行する:[u'pdflatex '、u'notebook.tex']
[NbConvertApp]クリティカル| pdflatexが失敗しました:[u'pdflatex '、u'notebook.tex']
これはpdfTeX、バージョン3.14159265-2.6-1.40.16(TeX Live 2015)(プリロードされたフォーマット= pdflatex)です。
制限付きの\ write18が有効になっています。
拡張モードに入る
(./notebook.tex
LaTeX2e <2015/01/01>
Babel <3.9l>と21言語のハイフネーションパターンがロードされました。
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/article.cls
ドキュメントクラス:記事2014/09 / 29v1.4h標準LaTeXドキュメントクラス
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))

! LaTeXエラー:ファイル `adjustbox.sty 'が見つかりません。

Xと入力して終了するか、続行します、
または新しい名前を入力します。 (デフォルトの拡張子:sty)

ファイル名を入力してください:
! 緊急停止。

l.19 \ usepackage
{color}%色の定義を許可する^^ M
! ==>致命的なエラーが発生しました。出力PDFファイルが生成されません!
Notebook.logに書かれたトランスクリプト。

[NbConvertApp] bibtexを1回実行:[u'bibtex '、u'notebook']
[NbConvertApp]警告| bibtexに問題がありました。おそらく、引用がなかったためです。
[NbConvertApp] pdflatexを3回実行する:[u'pdflatex '、u'notebook.tex']
[NbConvertApp]クリティカル| pdflatexが失敗しました:[u'pdflatex '、u'notebook.tex']
これはpdfTeX、バージョン3.14159265-2.6-1.40.16(TeX Live 2015)(プリロードされたフォーマット= pdflatex)です。
制限付きの\ write18が有効になっています。
拡張モードに入る
(./notebook.tex
LaTeX2e <2015/01/01>
Babel <3.9l>と21言語のハイフネーションパターンがロードされました。
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/article.cls
ドキュメントクラス:記事2014/09 / 29v1.4h標準LaTeXドキュメントクラス
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))

! LaTeXエラー:ファイル `adjustbox.sty 'が見つかりません。

Xと入力して終了するか、続行します、
または新しい名前を入力します。 (デフォルトの拡張子:sty)

ファイル名を入力してください:
! 緊急停止。

l.19 \ usepackage
{color}%色の定義を許可する^^ M
! ==>致命的なエラーが発生しました。出力PDFファイルが生成されません!
Notebook.logに書かれたトランスクリプト。

トレースバック(最後の最後の呼び出し):
ファイル "/ usr / local / bin / ipython"、11行目、
sys.exit(start_ipython())
ファイル "/usr/local/lib/python2.7/site-packages/IPython/ init .py"、118行目、start_ipython
launch_new_instance(argv = argv、* _kwargs)を返します
ファイル "/usr/local/lib/python2.7/site-packages/traitlets/config/application.py"、行592、launch_instance
app.start()
ファイル「/usr/local/lib/python2.7/site-packages/IPython/terminal/ipapp.py」、349行目、開始
self.subapp.start()を返します
ファイル "/usr/local/lib/python2.7/site-packages/nbconvert/nbconvertapp.py"、行286、開始時
self.convert_notebooks()
convert_notebooksのファイル "/usr/local/lib/python2.7/site-packages/nbconvert/nbconvertapp.py"、行409
self.convert_single_notebook(notebook_filename)
convert_single_notebookのファイル "/usr/local/lib/python2.7/site-packages/nbconvert/nbconvertapp.py"、行380
出力、リソース= self.export_single_notebook(notebook_filename、resources)
export_single_notebookのファイル "/usr/local/lib/python2.7/site-packages/nbconvert/nbconvertapp.py"、行332
出力、resources = self.exporter.from_filename(notebook_filename、resources = resources)
from_filenameのファイル "/usr/local/lib/python2.7/site-packages/nbconvert/exporters/exporter.py"、行166
self.from_notebook_node(nbformat.read(f、as_version = 4)、resources = resources、* _kw)を返します
from_notebook_nodeのファイル "/usr/local/lib/python2.7/site-packages/nbconvert/exporters/pdf.py"、139行目
RuntimeError( "PDFの作成に失敗しました")を発生させます
RuntimeError:PDFの作成に失敗しました

最も参考になるコメント

同じ問題が発生した場合は、追加のTexパッケージをいくつかインストールする必要があります。 tlmgrます。

sudo tlmgr install adjustbox

私はまた、あなたもしなければならないと思ういくつかのパッケージをインストールしなければなりませんでした:

sudo tlmgr install collectbox
sudo tlmgr install ucs

全てのコメント27件

同じ問題が発生した場合は、追加のTexパッケージをいくつかインストールする必要があります。 tlmgrます。

sudo tlmgr install adjustbox

私はまた、あなたもしなければならないと思ういくつかのパッケージをインストールしなければなりませんでした:

sudo tlmgr install collectbox
sudo tlmgr install ucs

まったく同じ問題が発生しました(私はbasicTexのみをインストールしており、完全なMacTexはインストールしていません)。 @adriancooneyの提案は完璧に機能しました。

El Capitanを搭載したMacでも同じ問題が発生し、 @ adriancooneyによる提案が

tlmgr update --self
TeX Live 2015は永久に凍結され、
長く更新されます。 これは、新しいリリースの準備として発生します。

新しいリリースの事前テストを支援することに興味がある場合(
事前テストが利用可能です)、 http://tug.org/texlive/pretest.htmlをお読みください
それ以外の場合は、待つだけで、新しいリリースの準備が整います。
tlmgr:パッケージリポジトリhttp://mirror.hmc.edu/ctan/systems/texlive/tlnet
インストールを変更する権限がありません。
具体的には、ディレクトリ/ usr / local / texlive / 2015basic / tlpkg /は書き込み可能ではありません。
このプログラムを管理者として実行するか、ローカル管理者に連絡してください。
tlmgr:エラーが発生しました。 上記のメッセージを参照してください。 終了します。

BasicTexがインストールされたMacを使用しています。 追加のTexパッケージをインストールする必要がありましたが、それでもエラーメッセージが表示されます。

sudo tlmgr install adjustbox
sudo tlmgr install collectbox
sudo tlmgr install ucs

これは私が今受け取るエラーメッセージです。 誰かが同じエラーを受け取りましたか? 解決してもらえますか?

nbconvert failed: PDF creating failed, captured latex output:
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./notebook.tex
LaTeX2e <2015/01/01>
Babel <3.9l> and hyphenation patterns for 21 languages loaded.
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/size11.clo))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/psnfss/palatino.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/caption/caption.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/caption/caption3.sty))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/adjustbox/adjustbox.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/xkeyval/xkvutils.tex)))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/adjustbox/adjcalc.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/adjustbox/trimclip.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/collectbox/collectbox.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/adjustbox/tc-pdftex.def)))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/latexconfig/color.cfg))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/tools/enumerate.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/textcomp.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/ts1enc.def))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/upquote/upquote.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/eurosym/eurosym.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/ucs/ucs.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/ucs/data/uni-global.def))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/inputenc.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/ucs/utf8x.def))
(/usr/local/texlive/2015basic/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/2015basic/texmf-dist/tex/latex/oberdiek/grffile.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.s
ty
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/hobsub-generic.st
y)) (/usr/local/texlive/2015basic/texmf-dist/tex/latex/oberdiek/auxhook.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/url/url.sty))

Package hyperref Message: Driver (autodetected): hpdftex.

(/usr/local/texlive/2015basic/texmf-dist/tex/latex/hyperref/hpdftex.def
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty)
) (/usr/local/texlive/2015basic/texmf-dist/tex/latex/tools/longtable.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/booktabs/booktabs.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/ulem/ulem.sty)
No file notebook.aux.
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/ts1cmr.fd)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/psnfss/t1ppl.fd)
kpathsea: Running mktextfm pplr8t
/usr/local/texlive/2015basic/texmf-dist/web2c/mktexnam: Could not map source abbreviation  for pplr8t.
/usr/local/texlive/2015basic/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 2015) (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 not f
ound.
<to be read again> 
                   relax 
l.270     \begin{document}

? 
! Emergency stop.
<to be read again> 
                   relax 
l.270     \begin{document}

!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on notebook.log.

@sicotronicは、

tlmgr install palatino

@minrk
ありがとう、それはうまくいったようですが、別のエラーが出ています...これらのエラーログを読むのを手伝ってくれませんか? インストールする必要のあるライブラリがわかりません。
ノートに日本語のテキストを使用していることが原因かもしれません。

nbconvert failed: PDF creating failed, captured latex output:
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./notebook.tex
LaTeX2e <2015/01/01>
Babel <3.9l> and hyphenation patterns for 21 languages loaded.
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/size11.clo))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/psnfss/palatino.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/caption/caption.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/caption/caption3.sty))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/adjustbox/adjustbox.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/xkeyval/xkvutils.tex)))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/adjustbox/adjcalc.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/adjustbox/trimclip.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/collectbox/collectbox.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/adjustbox/tc-pdftex.def)))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/latexconfig/color.cfg))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/tools/enumerate.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/textcomp.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/ts1enc.def))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/upquote/upquote.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/eurosym/eurosym.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/ucs/ucs.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/ucs/data/uni-global.def))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/inputenc.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/ucs/utf8x.def))
(/usr/local/texlive/2015basic/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/2015basic/texmf-dist/tex/latex/oberdiek/grffile.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty))
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.s
ty
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/hobsub-generic.st
y)) (/usr/local/texlive/2015basic/texmf-dist/tex/latex/oberdiek/auxhook.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/url/url.sty))

Package hyperref Message: Driver (autodetected): hpdftex.

(/usr/local/texlive/2015basic/texmf-dist/tex/latex/hyperref/hpdftex.def
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty)
) (/usr/local/texlive/2015basic/texmf-dist/tex/latex/tools/longtable.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/booktabs/booktabs.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/ulem/ulem.sty)
No file notebook.aux.
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/base/ts1cmr.fd)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/psnfss/t1ppl.fd)
(/usr/local/texlive/2015basic/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/local/texlive/2015basic/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/oberdiek/grfext.sty)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
)) (/usr/local/texlive/2015basic/texmf-dist/tex/latex/caption/ltcaption.sty)
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
*geometry* verbose mode - [ preamble ] result:
* driver: pdftex
* paper: <default>
* layout: <same size as paper>
* layoutoffset:(h,v)=(0.0pt,0.0pt)
* modes: 
* h-part:(L,W,R)=(72.26999pt, 469.75502pt, 72.26999pt)
* v-part:(T,H,B)=(72.26999pt, 650.43001pt, 72.26999pt)
* \paperwidth=614.295pt
* \paperheight=794.96999pt
* \textwidth=469.75502pt
* \textheight=650.43001pt
* \oddsidemargin=0.0pt
* \evensidemargin=0.0pt
* \topmargin=-37.0pt
* \headheight=12.0pt
* \headsep=25.0pt
* \topskip=11.0pt
* \footskip=30.0pt
* \marginparwidth=59.0pt
* \marginparsep=10.0pt
* \columnsep=10.0pt
* \skip\footins=10.0pt plus 4.0pt minus 2.0pt
* \hoffset=0.0pt
* \voffset=0.0pt
* \mag=1000
* \<strong i="8">@twocolumnfalse</strong>
* \<strong i="9">@twosidefalse</strong>
* \<strong i="10">@mparswitchfalse</strong>
* \<strong i="11">@reversemarginfalse</strong>
* (1in=72.27pt=25.4mm, 1cm=28.453pt)

(/usr/local/texlive/2015basic/texmf-dist/tex/latex/ucs/ucsencs.def)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2015basic/texmf-dist/tex/generic/oberdiek/gettitlestring.st
y)) (/usr/local/texlive/2015basic/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/amsfonts/umsb.fd)

LaTeX Warning: No \author given.

(/usr/local/texlive/2015basic/texmf-dist/tex/latex/ucs/data/uni-48.def)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/ucs/data/uninames.dat)
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/ucs/data/uni-48.def)

! Package ucs Error: Unknown Unicode character 12518 = U+30E6,
(ucs)                possibly declared in uni-48.def.
(ucs)                Type H to see if it is available with options.

See the ucs package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.278 ...�ーザーのイベントログの調査}
                                                  \label{ux30e6ux30fcux30b6u...

? 
! Emergency stop.
 ...                                              

l.278 ...�ーザーのイベントログの調査}
                                                  \label{ux30e6ux30fcux30b6u...

!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on notebook.log.

ユニコードの問題のように見える@ sicotronic 、pdflatexはまったくうまく処理しません。 このため、デフォルトでxelatexを使用するようにnbconvertを切り替えました。これにより、このケースが修正される可能性がありますが、その変更を伴うリリースはまだ作成されていません。 あなたはあなたの設定でそれを設定することを試みることができます:

c.PDFExporter.latex_command = ['xelatex', '{filename}']

@sicotronic :上記の手順に従いました。 このエラーで立ち往生しました

/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

CentOSでこれをどのように処理しますか? tlmgrは存在しません( yumだけが必要なため、 tlmgrはTeXLiveに付属していません)。 一時的な修正は、.styファイルをノートブックと同じディレクトリに置くことです。

@ anujgupta82試してみてください

sudo tlmgr install mathpazo
sudo tlmgr install courier
sudo tlmgr install palatino

@DanielWeitzenfeld :魅力のように働いた。 ありがとう

やあみんな..私はまったく同じことを実行していますが、この新しいエラーが発生します:

! I can't find file `pcrr8t'.
<*> ...:=ljfour; mag:=1; nonstopmode; input pcrr8t
Please type another input file name
! Emergency stop.
<*> ...:=ljfour; mag:=1; nonstopmode; input pcrr8t

ねえ@koustuvsinhaこれ
sudo tlmgr install collection-fontsrecommended

やあ、

私はまさに上記の問題を抱えており、上記のsudo tlmgr install adjustboxアプローチを試しました。 tlmgrをtlmgr update --selfで更新するように求められました。これを試しました。
しかし、その後、このメッセージを受け取りました:

$ tlmgr update --self
tlmgr: package repository http://anorien.csc.warwick.ac.uk/mirrors/CTAN/systems/texlive/tlnet (not verified: gnupg not available)
You don't have permission to change the installation in any way,
specifically, the directory /usr/local/texlive/2017basic/tlpkg/ is not writable.
Please run this program as administrator, or contact your local admin.
tlmgr: An error has occurred. See above messages. Exiting.

しかし、私は管理者ユーザー(macOS Sierra 10.12.6を実行しているiMac)なので、なぜこのメッセージが表示されるのか理解できません。

私の最終的な目的は、.ipynbを.pdfとしてダウンロードすることですが、これが主な障壁のようです。 提案された解決策はありますか?

@ chrisrb10 sudo tlmgr update --self正常に実行しました。 ただし、 ! LaTeX Error: File 'adjustbox.sty' not found.であるエラーメッセージはこれでは解決されません。

sudo pacman -S texlive-latexextraは私のためにそれをしました。

要約として、上記のすべての提案を行いました。

sudo tlmgr update --self
sudo tlmgr install Adjustbox
sudo tlmgr install collectbox
sudo tlmgr install ucs
sudo tlmgr install mathpazo
sudo tlmgr install courier
sudo tlmgr install palatino

ありがとう@ adriancooney@ sicotronic@ DanielWeitzenfeld

これは素晴らしいスレッドです! 私のすべての問題を解決しました!

真剣に素晴らしいスレッド。 貢献してくれた皆さん、ありがとう! これは私のすべての問題にも役立ちました

CentOS 7の人々の場合:

yum install texlive-*
fmtutil-sys --all
texhash

EPELが必要な場合があります

Fedoraの人々にとって、これは私にとってそれを解決しました:
sudo dnf install texlive-collection-latexextra

Arch / Manjaroの場合、texlive-latexextraをインストールしてくれました

ねえ@koustuvsinhaこれ
sudo tlmgr install collection-fontsrecommended

これは私の場合、最終的に役立ちます

エラー
cannot setup TLPDB

MacBookProで新しいエラーが発生します。

x<strong i="6">@bogon</strong> ~ % sudo tlmgr update --self
sudo tlmgr install adjustbox
/usr/local/bin/tlmgr: only MacOSX is supported, not darwin 11.1  (from sw_vers -productVersion: 11.1)

tlmgr: Local TeX Live (2019) is older than remote repository (2020).
Cross release updates are only supported with
  update-tlmgr-latest(.sh/.exe) --update
See https://tug.org/texlive/upgrade.html for details.
/usr/local/bin/tlmgr: only MacOSX is supported, not darwin 11.1  (from sw_vers -productVersion: 11.1)

tlmgr: Local TeX Live (2019) is older than remote repository (2020).
Cross release updates are only supported with
  update-tlmgr-latest(.sh/.exe) --update
See https://tug.org/texlive/upgrade.html for details.
このページは役に立ちましたか?
0 / 5 - 0 評価