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
Ver­sion 1.2
Li­cense The Project Public Li­cense
Main­tainer Paul Isam­bert
Con­tained in TeX Live as in­ter­preter
MiKTeX as in­ter­preter
Topics im­port files in a non- (or dif­fer­ent ) for­mat
Lua and pack­ages that re­quire it
sup­port for de­vel­op­ment of macros

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

Com­mu­nity Com­ments



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


Guest Book Sitemap Contact Contact Author