[texworks] Scripting root file behaviour
Stefan Löffler
st.loeffler at gmail.com
Fri Apr 13 14:04:06 CEST 2012
Hi,
On 2012-04-10 20:18, Henrik Skov Midtiby wrote:
> I think you can activate the compilation of the current document with
>
> TW.target.typeset();
>
> Something similar should be available for all the open documents [1]
>
> TW.app.getOpenWindows()
>
> The idea is to get the window of the main document and trigger the
> compilation from there.
> There might be a better solution somewhere, but I have no knowledge of it (yet).
I think this is a fairly good solution (actually, that's basically what
Tw does internally).
Cheers,
Stefan
More information about the texworks
mailing list