1 | initial version |
I apologize to everyone for my inconvenience. The heart of problem was my making of a rookie mistake. When creating TeX file, I didn't close the file properly. Namely, instead of
file_handler.close()
I typed
file_handler.close
Without brackets, the final \end{document}
did not take effect which caused the missing '\end' problem.