[texworks] Lua scripting
jfkthame at googlemail.com
Sun Jun 7 16:03:40 CEST 2009
I saw this patch -- very cool indeed! I'll try to experiment with it
soon, though it may take some effort to get it building on OS X and
Windows; should be possible though.
One question I've been considering, and still feel undecided about, is
whether it's preferable to use Lua as a scripting language (partly
because it is the currently-favoured language in the TeX world), or to
functionality already built into the Qt frameworks. Of course, by
actually coming up with a patch you may have pretty much settled that
On 7 Jun 2009, at 14:49, Stefan Löffler wrote:
> 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
> asked for repeatedly.
> For details on the implementation and the patch itself, see
> 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
> lua library), I hope there are some people out here who help me by
> building it (possibly reporting how to satisfy the new dependencies)
> testing it. One day I hope Jonathan will find it stable enough to
> it to the repository.
> Looking forward to your comments.
> 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