From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9334 Path: main.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: getting context's version Date: Fri, 20 Sep 2002 10:06:34 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <20020920100634.17cfc5af.taco@elvenkind.com> References: <20020918114734.404ff990.taco@elvenkind.com> <20020919204127.A861@scaprea> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035399671 2368 80.91.224.250 (23 Oct 2002 19:01:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 19:01:11 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Simon Pepping In-Reply-To: <20020919204127.A861@scaprea> Xref: main.gmane.org gmane.comp.tex.context:9334 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9334 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