CTAN update: pyjupyter
Datum: 18. März 2026 06:08:30 MEZ
Bara Ouyèté Bright submitted an update to the
pyjupyter
package.
Version: 1.2.0 2026-03-15
License: lppl1.3c
Summary description: Lightweight environment for typesetting Python code
Announcement text:
I am pleased to announce version 1.2.0 of the pyjupyter package. This new release introduces support for including external Python files directly in LaTeX documents through the `\inputpythonfile` command. This command allows users to embed Python scripts inside Jupyter-style code boxes while preserving syntax highlighting, optional line numbering, and the visual formatting provided by the package. It is also possible to display only selected portions of a file by specifying a range of lines, which is particularly useful when presenting excerpts of longer programs. With this addition, pyjupyter becomes more convenient for teaching materials, programming assignments, and technical documentation where code stored in external files needs to be displayed clearly within a LaTeX document.
This package is located at https://mirrors.ctan.org/macros/latex/contrib/pyjupyter More information is at https://ctan.org/pkg/pyjupyter
Thanks for the upload. For the CTAN Team Manfred Lotz CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs .
I am pleased to announce version 1.2.0 of the pyjupyter package. This new release introduces support for including external Python files directly in LaTeX documents through the `\inputpythonfile` command. This command allows users to embed Python scripts inside Jupyter-style code boxes while preserving syntax highlighting, optional line numbering, and the visual formatting provided by the package. It is also possible to display only selected portions of a file by specifying a range of lines, which is particularly useful when presenting excerpts of longer programs. With this addition, pyjupyter becomes more convenient for teaching materials, programming assignments, and technical documentation where code stored in external files needs to be displayed clearly within a LaTeX document.
This package is located at https://mirrors.ctan.org/macros/latex/contrib/pyjupyter More information is at https://ctan.org/pkg/pyjupyter
Thanks for the upload. For the CTAN Team Manfred Lotz CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs .
pyjupyter – Lightweight environment for typesetting Python code
The pyjupyter package provides a lightweight and elegant environment for typesetting Python code in LaTeX documents with a visual style inspired by Jupyter notebooks.
It leverages the listings package for syntax highlighting and tcolorbox for structured, breakable frames. Key features include:
- Full support for French accents and UTF-8 encoding.
- Intelligent syntax highlighting for Python operators and keywords.
- A dedicated numbered option for line numbering.
- Seamless integration with TeXstudio via an included .cwl file for auto-completion.
- Robust handling of Python comments (#) using an optional argument syntax.
- Font selection.
- Code size modification.
| Paket | pyjupyter |
| Version | 1.2.0 2026-03-15 |
| Copyright | 2026 Bara Ouyèté Bright |
| Betreuer | Bara Ouyèté Bright |