[texworks] Automatic update of resources

Jérome Laurens jerome.laurens at u-bourgogne.fr
Tue Jan 18 16:47:39 CET 2011

Hi Steffan,

your solution does not apply to machines shared by different users (all machines for students at the university).
When upgrading, only one user sees the scripts and templates updated:
the one who did the upgrade.

IMO, you'd better implement a machine wide mechanism to find the resources
and only then try to manage resource updates.

For example, if you put the resources in one of

~/Library/TeXworks <-- RW access for the user only
/Library/TeXworks <-- R access for anyone, W access for the machine admins
TeXWorks <--- R access for anyone, W access for no one

then if TeXworks does not find some resource in ~/Library/TeXworks, it looks for it into /Library/TeXworks,
and if it is still unsuccessfull, TW ends with the default resource built in the TW app itself.

This code design allows administrators to customize the resources for all the users at once.
Moreover, it ensures that the default resources are automatically updated for all the users with absolutely no effort.

It may allow to install the app on a movable drive.

BTW, localizable resources are essential.


More information about the texworks mailing list