
NEW: Introducing jupyterbook-latex and added handling of tableofcontents for latex (PR #1167)

This PR brings improvements to `PDF` builds via `LaTeX` by incorporating the [jupyterbook-latex](https://github.com/executablebooks/jupyterbook-latex ) extension. This initial release: 1. harmonises the document structure for `html` and `latex` outputs, by implementing support for `part`/`chapter` structures in the `_toc.yml` for PDF via LaTeX, 2. brings support for the jupyter-book directive `tableofcontents` to PDF via LaTeX, and 3. adds support for commonly used tags on `code-cell` directives (such as `hide-cell`) to PDF via LaTeX Co-authored-by:mmcky <mamckay@gmail.com> Co-authored-by:
mmcky <mmcky@users.noreply.github.com>
Showing
- .github/workflows/pdf.yml 2 additions, 1 deletion.github/workflows/pdf.yml
- .github/workflows/tests.yml 4 additions, 1 deletion.github/workflows/tests.yml
- docs/advanced/pdf.md 34 additions, 11 deletionsdocs/advanced/pdf.md
- jupyter_book/__init__.py 5 additions, 0 deletionsjupyter_book/__init__.py
- jupyter_book/config.py 5 additions, 0 deletionsjupyter_book/config.py
- jupyter_book/default_config.yml 1 addition, 0 deletionsjupyter_book/default_config.yml
- jupyter_book/directive/toc.py 159 additions, 25 deletionsjupyter_book/directive/toc.py
- setup.py 2 additions, 0 deletionssetup.py
- tests/books/config/_config_jupyterbooklatex.yml 3 additions, 0 deletionstests/books/config/_config_jupyterbooklatex.yml
- tests/books/toc/_toc_urllink.yml 1 addition, 2 deletionstests/books/toc/_toc_urllink.yml
- tests/books/toc/index.md 1 addition, 0 deletionstests/books/toc/index.md
- tests/books/toc/subfolder/index.md 5 additions, 0 deletionstests/books/toc/subfolder/index.md
- tests/test_config/test_config_sphinx_command.txt 2 additions, 1 deletiontests/test_config/test_config_sphinx_command.txt
- tests/test_config/test_get_final_config_custom_myst_extensions.yml 2 additions, 0 deletions...t_config/test_get_final_config_custom_myst_extensions.yml
- tests/test_config/test_get_final_config_empty_.yml 2 additions, 0 deletionstests/test_config/test_get_final_config_empty_.yml
- tests/test_config/test_get_final_config_exclude_patterns_.yml 2 additions, 0 deletions...s/test_config/test_get_final_config_exclude_patterns_.yml
- tests/test_config/test_get_final_config_execute_method_.yml 2 additions, 0 deletionstests/test_config/test_get_final_config_execute_method_.yml
- tests/test_config/test_get_final_config_extended_syntax_.yml 2 additions, 0 deletionstests/test_config/test_get_final_config_extended_syntax_.yml
- tests/test_config/test_get_final_config_html_extra_footer_.yml 2 additions, 0 deletions.../test_config/test_get_final_config_html_extra_footer_.yml
- tests/test_config/test_get_final_config_latex_doc_.yml 2 additions, 0 deletionstests/test_config/test_get_final_config_latex_doc_.yml
Please register or sign in to comment