- Fixed bugs in tex file