Hi,
Something like this would be good to have in the context core. (watch
the *like this*).
But I'm not sure this is precisely what Wybo is after, since Wybo also makes
sure that the actual format file is newer than the last downloaded context
distribution.
Perhaps Hans can glue Wybo's code into 'texexec --version', that
would be nice (pdftex version number would also be nice). Something
like this would be great:
texexec --version
TeXExec 2.6 - ConTeXt / PRAGMA ADE 1997-2001
TeXUtil 7.3 - ConTeXt / PRAGMA ADE 1992-2000
cont-en: ver: 2001.11.13 fmt: 2002.8.28 int: english mes: english
cont-nl: ver: 2001.11.13 fmt: 2002.8.28 int: dutch mes: dutch
tex: pdfeTeX, Version 3.14159-1.00b-pretest-20020211-2.1 (Web2C 7.3.7)
Is that doable?
On Thu, 19 Sep 2002 20:41:27 +0200, Simon wrote:
> This sounds like you want to make sure that you run a specific minimal
> context version. In latex this may be checked by the macro code:
>
> \NeedsTeXFormat{LaTeX2e}[1995/12/01]
> \ProvidesClass{article}
> [2000/05/19 v1.4b
> Standard LaTeX document class]
>
> and then when you say \documentclass{article}[2002/06/01], latex warns
> you that you run an older version than required. This is a solution at
> the root, so I think it is the way to go.
>
> Simon
--
groeten,
Taco