Jupyter PDF Installation
Jupyter PDF Installation
Installation
Installation
See also
Installing Jupyter
Installing nbconvert
Nbconvert is packaged for both pip and conda, so you can install it with:
# OR
The Miniconda and Miniforge distributions both provide a minimal conda installation.
Important
To unlock its full capabilities, nbconvert requires Pandoc, TeX
(specifically, XeLaTeX) and
Pyppeteer. These must be installed separately.
Installing Pandoc
For converting markdown to formats other than HTML, nbconvert uses
Pandoc (1.12.1 or later).
To install pandoc on Linux, you can generally use your package manager:
Installing TeX
For converting notebooks to PDF (with --to pdf ), nbconvert makes use of LaTeX
and the XeTeX as
the rendering engine.
New in version 5.0: We use XeTeX as the rendering engine rather than pdfTeX (as
in earlier versions).
XeTeX can access fonts through native
operating system libraries, it has better support for
OpenType
formatted fonts and Unicode characters.
Installing Chromium
For converting notebooks to PDF with --to webpdf , nbconvert requires the
Pyppeteer Chromium
automation library.
Pyppeteer makes use of a specific version of Chromium. If it does not find a suitable
installation of
the web browser, it can automatically download it if the --allow-chromium-download
flag is passed
to the command line.
If you are only able to install a limited TeX environment, there are two main routes you could take
to convert to PDF:
2. Custom exporter
a. You could write a custom exporter
that takes your system’s limitations into account.