Hi, Wybo Dekker schrieb: > > the method that taco posted is the way to go, since it's in the main > > context file that i (when zipping) change the version number > > except that, if you unzip the newest cont-tmf and do mktexlsr but forget > to regenerate the format, it tells that the new version is there, but the > old one is actually run. How about: - check whether cont-en.efmt is older than context.tex If this is the case, issue a warning/error - check the version in context.tex
This catches also buried problems like fmt file older than texmf tree which can also produce strange errors. (e.g. with cont-new.tex). > So if I try to make a fool-proof script that needs the newer version, it > would be nice to have the version from the format itself. well using cont-en you got this number, unfortunally the fmt file is a not that easily readable memory dump so you cannot easily grep for the number directly without using TeX. Tobias -- This above all: To thine own self be true / And it must follow as the night the day / Thou canst not then be false to any man.
