Directory macros/latex/contrib/pynotebook
README.md
pynotebook
A LaTeX package providing environments to recreate a Jupyter notebook (raw, markdown, code blocks) — Un package LaTeX proposant des environnements pour recréer un notebook Jupyter (blocs bruts, markdown, code)
Installation
The package is available on CTAN and can be installed via your LaTeX distribution's package manager.
Via MiKTeX
- Graphically: open the MiKTeX Console, go to Packages, search for
pynotebookand click Install. - Command line:
mpm.exe --install pynotebook
Via TeX Live / tlmgr
tlmgr install pynotebook
On Linux, you may need to prefix with sudo depending on your installation.
Manual installation
If you want the latest version directly from this repository:
- Download the repository (click Code > Download ZIP, or clone it).
- Place
pynotebook.styin a directory where LaTeX can find it, for example:- TeX Live / Linux:
~/texmf/tex/latex/pynotebook/ - MiKTeX / Windows:
C:\Users\<user>\AppData\Roaming\MiKTeX\tex\latex\pynotebook\ - macOS (MacTeX):
~/Library/texmf/tex/latex/pynotebook/
- TeX Live / Linux:
- Refresh the filename database:
- TeX Live:
mktexlsrortexhash - MiKTeX:
initexmf --update-fndb
- TeX Live:
Quick start
\usepackage{pynotebook}
Author & License
| Author | Cédric Pierquet |
| cpierquet@outlook.fr | |
| License | Released under the LaTeX Project Public License v1.3c or later |
Download the contents of this package in one zip archive (524.6k).
pynotebook – pynotebook presents (raw, Markdown or Python) codes (and execution with LuaLaTeX) as in a Jupyter Notebook
This package provides environments to (re)create a jupyter notebook with:
- raw blocks;
- markdown blocks (with full LaTeX support);
- code blocks (python) with execution thanks to piton and PyLuaTeX (version > 0.7.0).
| Package | pynotebook |
| Bug tracker | https://github.com/cpierquet/latex-packages/issues |
| Repository | https://github.com/cpierquet/latex-packages/tree/main/pynotebook |
| Version | 0.1.6 2026-04-20 |
| Licenses | The LaTeX Project Public License 1.3c |
| Maintainer | Cédric Pierquet |
| Contained in | TeX Live as pynotebook MiKTeX as pynotebook |
| Topics | Listing Callback Boxing |