summaryrefslogtreecommitdiff
path: root/macros/luatex/latex/piton/README.md
blob: c9ad487bcc294abdb36061a5623d99b1b84f0dd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Readme for the package piton

Author: F. Pantigny (`fpantigny@wanadoo.fr`).

CTAN page: `https://ctan.org/pkg/piton`

## License
The LaTeX extension `piton` is distributed under the LPPL 1.3 license.

## Presentation

The LaTeX package `piton` provides a command `\piton` and an environment `{Piton}` to typeset Python codes by using the Lua library LPEG. It requires the use of `lualatex`. It won't work with `xelatex` nor `pdflatex`. 



## Installation


For a manual installation:

* put the files `piton.ins` and `piton.dtx` in the same directory; 
* run `latex piton.ins` in that directory.

The file `piton.sty` will be generated.

The file `piton.sty` is *not* the only file necessary to use the extension `piton`. The file `piton.lua` is also required. You have to put both in the same directory as your document or (best) in a `texmf` tree.