interpreter – Translate input files on the fly
The package preprocesses input files to a Lua(La)TeX run, on the fly.
The user defines Lua regular expressions to search for patterns and modify input lines (or entire paragraphs) accordingly, before TeX reads the material. In this way, documents may be prepared in a non-TeX language (e.g., some lightweight markup language) and turned into ‘proper’ TeX for processing.
The source of the documentation is typed in such a lightweight language and is thus easily readable in a text editor (the PDF file is also available, of course); the transformation to TeX syntax via Interpreter's functions is explained in the documentation itself.
Interpreter is implemented using the author’s gates (lua version), and works for plain TeX and LaTeX, but not ConTeXt.
|License||The LaTeX Project Public License|
|Contained in||TeX Live as interpreter|
|MiKTeX as interpreter|
import files in a non-TeX (or different TeX) format
LuaTeX and packages that require it
support for development of (La)TeX macros
Download the contents of this package in one zip archive (126.5k).
Maybe you are interested in the following packages as well.
- lualibs: Additional Lua functions for LuaTeX macro programmers
- luamplib: Use LuaTeX's built-in METAPOST interpreter
- nodetree: visualize node lists in a tree view
- enigma: Encrypt documents with a three rotor Enigma