Verzeichnis macros/luatex/latex/piton
Readme for the package piton
Author: F. Pantigny (fpantigny@wanadoo.fr).
CTAN page: https://ctan.org/pkg/piton
GitHub page: github.com/fpantigny/piton
License
The LaTeX extension piton is distributed under the LPPL 1.3 license.
Presentation
The package piton provides tools to typeset computer listings, with syntactic highlighting, by using the Lua library LPEG. It requires the use of lualatex and won't work with xelatex nor pdflatex.
It requires the use of LuaLaTeX and won't work the other TeX engines (xelatex, pdflatex, etc.).
Installation
The package piton is present in the distributions MiKTeX, TeX Live and MacTeX.
For a manual installation:
- put the files
piton.insandpiton-code.dtxin the same directory; - run
latex piton.insin that directory.
The files piton.sty and piton.lua will be generated.
These files piton.sty and piton.lua are the only files necessary to use the extension piton. You have to put them in the same directory as your document or (best) in a texmf tree.
For the documentation in English, run: lualatex piton.tex
Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (1.4M).
piton – Typeset informatic listings with LPEG of LuaLaTeX
This package uses the Lua library LPEG to typeset and highlight informatic listings in several languages.
It requires the use of LuaLaTeX. It won’t work with XeLaTeX, nor pdfLaTeX.
| Paket | piton |
| Repository | https://github.com/fpantigny/piton |
| Version | 4.9a 2025-10-23 |
| Lizenzen | The LaTeX Project Public License 1.3 |
| Copyright | 2022–2025 François Pantigny |
| Betreuer | François Pantigny |
| Enthalten in | TeX Live als piton MiKTeX als piton |
| Themen | Syntax-Highlighting LuaTeX Expl3 Listings |
| Siehe auch | codehigh |