From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65588 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?B?UHJvY2jhemthIEx1a+G5IEluZy4gLSBQb250ZXggcy4gci4gby4=?= Newsgroups: gmane.comp.tex.context Subject: Re: first-setup for windows Date: Fri, 28 Jan 2011 08:43:38 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1296200638 13686 80.91.229.12 (28 Jan 2011 07:43:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 28 Jan 2011 07:43:58 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 28 08:43:54 2011 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 1Piizp-0005MX-8u for gctc-ntg-context-518@m.gmane.org; Fri, 28 Jan 2011 08:43:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 873A3CAAFD; Fri, 28 Jan 2011 08:43:52 +0100 (CET) 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 DofhjIxtRFFI; Fri, 28 Jan 2011 08:43:49 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 314B9CAAF6; Fri, 28 Jan 2011 08:43:49 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B955ECAAF6 for ; Fri, 28 Jan 2011 08:43:47 +0100 (CET) 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 48QGRn81rp0z for ; Fri, 28 Jan 2011 08:43:44 +0100 (CET) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id 9CD43CAAF2 for ; Fri, 28 Jan 2011 08:43:44 +0100 (CET) Original-Received: from mail.pontex.cz (mail.pontex.cz [89.233.168.98]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0S7hgSf026185 for ; Fri, 28 Jan 2011 08:43:43 +0100 Original-Received: from localhost ([127.0.0.1]) by mail.pontex.cz (Kerio MailServer 6.6.2) for ntg-context@ntg.nl; Fri, 28 Jan 2011 08:43:41 +0100 In-Reply-To: User-Agent: Opera Mail/11.00 (Win32) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.233.168.98; country=CZ; region=52; city=Prague; latitude=50.0833; longitude=14.4667; http://maps.google.com/maps?q=50.0833,14.4667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04E0THHjH - f3c30d9831d1 - 20110128 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 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:65588 Archived-At: Dear Mojca, On Wed, 26 Jan 2011 22:32:34 +0100, Mojca Miklavec wrote: >> So if you thought this would be useful (actually it may depend on whethe= r an >> explicit 'mtxrun --generate' after update is necessary what I don't know= - > > It *is* necessary if some new files appear. The problem was that > usually the wrong mtxrun was called which had zero effect since it > possibly updated the cache in TeX Live or some other ConTeXt > distribution (under another path). > > You can try the following: > - make sure that there is no tex in your path (set PATH ...) > - delete texmf-cache > - delete some files (for example context.mkiv and a few random other file= s) > - call first-setup.bat (the modified version that I sent you without > an explicit mtxrun --generate) > - call setuptex (or manually set PATH) > - try to compile some file > > The mtxrun --generate at the end of script doesn't really help since > already the format generation is broken if some new files arrive. I updated Ctx yesterday. I installed the new version of Ctx to an empty directory and I checked all = TeX-related PATHs to not point to any TL directory (actually, the PATH does= n't point to any TL or Ctx directory - all this is performed by an appropri= ate batch which is called in the scope and just before compilation of a Ctx= source); so I guess all previous auto-generated files and/or cache got unu= sed. I wrote a step-by-step report which I intended to send to you as I was "afr= aid" that I would have to call 'mtxrun --generate' explicitly. But it was not necessary - I was able to compile a sample Ctx source withou= t any problem "as it was". Not today. Now, if I want to compile a Ctx file, I'm getting: --- MTXrun | unknown script 'context.lua' or 'mtx-context.lua' --- I know that 'mtxrun --generate' will repair this (as it always did so far). - But I'm wondering about why 'mtxrun' doesn't find the 'context.lua' today= although it did yesterday. (I'm aware of cache directory, in my case at 'c:\ConTeXt\tex\texmf-cache\lu= atex-cache\context\f53042fa2e1c106bc7e3383ec8c3a00c\'. Does Ctx/mxtrun gene= rate also any [temporary] files elsewhere, e.g. in "Document and Settings" = or "Application Data" or where TMP/TEMP system variable points?) Could you explain, please? Best regards, Lukas -- = Ing. Luk=E1=B9 Proch=E1zka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezov=E1 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________