LaTeX forum ⇒ Theses, Books, Title pagesCan'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

Postby templateuser » Mon Mar 30, 2015 1:26 pm

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

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


and multiple times the following sequence appears:

  1. ***
  2. *** This is a patch for listings 1.3, but you're using
  3. *** version 1.5c.
  4. ***
  5. *** Patch file not loaded.
  6. ***


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.

Thanks in advance
Daniel

Tags:

User avatar
Vel
Site Moderator
Posts: 451
Joined: Fri Jun 29, 2012 1:20 am
Location: Sydney, Australia
Contact:

Postby Vel » Mon Mar 30, 2015 1:26 pm

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

Postby templateuser » Mon Mar 30, 2015 1:26 pm

  1. pdflatex main.tex
  2. This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)
  3. restricted \write18 enabled.
  4. entering extended mode
  5. (./main.tex
  6. LaTeX2e <2011/06/27>
  7. Babel <3.9h> and hyphenation patterns for 2 languages loaded.
  8. (./Thesis.cls
  9. Document Class: Thesis 2007/22/02 v1.0 LaTeX document class
  10. (/usr/share/texlive/texmf-dist/tex/latex/base/book.cls
  11. Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
  12. (/usr/share/texlive/texmf-dist/tex/latex/base/bk11.clo)) (./setspace.sty
  13. Package: `setspace' 6.7 <2000/12/01>
  14. ) (./vmargin.sty
  15. Package `vmargin', V2.2, <1999/06/01>
  16. ) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
  17. (/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def
  18. (/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu)
  19. (/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu)
  20. (/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu))) (./fancyhdr.sty)
  21. (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
  22. For additional information on amsmath, use the `?' option.
  23. (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
  24. (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty))
  25. (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty)
  26. (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty))
  27. (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty)
  28. (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty)
  29. (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amscd.sty)
  30. (/usr/share/texlive/texmf-dist/tex/latex/amscls/amsthm.sty)
  31. (/usr/share/texlive/texmf-dist/tex/latex/tools/xspace.sty) (./caption.sty
  32. (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty))
  33. (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
  34. (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
  35. (/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
  36. (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)
  37. (/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
  38. (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
  39. (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
  40. (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf.sty
  41. (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
  42. (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
  43. (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
  44. (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
  45. (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
  46. (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty
  47. (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
  48. (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
  49. (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty))
  50. (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg)))
  51. (./booktabs.sty) (./rotating.sty
  52. (/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty)) (./listings.sty
  53. (/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty
  54.  
  55. ***
  56. *** This file requires `listings.sty' version 1.5b.
  57. *** You have a serious problem, so I'm exiting ...
  58. ***


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

User avatar
Vel
Site Moderator
Posts: 451
Joined: Fri Jun 29, 2012 1:20 am
Location: Sydney, Australia
Contact:

Postby Vel » Mon Mar 30, 2015 1:27 pm

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


Return to “Theses, Books, Title pages”

Who is online

Users browsing this forum: No registered users and 1 guest