Bug#111489: tetex-base: Old version of latex.fmt causes failure of cslatex.fmt creation
Package: tetex-base
Version: 1.0.2+20000804-9
-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux amandil 2.4.10 #1 Thu Oct 11 10:32:05 CEST 2001 i686
Locale: LANG=C, LC_CTYPE=czech
Versions of packages tetex-base depends on:
ii dpkg 1.9.17 Package maintenance system for Deb
ii perl-base [perl5-base] 5.6.1-5 The Pathologically Eclectic Rubbis
ii texinfo 4.0b-2 Documentation system for on-line i
I was trying to use cslatex, but initex fails to create
/usr/share/texmf/web2c/cslatex.fmt
Error message during running /var/lib/dpkg/info/tetex-base configure :
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! You are attempting to make a LaTeX format from a source file
!! That is more than one year 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 is re-issued every 6 months, in June and December.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! LaTeX source files more than 1 year old!.
l.530 ...LaTeX source files more than 1 year old!}
?
! Emergency stop.
l.530 ...LaTeX source files more than 1 year old!}
The problem is, that latex.fmt checks fmtversion and stops if it is older
than 1 year
I changed checking to 5 years and it works.
Here is my quick fix:
--- latex.ltx Wed Jan 26 21:36:20 2000
+++ /usr/share/texmf/tex/latex/base/latex.ltx Tue Oct 16 14:50:13 2001
@@ -513,7 +513,7 @@
\advance\count@\month
\advance\count@-#2\relax}
\expandafter\reserved@a\fmtversion\@nil
-\ifnum\count@>17
+\ifnum\count@>60
\typeout{^^J%
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J%
! You are attempting to make a LaTeX format from a source file^^J%
Part of my /etc/texmf/fmtutil.cnf used to build cslatex:
# - Czech / Slovak:
csplain tex - csplain.ini
cslatex tex language.dat cslatex.ini
pdfcsplain pdftex - csplain.ini
pdfcslatex pdftex language.dat cslatex.ini
Reply to: