2011/10/19 Arthur Reutenauer <arthur.reutena...@normalesup.org>: >> Hm. I don't understand how this can be a general usable work-around. >> What actually is the "appropriate" directory here? Do you have a >> newer/local version of latex.ltx in this directory? > > Actually, if you look at a latex.ltx that has that check (the one from > stock TeX Live 2011 still has code for the "expiry date", for example), > you can see that all LaTeX does is to issue an \errmessage, which you > can simply ignore when running xetex -ini in interactive mode; the > format will still be built. However, fmtutil aborts by default on > error, if memory serves. Hence, it may be that Chris did actually see > the error and simply typed Enter; or maybe it's something else, but > clearly there's more to it than the two-line instructions he sent. > Or you can make file "xelatex.my" containing \batchmode \input xelatex.ini
Then create the format from this file. > For the record, the relevant bits from the LaTeX kernel are: > > \edef\fmtversion{2011/06/27} > \iffalse > \def\reserved@a#1/#2/#3\@nil{% > \count@\year > \advance\count@-#1\relax > \multiply\count@ by 12\relax > \advance\count@\month > \advance\count@-#2\relax} > \expandafter\reserved@a\fmtversion\@nil > \ifnum\count@>65 > \typeout{^^J% > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J% > ! You are attempting to make a LaTeX format from a source file^^J% > ! That is more than five years old.^^J% > !^^J% > ! If you enter <return> to scroll past this message then the > format^^J% > ! will be built, but please consider obtaining newer source files^^J% > ! before continuing to build LaTeX.^^J% > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J% > } > \errhelp{To avoid this error message, obtain new LaTeX sources.} > \errmessage{LaTeX source files more than 5 years old!} > \fi > \let\reserved@a\relax > \fi > > As you can see, the check is surrounded by \iffalse ... \fi and is > hence never actually run. > > Arthur > > > -------------------------------------------------- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex > -- Zdeněk Wagner http://hroch486.icpf.cas.cz/wagner/ http://icebearsoft.euweb.cz -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex