CTAN Comprehensive TeX Archive Network

Directory macros/luatex/latex/piton

README.md

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 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.

Installation

The package piton is present in the distributions MiK, Live and Mac.

For a manual installation:

  • put the files piton.ins and piton.dtx in the same directory;
  • run latex piton.ins in 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.

Download the contents of this package in one zip archive (1018.3k).

piton – Typeset informatic listings with LPEG of Lua

This package uses the Lua library LPEG to typeset and highlight informatic listings in several languages.

It requires the use of Lua. It won’t work with XeLaTeX, nor pdf.

Packagepiton
Repositoryhttps://github.com/fpantigny/piton
Version4.2a 2024-12-06
LicensesThe Project Public License 1.3
Copyright2022–2024 François Pantigny
MaintainerFrançois Pantigny
Contained inTeX Live as piton
MiKTeX as piton
TopicsSyntax highlight
Lua
Listing
Experimental 3
See alsocodehigh
...
Guest Book Sitemap Contact Contact Author