Debian Codegraph @

texmf-dist/doc/latex/formal-grammar/README.md

raw symbols SCIP
1 # Package `formal-grammar`
2
3 This package provides an easy way to write formal grammars.
4
5 To use it, run the following commands:
6 ```
7 $ latex formal-grammar.ins
8 $ pdflatex formal-grammar.dtx
9 ```
10 The first command generates the file `formal-grammar.sty` that should be placed
11 in the same folder than your main document. The second command generates the
12 file `formal-grammar.pdf` (you may require multiple runs to adjust internal
13 references), which is the documentation for the package.
14
15 # License
16
17 This package is provided under the terms of the LaTeX Project Public License,
18 version 1.3 or later.
19
20 # Author
21
22 The initial author of this package is Martin Vassor.
23
24 Thanks to Enrico Gregorio (egreg) for suggesting improvements.
25 Thanks to Fangyi Zhou for the "center |" feature in `formal-grammar` (Commit: #4c3727ef)
26
27 # See also
28
29 - [**simplebnf**](https://www.ctan.org/pkg/simplebnf): this package provides an
30 easier way to describe the grammar (no need to use special commands), but
31 offers less customisation options (highlight, etc.).
32 - [**backnaur**](https://www.ctan.org/pkg/backnaur).