{"id":33902649,"url":"https://github.com/executablebooks/sphinx-jupyterbook-latex","last_synced_at":"2026-04-06T02:03:40.933Z","repository":{"id":38186949,"uuid":"305222220","full_name":"executablebooks/sphinx-jupyterbook-latex","owner":"executablebooks","description":"Supporting LaTeX infrastructure for Jupyter Book","archived":false,"fork":false,"pushed_at":"2023-12-11T15:34:18.000Z","size":237,"stargazers_count":31,"open_issues_count":18,"forks_count":12,"subscribers_count":11,"default_branch":"master","last_synced_at":"2026-01-30T01:45:25.329Z","etag":null,"topics":["jupyter-book","latex","sphinx"],"latest_commit_sha":null,"homepage":"https://sphinx-jupyterbook-latex.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/executablebooks.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-19T00:20:23.000Z","updated_at":"2025-07-29T20:39:45.000Z","dependencies_parsed_at":"2024-11-15T10:32:09.329Z","dependency_job_id":"d22cfd4c-05d6-4538-bbbf-e328bec9cd6a","html_url":"https://github.com/executablebooks/sphinx-jupyterbook-latex","commit_stats":{"total_commits":81,"total_committers":9,"mean_commits":9.0,"dds":"0.32098765432098764","last_synced_commit":"0113e031270c199cd4631a563a649086882875ad"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/executablebooks/sphinx-jupyterbook-latex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/executablebooks%2Fsphinx-jupyterbook-latex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/executablebooks%2Fsphinx-jupyterbook-latex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/executablebooks%2Fsphinx-jupyterbook-latex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/executablebooks%2Fsphinx-jupyterbook-latex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/executablebooks","download_url":"https://codeload.github.com/executablebooks/sphinx-jupyterbook-latex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/executablebooks%2Fsphinx-jupyterbook-latex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31456665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jupyter-book","latex","sphinx"],"created_at":"2025-12-12T00:54:04.475Z","updated_at":"2026-04-06T02:03:40.927Z","avatar_url":"https://github.com/executablebooks.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sphinx-jupyterbook-latex\n\n[![Documentation Status](https://readthedocs.org/projects/sphinx-jupyterbook-latex/badge/?version=latest)](https://sphinx-jupyterbook-latex.readthedocs.io/en/latest/?badge=latest)\n\nSphinx extension to support LaTeX infrastructure for Jupyter Book.\n\nThis repository is a **development** project to improve LaTeX support\nin `Jupyter Book`.\n\n## Get started\n\nTo get started with `sphinx-jupyterbook-latex`, first install it through `pip`:\n\n```\npip install sphinx-jupyterbook-latex\n```\n\nthen, add `sphinx_jupyterbook_latex` to your extensions,\nin a Sphinx `conf.py`:\n\n```python\nextensions = [\"sphinx_jupyterbook_latex\"]\n\n# autoload the sphinx.ext.imgconverter extension, optional (default is True)\n# jblatex_load_imgconverter = True\n# turn root level toctree captions into top-level `part` headings, optional (default is to auto-infer)\n#  jblatex_captions_to_parts = True\n```\n\nOR in the jupyterbook `config.yml`:\n\n```yaml\nsphinx:\n    extra_extensions:\n    - sphinx_jupyterbook_latex\n    # config:\n    #   jblatex_load_imgconverter: true\n    #   jblatex_captions_to_parts: true\n```\n\n## Extension Details\n\nThis extension does not provide an actual Sphinx LaTeX theme,\ninstead it instantiates a number of transforms (for LaTeX builders only) that manipulate the AST into the required format:\n\n1. Overrides some configuration:\n\n- ``latex_engine`` -\u003e ``xelatex``\n- ``latex_theme`` -\u003e ``jupyterBook``\n- appends necessary LaTeX commands to the preamble\n\n2. When a latex builder is specified:\n\n- Set's up `sphinx.ext.imgconverter` (if `jblatex_load_imgconverter`)\n- Replace sub-headers in the root document\n- Create headings from the root-level toctree captions (if `jblatex_captions_to_parts`)\n- Move bibliographies to the bottom of the document\n\nIssues\n------\n\nA list of issues that need to be addressed:\n\nhttps://github.com/executablebooks/meta/issues/169\n\nDeveloper Notes\n---------------\n\nA [repository that contains many different project configurations](https://github.com/mmcky/ebp-test-projectstructure)\nfor testing and development is available, along with implementation\nidea and notes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexecutablebooks%2Fsphinx-jupyterbook-latex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexecutablebooks%2Fsphinx-jupyterbook-latex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexecutablebooks%2Fsphinx-jupyterbook-latex/lists"}