## LaTeX forum ⇒ Theses, Books, Title pages ⇒ Can't compile the .tex Topic is solved

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

### Can't compile the .tex

Hallo everybody,

I'm using MiKTex 2.9 0.4.5 r.1280 on win7 and I just can't compile the `main.tex`. The last two lines of the control output are

`(D:\Latex\Templates\Theses\thesis_1\main.out)(D:\Latex\Templates\Theses\thesis_1\main.out)`

and multiple times the following sequence appears:

`****** This is a patch for listings 1.3, but you're using*** version 1.5c.****** Patch file not loaded.***`

while LaTeX isn't compiling any more, I can only interrupt the process.
Having used LaTeX since January 2012, I know some basics, so I updated `vector.sty` and `istpatch.sty` with the package manager which wasn't any help.

Do you have some advice for me? I really have to know what causes this problem.

Daniel

Tags:

Vel
Site Moderator
Posts: 454
Joined: Fri Jun 29, 2012 1:20 am
Hi Daniel,

I don't think the part of the log you pasted is what's causing the problem. Can you paste the last 10-20 lines once you hit the first error?

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com

templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm
`pdflatex main.tex This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)  restricted \write18 enabled.entering extended mode(./main.texLaTeX2e <2011/06/27>Babel <3.9h> and hyphenation patterns for 2 languages loaded.(./Thesis.clsDocument Class: Thesis 2007/22/02 v1.0 LaTeX document class(/usr/share/texlive/texmf-dist/tex/latex/base/book.clsDocument Class: book 2007/10/19 v1.4h Standard LaTeX document class(/usr/share/texlive/texmf-dist/tex/latex/base/bk11.clo)) (./setspace.styPackage: `setspace' 6.7 <2000/12/01>) (./vmargin.styPackage `vmargin', V2.2, <1999/06/01>) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty(/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu)(/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu)(/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu))) (./fancyhdr.sty)(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.styFor additional information on amsmath, use the `?' option.(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty))(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty)(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty))(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty)(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty)(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amscd.sty)(/usr/share/texlive/texmf-dist/tex/latex/amscls/amsthm.sty)(/usr/share/texlive/texmf-dist/tex/latex/tools/xspace.sty) (./caption.sty(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty))(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty)(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf.sty(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty))(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg)))(./booktabs.sty) (./rotating.sty(/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty)) (./listings.sty(/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty ****** This file requires `listings.sty' version 1.5b.*** You have a serious problem, so I'm exiting ...***`

I am getting this error every time....is it due to some packages are missing or should i update some..
Harish

Vel
Site Moderator
Posts: 454
Joined: Fri Jun 29, 2012 1:20 am
Hi Harish,

Yes, you are missing the listing package or yours is out of date. Just update your LaTeX distribution and packages and you should be good!

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com