Index of /macros/latex/contrib/perltex
      Name                    Last modified       Size  Description

[DIR] Parent Directory 22-Aug-2019 05:31 - [   ] perltex.1 11-Jul-2010 09:17 10k [   ] perltex.dtx 11-Jul-2010 09:12 117k [   ] perltex.ins 11-Jul-2010 08:58 3k [   ] perltex.pdf 11-Jul-2010 09:12 326k

                |              PERLTEX               |
                | By Scott Pakin, |


PerlTeX is a combination Perl script ( and LaTeX2e style
file (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.


In case it's not obvious, you'll need a Perl installation.  Perl is
freely available and runs on dozens of platforms.  See the list of Perl
binary distributions on CPAN (

Execute "latex perltex.ins" to generate perltex.sty and
Install perltex.sty in an appropriate directory (e.g.,
/usr/local/share/texmf/tex/latex/misc or C:\localtexmf\tex\latex\misc). is a Perl script.  On Unix, you may want to rename it to
just "perltex" and set execute permissions ("chmod +x perltex").  On
Windows, you may want to create a batch-file wrapper for it ("pl2bat").  In either case, perltex should be installed somewhere in
your executable path (e.g., /usr/local/bin).

It's not necessary to produce the documentation as PerlTeX comes with
prebuilt documentation in PDF format (perltex.pdf).  However, if you
want to build the documentation yourself (e.g., to use A4 paper instead
of U.S. Letter), run "latex perltex.dtx" twice, then "makeindex -s perltex.idx" and "makeindex -s perltex.glo -o
perltex.gls", then "latex perltex.dtx" again, then "dvips perltex.dvi
-o" if you want to produce PostScript.


Copyright (C) 2010 Scott Pakin

These files may be distributed and/or modified under the conditions of
the LaTeX Project Public License, either version 1.3c of this license or
(at your option) any later version.  The latest version of this license
is in:

and version 1.3c or later is part of all distributions of LaTeX version
2006/05/20 or later.