perltex – Define LaTeX macros in terms of Perl code
PerlTeX is a combination Perl script (perltex.pl) and LaTeX2ε package (perltex.sty) that, together, give the user the ability to define LaTeX macros in terms of Perl code. Once defined, a Perl macro becomes indistinguishable from any other LaTeX macro. PerlTeX thereby combines LaTeX's typesetting power with Perl's programmability. PerlTeX will make use of persistent named pipes, and thereby run more efficiently, on operating systems that offer them (mostly Unix-like systems).
Also provided is a switch to generate a PerlTeX-free, document-specific, noperltex.sty that is useful when distributing a document to places where PerlTeX is not available.
The LaTeX Project Public License
|Contained in||TeX Live as perltex|
|MiKTeX as perltex|
call external code and process the result
Download the contents of this package in one zip archive (304.6k).
Maybe you are interested in the following packages as well.
- pythontex: Run Python from within a document, typesetting the results
- rterface: Access to R analysis from within a document
- sagetex: Embed Sage code and plots into LaTeX
- gensymb: Generic symbols for both text and math mode