CTAN update: piton
Date: January 30, 2023 4:47:56 PM CET
François Pantigny submitted an update to the
piton
package.
Version number: 1.3 2023-01-29
License type: lppl1.3
Summary description: Typeset Python listings with LPEG
Announcement text:
When the class Beamer is used, the environment {Piton} and the command \PitonInputFile are ``overlay-aware'' (that is to say, they accept an argument for the overlays of Beamer between angular brackets). New key 'prompt-background-color' It's now possible to use the command \label to refer to a line of code in an environment {Piton}. A new command '\ ' is available in the argument of the command \piton{...} to insert a space (otherwise, several consecutive spaces are replaced by a single space).
This package is located at https://mirrors.ctan.org/macros/luatex/latex/piton More information is at https://www.ctan.org/pkg/piton
Thanks for the upload. For the CTAN Team Erik Braun
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
When the class Beamer is used, the environment {Piton} and the command \PitonInputFile are ``overlay-aware'' (that is to say, they accept an argument for the overlays of Beamer between angular brackets). New key 'prompt-background-color' It's now possible to use the command \label to refer to a line of code in an environment {Piton}. A new command '\ ' is available in the argument of the command \piton{...} to insert a space (otherwise, several consecutive spaces are replaced by a single space).
This package is located at https://mirrors.ctan.org/macros/luatex/latex/piton More information is at https://www.ctan.org/pkg/piton
Thanks for the upload. For the CTAN Team Erik Braun
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.2a 2023-09-17 |
Copyright | 2022–2023 François Pantigny |
Maintainer | François Pantigny |