#KJ-100 Automate the code filtering for latex document. The majority of the changes are due to elimination of require clause in all files except main definition files. Implemented.