Directory tex-archive/macros/luatex/generic/interpreter
This is the README file for the Interpreter package.
Author: Paul Isambert.
E-mail: zappathustra AT free DOT fr
Comments and suggestions are welcome.
Date: June 2012.
Version: 1.2.
Interpreter preprocesses input files on the fly (no external program) and
manipulates input lines, e.g. to turn some markup into proper TeX syntax.
Interpreter doesn't work with ConTeXt.
LuaTeX is required, and the Lua side of the Gates package (i.e. gates.lua),
version at least 0.2.
Relevant information can be found in interpreter-doc.pdf
or interpreter-doc.txt (source of the doc readable in a text editor).
The files in this distribution are:
interpreter.lua - main code
interpreter.tex - \input in plain TeX
interpreter.sty - wrapper for LaTeX
interpreter-doc.tex - master file for the doc
interpreter-doc.txt - text of the doc
interpreter-doc.pdf - typeset doc
i-doc.lua - interpretation for the doc (because, of course, the doc
is typeset with Interpreter)
Licensing of this package is covered by LPPL.
Files
| Name | Size | Date | Notes |
|---|---|---|---|
README |
1043 | 2012-06-10 09:28:50 | |
i-doc.lua |
8984 | 2011-12-03 08:22:20 | |
interpreter-doc.pdf |
110003 | 2012-06-10 09:24:48 | |
interpreter-doc.tex |
2828 | 2012-06-10 09:19:10 | |
interpreter-doc.txt |
32992 | 2012-06-10 09:24:44 | |
interpreter.lua |
20499 | 2012-06-10 09:24:26 | |
interpreter.sty |
667 | 2012-06-10 09:30:40 | |
interpreter.tex |
1246 | 2012-06-10 09:29:49 |
Download the complete
contents of this directory in one zip archive
(126.5k).
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.
| Documentation |
Readme Package documentation |
| Version | 1.2 |
| License | The LaTeX Project Public License |
| Maintainer | Paul Isambert |
| Contained in | TeXLive as interpreter |
| MiKTeX as interpreter | |
| Topics |
support for development of TeX macros import files in a non-TeX (or different TeX) format |
