On 19 May 2010, at 23:30, Donald Curtis wrote:
[...] I went through and did some testing and it appears that TM_SOFT_TABS does not get set in the environment for those script that do pre- processing on templates.
The file type of the document is set after the template script has executed (since it needs to match first line of template result + extension to find the template).
Something like TM_SOFT_TABS is tied to the file type, so this is unavailable.