Fixed offset in compilation and tex file commit