{"library":"sphinx-jupyterbook-latex","title":"Sphinx Jupyter Book LaTeX","type":"library","description":"Sphinx Jupyter Book LaTeX is a Sphinx extension designed to enhance LaTeX build capabilities for Jupyter Book projects. It provides a set of transforms and post-transforms that configure Sphinx to correctly handle Jupyter Book's `_toc.yml` structure and produce PDF output that closely mirrors the HTML version. Version 1.0.0 is current, and releases generally align with updates in the broader Jupyter Book ecosystem.","language":"python","status":"active","last_verified":"Thu Apr 16","install":{"commands":["pip install sphinx-jupyterbook-latex"],"cli":null},"imports":["extensions = ['sphinx_jupyterbook_latex'] # in conf.py"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":"https://executablebooks.org/","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/sphinx-jupyterbook-latex/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"# 1. Install the library\npip install sphinx-jupyterbook-latex\n\n# 2. Add it to your Sphinx conf.py\n# If you're using Jupyter Book, this extension is often enabled by default.\n# For a standalone Sphinx project, add:\nextensions = [\n    'sphinx_jupyterbook_latex',\n    # other extensions like 'myst_parser', 'jupyter_book_theme', etc.\n]\n\n# 3. Ensure ImageMagick is installed on your system for image conversion\n# Example for Debian/Ubuntu:\n# sudo apt-get install imagemagick\n\n# 4. Build your book to PDF (example using jupyter-book CLI)\n# jupyter-book build --builder latex your_book_folder\n# For Sphinx, use: make latexpdf","lang":"bash","description":"To get started, install the package via pip. Then, enable the Sphinx extension by adding 'sphinx_jupyterbook_latex' to your `extensions` list in `conf.py`. Note that ImageMagick is a required system dependency for image processing. If building with Jupyter Book, it often handles much of this configuration automatically.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}