New CTAN package: interpreter
Date: July 9, 2011 8:50:56 PM CEST
the daemon popped up while i was in the swing of "real work":
> The following information was provided by the package's contributor.
>
> Name of contribution: interpreter
> Author's name: Paul Isambert
> Location on CTAN: macros/plain
> Summary description: Translates input files on the fly.
> License type: lppl
>
> Announcement text given by the package's contributor:
> ----------------------------------------------------------------------
> Interpreter is a package for the LuaTeX engine which preprocesses
> input files on the fly (it isn't an external program).
>
> Users define Lua regular expressions to search for patterns and modify
> input lines (or entire paragraphs) accordingly before TeX reads the
> material. The main goal is to type documents in a given language
> (e.g. some lightweight markup language) and turn them into proper
> Tex.
>
> 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 works for plain TeX and LaTeX, but not ConTeXt.
thanks for the upload; i have installed the files, and written an entry
for the catalogue repository.
> Users may view the package catalogue entry at
>
http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/interpreter.html
> or they may browse the package directory at
>
http://www.tex.ac.uk/tex-archive/macros/luatex/generic/interpreter/
The catalogue entry on the web will first appear overnight tonight.
Robin Fairbairns
For the CTAN team
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.
Announcements
more