Created
February 28, 2017 07:49
-
-
Save Ken-B/4cfaa181eef162184874c95786fe5ad3 to your computer and use it in GitHub Desktop.
nbconvert test 5f5d297
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jupyter-nbconvert nbconvert.ipynb --to pdf | |
[NbConvertApp] Converting notebook nbconvert.ipynb to pdf | |
[NbConvertApp] Writing 15192 bytes to notebook.tex | |
[NbConvertApp] Building PDF | |
[NbConvertApp] Running xelatex 3 times: ['xelatex', 'notebook.tex'] | |
[NbConvertApp] CRITICAL | xelatex failed: ['xelatex', 'notebook.tex'] | |
This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015) (preloaded format=xelatex) | |
restricted \write18 enabled. | |
entering extended mode | |
(./notebook.tex | |
LaTeX2e <2015/01/01> | |
Babel <3.9l> and hyphenation patterns for 79 languages loaded. | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/article.cls | |
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/size11.clo)) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsmath/amsmath.sty | |
For additional information on amsmath, use the `?' option. | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsmath/amstext.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsmath/amsgen.sty)) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsmath/amsbsy.sty) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsmath/amsopn.sty)) | |
(/usr/local/texlive/2015/texmf-dist/tex/xelatex/mathspec/mathspec.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/etoolbox/etoolbox.sty) | |
(/usr/local/texlive/2015/texmf-dist/tex/generic/ifxetex/ifxetex.sty) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3-code.tex) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/l3unicode-data.def) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def)) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/l3packages/xparse/xparse.sty) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec-patches.sty) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/fontenc.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/euenc/eu1enc.def) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/euenc/eu1lmr.fd)) | |
(/usr/local/texlive/2015/texmf-dist/tex/xelatex/xunicode/xunicode.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/tipa/t3enc.def | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/euenc/eu1lmss.fd)) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/graphicx.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/keyval.sty) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/graphics.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/trig.sty) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/latexconfig/graphics.cfg) | |
(/usr/local/texlive/2015/texmf-dist/tex/xelatex/xetex-def/xetex.def)))) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec.cfg))) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/xkeyval/xkeyval.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/generic/xkeyval/xkeyval.tex | |
(/usr/local/texlive/2015/texmf-dist/tex/generic/xkeyval/xkvutils.tex))))kpathsea:make_tex: Invalid fontname `TeX Gyre Pagella', contains ' ' | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
! | |
! fontspec error: "font-not-found" | |
! | |
! The font "TeX Gyre Pagella" cannot be found. | |
! | |
! See the fontspec documentation for further information. | |
! | |
! For immediate help type H <return>. | |
!............................................... | |
l.22 \setmainfont{TeX Gyre Pagella} | |
? | |
! Emergency stop. | |
!............................................... | |
l.22 \setmainfont{TeX Gyre Pagella} | |
No pages of output. | |
Transcript written on notebook.log. | |
Traceback (most recent call last): | |
File "/Users/ken/anaconda3/bin/jupyter-nbconvert", line 11, in <module> | |
load_entry_point('nbconvert', 'console_scripts', 'jupyter-nbconvert')() | |
File "/Users/ken/anaconda3/lib/python3.6/site-packages/jupyter_core/application.py", line 267, in launch_instance | |
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs) | |
File "/Users/ken/anaconda3/lib/python3.6/site-packages/traitlets/config/application.py", line 658, in launch_instance | |
app.start() | |
File "/Users/ken/Coding/nbconvert/nbconvert/nbconvertapp.py", line 305, in start | |
self.convert_notebooks() | |
File "/Users/ken/Coding/nbconvert/nbconvert/nbconvertapp.py", line 473, in convert_notebooks | |
self.convert_single_notebook(notebook_filename) | |
File "/Users/ken/Coding/nbconvert/nbconvert/nbconvertapp.py", line 444, in convert_single_notebook | |
output, resources = self.export_single_notebook(notebook_filename, resources, input_buffer=input_buffer) | |
File "/Users/ken/Coding/nbconvert/nbconvert/nbconvertapp.py", line 373, in export_single_notebook | |
output, resources = self.exporter.from_filename(notebook_filename, resources=resources) | |
File "/Users/ken/Coding/nbconvert/nbconvert/exporters/exporter.py", line 171, in from_filename | |
return self.from_file(f, resources=resources, **kw) | |
File "/Users/ken/Coding/nbconvert/nbconvert/exporters/exporter.py", line 189, in from_file | |
return self.from_notebook_node(nbformat.read(file_stream, as_version=4), resources=resources, **kw) | |
File "/Users/ken/Coding/nbconvert/nbconvert/exporters/pdf.py", line 183, in from_notebook_node | |
raise LatexFailed('\n'.join(self._captured_output)) | |
nbconvert.exporters.pdf.LatexFailed: PDF creating failed, captured latex output: | |
This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015) (preloaded format=xelatex) | |
restricted \write18 enabled. | |
entering extended mode | |
(./notebook.tex | |
LaTeX2e <2015/01/01> | |
Babel <3.9l> and hyphenation patterns for 79 languages loaded. | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/article.cls | |
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/size11.clo)) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsmath/amsmath.sty | |
For additional information on amsmath, use the `?' option. | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsmath/amstext.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsmath/amsgen.sty)) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsmath/amsbsy.sty) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsmath/amsopn.sty)) | |
(/usr/local/texlive/2015/texmf-dist/tex/xelatex/mathspec/mathspec.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/etoolbox/etoolbox.sty) | |
(/usr/local/texlive/2015/texmf-dist/tex/generic/ifxetex/ifxetex.sty) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3-code.tex) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/l3unicode-data.def) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def)) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/l3packages/xparse/xparse.sty) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec-patches.sty) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/fontenc.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/euenc/eu1enc.def) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/euenc/eu1lmr.fd)) | |
(/usr/local/texlive/2015/texmf-dist/tex/xelatex/xunicode/xunicode.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/tipa/t3enc.def | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/euenc/eu1lmss.fd)) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/graphicx.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/keyval.sty) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/graphics.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/trig.sty) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/latexconfig/graphics.cfg) | |
(/usr/local/texlive/2015/texmf-dist/tex/xelatex/xetex-def/xetex.def)))) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec.cfg))) | |
(/usr/local/texlive/2015/texmf-dist/tex/latex/xkeyval/xkeyval.sty | |
(/usr/local/texlive/2015/texmf-dist/tex/generic/xkeyval/xkeyval.tex | |
(/usr/local/texlive/2015/texmf-dist/tex/generic/xkeyval/xkvutils.tex))))kpathsea:make_tex: Invalid fontname `TeX Gyre Pagella', contains ' ' | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
! | |
! fontspec error: "font-not-found" | |
! | |
! The font "TeX Gyre Pagella" cannot be found. | |
! | |
! See the fontspec documentation for further information. | |
! | |
! For immediate help type H <return>. | |
!............................................... | |
l.22 \setmainfont{TeX Gyre Pagella} | |
? | |
! Emergency stop. | |
!............................................... | |
l.22 \setmainfont{TeX Gyre Pagella} | |
No pages of output. | |
Transcript written on notebook.log. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment