CTAN update: piton
Date: August 27, 2023 5:03:33 PM CEST
François Pantigny submitted an update to the
piton
package.
Version: 2.1 2023-08-26
License: lppl1.3
Summary description: Typeset Python listings with LPEG
Announcement text:
The key 'line-numbers' has now sub-keys 'line-numbers/skip-empty-lines', 'line-numbers/label-empty-lines', etc. The key 'all-line-numbers' is deprecated: use 'line-numbers/skip-empty-lines=false'. New system to import, with \PitonInputFile, only a part (of the file) delimited by textual markers. New keys 'begin-escape', 'end-escape', 'begin-escape-math' and 'end-escape-math'. The key 'escape-inside' is deprecated: use 'begin-escape' and 'end-escape' in \PitonOptions.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/piton The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/luatex/latex/piton/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
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
The key 'line-numbers' has now sub-keys 'line-numbers/skip-empty-lines', 'line-numbers/label-empty-lines', etc. The key 'all-line-numbers' is deprecated: use 'line-numbers/skip-empty-lines=false'. New system to import, with \PitonInputFile, only a part (of the file) delimited by textual markers. New keys 'begin-escape', 'end-escape', 'begin-escape-math' and 'end-escape-math'. The key 'escape-inside' is deprecated: use 'begin-escape' and 'end-escape' in \PitonOptions.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/piton The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/luatex/latex/piton/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
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
piton – Typeset Python listings with LPEG
This package uses the Lua library LPEG to typeset and highlight informatic listings in several languages (Python, OCaml, SQL and C++).
It requires the use of LuaLaTeX. It won’t work with XeLaTeX, nor pdfLaTeX.
Package | piton |
Version | 2.2b 2023-11-03 |
Copyright | 2022–2023 François Pantigny |
Maintainer | François Pantigny |