-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
PDF Creating Failed, ! LaTeX Error: File `adjustbox.sty' not found. #8814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Had the same issue, you need to install some extra Tex packages. Use
I also had to install some more packages which I assume you will have to too:
|
Just ran into the exact same issue (I only have basicTex installed and not the full MacTex). @adriancooney suggestions worked perfectly. |
Same issue on a mac with El Capitan, and the suggestion by @adriancooney worked (after I updated tlmgr). Hope others find this helpful. |
tlmgr update --self If you're interested in helping to pretest the new release (when |
I'm using a Mac with BasicTex installed. I needed to install some extra Tex packages but I still have some error messages coming out.
This is the error message I get now. Does somebody got the same error? Could you solve it?
|
@sicotronic looks like you are missing the palatino font:
|
@minrk
|
@sicotronic that looks like unicode problems, which pdflatex doesn't handle at all well. We've switched nbconvert to use c.PDFExporter.latex_command = ['xelatex', '{filename}'] |
@sicotronic: i followed above steps. Got stuck with this error
|
How do you handle this on CentOS? |
@anujgupta82 try
|
@DanielWeitzenfeld : worked like a charm. thanks |
hey guys.. i am running the exact same things but getting this new error :
|
Hey @koustuvsinha , please check this out! I tried and it worked pretty well for me |
Hi, I have exactly the problem describe above, and tried the
But I am an admin user (iMac running macOS Sierra 10.12.6) - so can't understand why I am getting this message. My ultimate objective is to download .ipynb as .pdf - but this seems to be the main barrier. Any suggested solutions? |
@chrisrb10 I run |
|
I have done all the suggestions above, as a summary: sudo tlmgr update --self Thanks @adriancooney , @sicotronic , @DanielWeitzenfeld |
this is a great thread! solved all my problems! |
Seriously an amazing thread. Thanks everyone who contributed! This helped me through all my problems as well |
For CentOS 7 folks:
You may need EPEL |
For Fedora folks, this solved it for me: |
FOR Arch/Manjaro, Installing texlive-latexextra did it for me |
This finally helps in my case |
Error |
It raises a new error for my MacBook pro:
|
Hi,
I'm trying to convert a notebook to PDF. I've downloaded pandoc and BasicTeX, but I'm still getting the following output:
[NbConvertApp] Converting notebook HW1_MATS8001.ipynb to pdf
[NbConvertApp] Writing 15256 bytes to notebook.tex
[NbConvertApp] Building PDF
[NbConvertApp] Running pdflatex 3 times: [u'pdflatex', u'notebook.tex']
[NbConvertApp] CRITICAL | pdflatex failed: [u'pdflatex', u'notebook.tex']
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/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 Error: File `adjustbox.sty' not found.
Type X to quit or to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
l.19 \usepackage
{color} % Allow colors to be defined^^M
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on notebook.log.
[NbConvertApp] Running bibtex 1 time: [u'bibtex', u'notebook']
[NbConvertApp] WARNING | bibtex had problems, most likely because there were no citations
[NbConvertApp] Running pdflatex 3 times: [u'pdflatex', u'notebook.tex']
[NbConvertApp] CRITICAL | pdflatex failed: [u'pdflatex', u'notebook.tex']
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/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 Error: File `adjustbox.sty' not found.
Type X to quit or to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
l.19 \usepackage
{color} % Allow colors to be defined^^M
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on notebook.log.
Traceback (most recent call last):
File "/usr/local/bin/ipython", line 11, in
sys.exit(start_ipython())
File "/usr/local/lib/python2.7/site-packages/IPython/init.py", line 118, in start_ipython
return launch_new_instance(argv=argv, *_kwargs)
File "/usr/local/lib/python2.7/site-packages/traitlets/config/application.py", line 592, in launch_instance
app.start()
File "/usr/local/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 349, in start
return self.subapp.start()
File "/usr/local/lib/python2.7/site-packages/nbconvert/nbconvertapp.py", line 286, in start
self.convert_notebooks()
File "/usr/local/lib/python2.7/site-packages/nbconvert/nbconvertapp.py", line 409, in convert_notebooks
self.convert_single_notebook(notebook_filename)
File "/usr/local/lib/python2.7/site-packages/nbconvert/nbconvertapp.py", line 380, in convert_single_notebook
output, resources = self.export_single_notebook(notebook_filename, resources)
File "/usr/local/lib/python2.7/site-packages/nbconvert/nbconvertapp.py", line 332, in export_single_notebook
output, resources = self.exporter.from_filename(notebook_filename, resources=resources)
File "/usr/local/lib/python2.7/site-packages/nbconvert/exporters/exporter.py", line 166, in from_filename
return self.from_notebook_node(nbformat.read(f, as_version=4), resources=resources, *_kw)
File "/usr/local/lib/python2.7/site-packages/nbconvert/exporters/pdf.py", line 139, in from_notebook_node
raise RuntimeError("PDF creating failed")
RuntimeError: PDF creating failed
The text was updated successfully, but these errors were encountered: