sure, this is the common behaviour but then this statement does not make any sense,
or more there seems to be a special handling for this case..

TM_LATEX_MASTER = '${CWD}/document.tex'

or am i missing something ?
best
david