Latex editing: master file set to nil