summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/lualatex/piton/README.md
blob: 79d7e72fbcc7c06e08c308d22030b8f84cff7880 (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
27
28
29
30
31
32
# 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 LaTeX 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 MiKTeX, TeXLive and MacTeX.

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.