[texworks] Lua scripting

Stefan Löffler st.loeffler at gmail.com
Sun Jun 7 15:49:29 CEST 2009


Hi,

it's been a while since I've been active on this list or TW in general
since I had a lot of stuff to do recently. This weekend I finally had
some free time and so I decided to implement Lua scripting for TW,
something that's been on the whishlist for a long time and that has been
asked for repeatedly.

For details on the implementation and the patch itself, see
http://code.google.com/p/texworks/issues/detail?id=27

Right now it's rather limited, but working. I included two sample
scripts that don't do much (I just started Lua seriously yesterday ;))
but show off what could be done in the future. Since this introduces
rather extensive changes including new dependencies of the code (on the
lua library), I hope there are some people out here who help me by
building it (possibly reporting how to satisfy the new dependencies) and
testing it. One day I hope Jonathan will find it stable enough to commit
it to the repository.

Looking forward to your comments.

-Stefan

PS @Jonathan: I know you won't like the tab bar in the output log
window. It was just the simplest way of testing the feature with
providing new output in Lua ;).


More information about the texworks mailing list