>>Date: Thu, 26 Feb 2004 10:56:10 +0000
>>From: navaja <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: formatting perl code
>>
>>hi,
>>i have some perl code that i'd like to include as part of a 'report'
>>style document. Are there any .sty files or similar to allow me to do this?
lgrind (see on CTAN) pretty-formats most codes, including Perl:
#lgrind -s
...
C++ (CC) PERL (pl)
...
Needs external processing of the pieces of code, and inclusion
in LyX through ERT \lgrindfile{foo.tex}
Package options allow to tune the layout.
lgrind -l pl foo.pl >foo.tex
produces a standalone latex file.
--
Jean-Pierre