CTAN Comprehensive TeX Archive Network

interpreter – Translate input files on the fly

The pack­age pre­pro­cesses in­put files to a Lua 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 reads the ma­te­rial. In this way, doc­u­ments may be pre­pared in a non- lan­guage (e.g., some lightweight markup lan­guage) and turned into ‘proper’ 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 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 and , but not Cont.

Sources/macros/luatex/generic/interpreter
Doc­u­men­ta­tion
Ver­sion1.2
Li­censesThe Project Public Li­cense
Main­tainerPaul Isam­bert
Con­tained inTeX Live as in­ter­preter
MiKTeX as in­ter­preter
TopicsMacro sup­port
For­eign im­port
Lua

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

Com­mu­nity Com­ments

Load­ing...

An­nounce­ments

Here you can see a re­spec­tive di­a­gram in newer browsers.

more

Guest Book Sitemap Contact Contact Author