I have a thesis template in .tex format. When I import it in LyX and compile it, it does not work. LyX stops working. Any Suggestion ? The template when opened in LyX looks like this
% SAMPLE FRONT MATTER: \graduationmonth{December} \graduationyear{2003} \defensedate{November 15, 2003} JAY VICTOR SMITH \committee{Vasant K. Prabhu}{Jonathan Bredow}{Jung-Chih Chiao}{Sajal K. Das}{Harold Sobol} COMPARATIVE ANALYSIS OF PARTIALLY COHERENT AND DIFFERENTIALLY COHERENT PSK SYSTEMS WITH FADING AND COCHANNEL INTEREFERENCE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% title page %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \titlepage % If submitting electronically, the signature page should not be included.% You should then comment out the line that produces the signature page and% move the title page up here so that it appears first.% added by Darin Brezeale, Fri Jan 11 10:29:12 CST 2008% \signaturepageMs% \signaturepagePhD%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% copyright page %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \copyrightpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Dedication page %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\thispagestyle{empty} To my mother Sari and my uncle Luis Alfredo (my father figure) who set the example and who made me who I am. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% acknowledgements %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{acknowledgements} acknowledge.tex \end{acknowledgements} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% abstract %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Abstract abstract.tex Abstract \indent \addtocontents{toc}{\mbox{Chapter} \mbox{Page}}%\addtocontents{toc}{\noindent\mbox{Chapter}}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% First and Following Chapters %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \input macros.tex % file containing author's macro definitionschap1.tex % file containing Chapter 2 contentschap2.tex % file containing Chapter 2 contents%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Appendices %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %dummy comment inserted by tex2lyx to ensure that this paragraph is not empty% \chapter{FIRST APPENDIX NAME} Appendix A JENSEN'S INEQUALITY FOR CONVEX FUNCTIONS appA.tex % file with Appendix A contents Appendix B UPPER BOUNDS ON MOMENTS appB.tex % file with Appendix B contents%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\bibliographystyle{plain}%\bibliography{test}%\bibliography{alpha} % use IEEEtran.bst style%\nocite{*} % list all refs in database, cited or not%bibliography{refs} % bib database file refs.bib %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Biographical Statement %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\thebiography biography.tex