| 1 |
# Readme for the package piton |
| 2 |
|
| 3 |
Author: F. Pantigny (`[email protected]`). |
| 4 |
|
| 5 |
CTAN page: `https://ctan.org/pkg/piton` |
| 6 |
|
| 7 |
GitHub page: `github.com/fpantigny/piton` |
| 8 |
|
| 9 |
## License |
| 10 |
The LaTeX extension `piton` is distributed under the LPPL 1.3 license. |
| 11 |
|
| 12 |
## Presentation |
| 13 |
|
| 14 |
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`. |
| 15 |
## Installation |
| 16 |
|
| 17 |
The package `piton` is present in the distributions MiKTeX, TeX Live and MacTeX. |
| 18 |
|
| 19 |
For a manual installation: |
| 20 |
|
| 21 |
* put the files `piton.ins` and `piton-code.dtx` in the same directory; |
| 22 |
* run `latex piton.ins` in that directory. |
| 23 |
|
| 24 |
The files `piton.sty` and `piton.lua` will be generated. |
| 25 |
|
| 26 |
These files `piton.sty` and `piton.lua` are the only files necessary to use the extension `piton`. |
| 27 |
You have to put them in the same directory as your document or (best) in a `texmf` tree. |
| 28 |
|
| 29 |
For the documentation in English, run: `lualatex piton.tex` |
| 30 |
|
| 31 |
|