skillfed

sphinx-jupyterbook-latex

Latex specific features for jupyter book

sphinx-jupyterbook-latex v1.0.0 186.0K downloads/30d#9,998 on PyPI
Permissive license DORMANT released

What it is and what it does

sphinx-jupyterbook-latex is a Sphinx extension designed to enhance LaTeX output for Jupyter Book projects. It intercepts the LaTeX build process and applies a series of AST transforms to restructure documents for better PDF generation, including setting the LaTeX engine to xelatex, configuring a custom theme, and optionally managing image conversion and table-of-contents formatting.

The extension does not provide its own LaTeX theme but instead modifies Sphinx's LaTeX builder behavior through configuration overrides and document transformations. It is intended for projects that need to generate high-quality PDFs from Jupyter Book sources, particularly when using advanced LaTeX features or complex document structures.

Use it for:

  • Generate PDFs from Jupyter Book projects with improved LaTeX formatting and structure.
  • Configure xelatex as the LaTeX engine for better Unicode and font support in PDF output.
  • Automatically convert images and manage bibliographies in LaTeX-based Jupyter Book builds.
  • Create structured PDF documents with part-level headings derived from table-of-contents captions.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A Sphinx extension that adds LaTeX output infrastructure for Jupyter Book, configuring LaTeX builders and manipulating the document structure for PDF generation.

Yes, if you are actively building Jupyter Book projects that require PDF output and are willing to test against your specific Jupyter Book and Sphinx versions. The extension has low install friction and permissive licensing, but dormant maintenance (977 days since last release) means you should verify compatibility with current dependencies and check whether referenced issues have been resolved elsewhere before relying on it for production workflows.

Install

sphinx-jupyterbook-latex on PyPI

pip

pip install sphinx-jupyterbook-latex

uv

uv add sphinx-jupyterbook-latex

poetry

poetry add sphinx-jupyterbook-latex

Installing sphinx-jupyterbook-latex

Before you install

Low install friction with only two runtime dependencies (sphinx and packaging). Dormant maintenance status since 977 days after last release; no active development signals.

License in practice

BSD License (permissive); no restrictions on use, modification, or distribution in commercial or private projects.

Quickstart

pip install sphinx-jupyterbook-latex

# In Sphinx conf.py:
extensions = ["sphinx_jupyterbook_latex"]

# Or in Jupyter Book config.yml:
sphinx:
  extra_extensions:
    - sphinx_jupyterbook_latex

Requires Python 3.9 or later and an existing Sphinx or Jupyter Book project to configure.

Verify before relying

  • Whether the extension works with current Jupyter Book and Sphinx versions released after 2023-12-11.
  • Status of the referenced GitHub issues (executablebooks/meta#169) and whether they remain unresolved.
  • Whether xelatex and other LaTeX system dependencies are automatically handled or must be installed separately.

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 2 — sphinx, packaging
Maintenance dormant — 977 days since the last release
First released
Downloads 185,962/month — #9,998 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: sphinx_jupyterbook_latex-1.0.0-py3-none-any.whl

License :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPython

Tags

jupyter book latex pdfsphinx latex extensionjupyter book pdf outputsphinx xelatex builderjupyter book document buildingsphinx latex transformsjupyter book publishing
jupyter-booklatex-pdfsphinx-extension

More Sphinx packages

docstring-parser

Parses Python docstrings in ReST, Google,…

permissive · top 1,000 on PyPI

Sphinx

Sphinx generates professional documentation…

permissive · top 1,000 on PyPI

sphinxcontrib-serializinghtml

A Sphinx extension that outputs documentation…

permissive · top 1,000 on PyPI

alabaster

Alabaster is a clean, responsive Sphinx theme…

permissive · top 1,000 on PyPI

sphinxcontrib-htmlhelp

A Sphinx extension that generates HTML help…

permissive · top 1,000 on PyPI

sphinxcontrib-qthelp

A Sphinx extension that converts documentation…

permissive · top 1,000 on PyPI

sphinx-book-theme

A Sphinx theme that renders documentation as an…

permissive · top 5,000 on PyPI

nbsphinx

nbsphinx is a Sphinx extension that parses…

permissive · top 5,000 on PyPI

jupyter-book

Jupyter Book converts Markdown files and…

permissive · top 15,000 on PyPI

sphinx-simplepdf

Sphinx-SimplePDF is a Sphinx extension that…

permissive · top 15,000 on PyPI

PyLaTeX

PyLaTeX generates LaTeX documents and code…

permissive · top 15,000 on PyPI

sphinxcontrib-svg2pdfconverter

Converts SVG images to PDF or PNG for Sphinx…

permissive · top 15,000 on PyPI

sphinx_external_toc

A Sphinx extension that defines documentation…

permissive · top 15,000 on PyPI

sphinxcontrib-katex

A Sphinx extension that renders mathematical…

permissive · top 15,000 on PyPI

sphinx-remove-toctrees

A Sphinx extension that selectively removes…

permissive · top 15,000 on PyPI

sphinxcontrib-applehelp

Sphinx extension that generates Apple help…

permissive · top 1,000 on PyPI