Contributed by jose on from the pretty-pf-syntax dept.
Graphical syntax diagrams for pf.conf (pdf): http://pfsyntax.maik.li/pfsyntax.pdf (71k)
I have made a smal shell-script that creats a tex file with the syntax from "man pf.conf".
The tex file produced by pf2syn: http://pfsyntax.maik.li/syn.tex (11k)
The script, a sed commands file and a sample main_pdf.tex file (tgz): http://pfsyntax.maik.li/PF2Syn.tgz (2k)
How to create the pdf file:
$ pf2syn > syn.tex $ pdflatex main_pdf.tex $ rail main_pdf $ makeindex main_pdf $ pdflatex main_pdf.texYou need the program rail: http://www.ctan.org/tex-archive/support/rail/?action=/tex-archive/support/
ToDo:
- "-" in non-terminal, at the moment replaced by "."
- links non-terminal -> definition
(Comments are closed)
By Anonymous Coward () on
Comments
By m () on
http://www.alchar.org/~aedil/Projects/y2l.html
By marklar () marklar_@hotmail.com on mailto:marklar_@hotmail.com
By Anonymous Coward () on