From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31001 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: \sometxt in staticMPfigure Date: Tue, 26 Sep 2006 00:04:30 +0100 Message-ID: References: <451852CC.5050809@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1159225495 25375 80.91.229.2 (25 Sep 2006 23:04:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Sep 2006 23:04:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 26 01:04:53 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GRzVK-000582-Bb for gctc-ntg-context-518@m.gmane.org; Tue, 26 Sep 2006 01:04:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B85351FE18; Tue, 26 Sep 2006 01:04:49 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14966-06; Tue, 26 Sep 2006 01:04:40 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4F6911FD8C; Tue, 26 Sep 2006 01:04:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 67C171FD8C for ; Tue, 26 Sep 2006 01:04:34 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15063-05-4 for ; Tue, 26 Sep 2006 01:04:32 +0200 (CEST) Original-Received: from mraos.ra.phy.cam.ac.uk (mraos.ra.phy.cam.ac.uk [131.111.48.8]) by ronja.ntg.nl (Postfix) with SMTP id 5FE3D1FCD7 for ; Tue, 26 Sep 2006 01:04:32 +0200 (CEST) Original-Received: from skye.ra.phy.cam.ac.uk ([131.111.48.158] ident=mail) by mraos.ra.phy.cam.ac.uk with esmtp (Exim 4.43) id 1GRzV0-0002nJ-CO; Tue, 26 Sep 2006 00:04:30 +0100 Original-Received: from sanjoy by skye.ra.phy.cam.ac.uk with local (Exim 3.36 #1) id 1GRzV0-0002A2-00; Tue, 26 Sep 2006 00:04:30 +0100 Original-To: mailing list for ConTeXt users In-Reply-To: Your message of "Tue, 26 Sep 2006 00:06:04 +0200." <451852CC.5050809@wxs.nl> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:31001 Archived-At: > def processmpstatic > if filename = getvariable('filename') then > in tex.rb > > looks like a messed up update Ah, you're right and I just realized what happened. 'ctxtools --updatecontext' calls unzip with -uo: -u update existing files and create new ones if needed. This option performs the same function as the -f option, extracting (with query) files that are newer than those with the same name on disk, and in addition it extracts those files that do not already exist on disk. See -f above for information on setting the timezone properly. I'd been hacking with tex.rb (debugging the --dvi switch) so my tex.rb was more recent than the one in cont-tmf.zip, so it wasn't updated. Is it important to have -u? I'd take the -u switch out of my own ctxtools.rb but then it'll eventually get overwritten with the next update, and the -u switch will be back! I'll update by hand for now and retest. -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.