From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59063 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: unknown script 'context.lua' or 'mtx-context.lua' Date: Wed, 26 May 2010 12:20:14 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1274869235 15068 80.91.229.12 (26 May 2010 10:20:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 26 May 2010 10:20:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 26 12:20:34 2010 connect(): No such file or directory Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OHDj0-0008CS-5C for gctc-ntg-context-518@m.gmane.org; Wed, 26 May 2010 12:20:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5343AC9CA5; Wed, 26 May 2010 12:20:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id IWxHUisDCFNJ; Wed, 26 May 2010 12:20:21 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 86287C9C50; Wed, 26 May 2010 12:20:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 136A5C9C50 for ; Wed, 26 May 2010 12:20:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Eep7sUV4n0gI for ; Wed, 26 May 2010 12:20:14 +0200 (CEST) Original-Received: from mail-wy0-f169.google.com (mail-wy0-f169.google.com [74.125.82.169]) by balder.ntg.nl (Postfix) with ESMTP id E3C4FC9AAA for ; Wed, 26 May 2010 12:20:14 +0200 (CEST) Original-Received: by wyf19 with SMTP id 19so826123wyf.14 for ; Wed, 26 May 2010 03:20:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=7PNvcPwWkg3fGUHX5Y0KvURb7Jkgo7E6/wKY2gJZuSk=; b=mJgApaaHGG1PG0xd7QBsRhezFXOWdzDW2ZeQvNBCFx/3L7g5Z17erzpWOLs2yoTgbx /bFfalYuQGb3RrbaaIv8eASsQR4hMpHG7Ek8qEfkPqrX0lp8sestzVIkwkBBvR4dVyFB Zrr1C8ce265MrRN8ssHnR1rxPm67JBVSzLxjY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=tJ/44vm9itrBmKbxAB/4/YWoG29TRH7wv3NX+bry3ohYQSJlYPV768N9g4pGaCZaw1 Tmnls3JH/1EHR3IF5oz4v9eiJn4InMf9blZZXA7xlbSZQhOLQ0FedTi2avxH2vMVHGvf kIVQ0U3spQOFmrL4CDMCGGDTrZ/kNSHLcE8Oc= Original-Received: by 10.216.85.198 with SMTP id u48mr5368553wee.39.1274869214277; Wed, 26 May 2010 03:20:14 -0700 (PDT) Original-Received: by 10.216.157.19 with HTTP; Wed, 26 May 2010 03:20:14 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:59063 Archived-At: Hans, why don't you add a special-case in this case: > context test MTXrun | unknown script 'context.lua' or 'mtx-context.lua' if 'context.lua' cannot be found then either: a) instead of printing out "unknown script 'context.lua'" print out "please run 'luatools --generate'" - it will be less confusing for users b) or (may be even better) try to run "luatools --generate" automatically and then retry I guess that there is some not-too-difficult way to figure out from within mtxrun that no database exists yet. Mojca ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________