Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse

interpreter – Translate input files on the fly

The pack­age pre­pro­cesses in­put files to a Lua(La)TeX run, on the fly.

The user de­fines Lua reg­u­lar ex­pres­sions to search for pat­terns and mod­ify in­put lines (or en­tire para­graphs) ac­cord­ingly, be­fore TeX reads the ma­te­rial. In this way, doc­u­ments may be pre­pared in a non-TeX lan­guage (e.g., some lightweight markup lan­guage) and turned into ‘proper’ TeX for pro­cess­ing.

The source of the doc­u­men­ta­tion is typed in such a lightweight lan­guage and is thus eas­ily read­able in a text ed­i­tor (the PDF file is also avail­able, of course); the trans­for­ma­tion to TeX syn­tax via In­ter­preter's func­tions is ex­plained in the doc­u­men­ta­tion it­self.

In­ter­preter is im­ple­mented us­ing the au­thor’s gates (lua ver­sion), and works for plain TeX and LaTeX, but not ConTeXt.

Sources/macros/luatex/generic/interpreter
Doc­u­men­ta­tion
Ver­sion1.2
Li­censeThe LaTeX Project Public Li­cense
Main­tainerPaul Isam­bert
Con­tained inTeXlive as in­ter­preter
MikTeX as in­ter­preter
Topics im­port files in a non-TeX (or dif­fer­ent TeX) for­mat
sup­port for de­vel­op­ment of (La)TeX macros

Down­load the con­tents of this pack­age in one zip archive (126.5k).

Guest Book Sitemap Contact