Home > Fixes, LaTeX > “LaTeX source files more than 5 years old!”

“LaTeX source files more than 5 years old!”

Got this compile error from LaTeX today and I really don’t have any idea what is exactly going on.

This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
Running miktex-pdftex.exe...
This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8) (INITEX)
entering extended mode
("C:\Program Files\MiKTeX 2.8\tex\latex\config\latex.ini"
(C:\Users\Edin\AppData\Roaming\MiKTeX\2.8\tex\generic\config\pdftexconfig.tex)
("C:\Program Files\MiKTeX 2.8\tex\latex\base\latex.ltx"
("C:\Program Files\MiKTeX 2.8\tex\latex\00miktex\texsys.cfg")
./texsys.aux found

\@currdir set to: ./.

Assuming \openin and \input
have the same search path.

Defining UNIX/DOS style filename parser.

catcodes, registers, compatibility for TeX 2,  parameters,

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! You are attempting to make a LaTeX format from a source file
! That is more than five years old.
!
! If you enter <return> to scroll past this message then the format
! will be built, but please consider obtaining newer source files
! before continuing to build LaTeX.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

! LaTeX source files more than 5 years old!.
l.545 ...aTeX source files more than 5 years old!}

No pages of output.
Transcript written on latex.log.
miktex-makefmt: miktex-pdftex.exe failed on latex.ini.
initexmf.exe: The operation failed for some reason.
initexmf.exe: Data: C:\Program Files\MiKTeX 2.8\miktex\bin\miktex-makefmt.exe
I can't find the default format file!

However, I did find a workaround that seemed to solve the problem and I decided to share it. Perform the following steps:

  1. Open “C:\Program Files\MiKTeX 2.8\tex\latex\base\latex.ltx” (or wherever your latex.ltx resides). One alternative path that is different from mine is “C:\Program Files\MiKTeX\miktex\bin\tex\latex\base”.
  2. Find “\ifnum\count@65>” and change it into “\ifnum\count@>100” (or some number larger than 100)
  3. Save the file.

The real problem is not fixed, but at least you should now be able to compile your files.

Note that in Windows Vista and Windows 7 you’ll have to have administrator access to be able to overwrite this file since Program Files is a system directory. One way to accomplish this is to simply copy the file to let’s say the desktop, edit it, and then overwrite the original file with the edited file.

Categories: Fixes, LaTeX Tags:
  1. July 10th, 2012 at 13:19 | #1

    And just because someone mentioned MS Word:
    http://support.microsoft.com/lifecycle/
    Support for Office usually ends 3 years after release.

  2. holger
    July 16th, 2012 at 15:39 | #2

    Thank you very much for your advice. It helped me a lot to handle lateX.

  3. Aldo
    December 21st, 2012 at 02:05 | #3

    thank you very much, this worked for me.

  4. abhijit datta banik
    March 6th, 2013 at 10:10 | #4

    Thank you
    Now I am able to generate .dvi file

  5. Moe
    March 24th, 2013 at 03:06 | #5

    You are a life saver

  6. Arun
    July 27th, 2013 at 19:14 | #6

    Thanks a lot
    It worked for me.
    You have saved me a lot of trouble

  7. Tinu
    March 18th, 2014 at 07:39 | #7

    Thank you. It works.

Comment pages
1 2 1062
  1. No trackbacks yet.
*