I am writing a thesis using Winedt Editor. I got following error while running the tex file.

enter image description here

What does it mean? I am unable to get it. Plus, I have 8 main chapters. So do I add one more chapter in the following tex line :


One more doubt.

For all the chapters, I added pdf file for figures but while running the code to add a figure in eighth chapter it is showing .pdf or .jpg file not found, although I have saved the file in the same folder location.

Kindly help. Thanks a lot for the kind help.

I am attaching full tex code (main code) for thesis


\usepackage[a4paper, tmargin=3.5cm, bmargin=2.5cm, lmargin=3.75cm, rmargin=2.5cm, twoside]{geometry}
\usepackage{mathtools}                   % AMS Math
\usepackage{rotating}                    % Sideways of figures & tables
\usepackage{natbib}                      % Cross-reference package (Natural BiB)
\usepackage{amsthm}                                          % Put References at the end of each chapter
\usepackage{enumerate}                                         % Do not put 'sectionbib' option here.
                                     % Sectionbib option in 'natbib' will do.
\usepackage{fancyhdr}                    % Fancy Header and Footer
\doublespace                             % Line spacing
  • The error means you have \begin{spacing} without a matching \end{spacing}. – egreg Jun 1 '19 at 10:25
  • What does line 204 indicate? How to know it is from which chapter? – monalisa Jun 1 '19 at 10:28
  • Go through your input files one by one. – egreg Jun 1 '19 at 10:30
  • unrelated to the error you show but graphics path should not have commas in it, you are specifying amsthm twice, you don't neet to specify amsmath as you have mathtools, it is better to use newtxtext,newtxmath rather than the ancient times package – David Carlisle Jun 1 '19 at 10:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.