From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50278 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: Two issues related to xetex Date: Mon, 11 May 2009 21:54:38 +0200 Message-ID: <6faad9f00905111254m46381f97yf86518177e465b41@mail.gmail.com> References: <68bfdc900905110938u2d71d84eq3b18d167ceca3331@mail.gmail.com> 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: ger.gmane.org 1242071775 12983 80.91.229.12 (11 May 2009 19:56:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 May 2009 19:56:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 11 21:56:07 2009 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 lo.gmane.org with esmtp (Exim 4.50) id 1M3bbb-0004e1-9R for gctc-ntg-context-518@m.gmane.org; Mon, 11 May 2009 21:56:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 090CD1FEC6; Mon, 11 May 2009 21:56:06 +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 14222-02; Mon, 11 May 2009 21:55:02 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 975D81FEC8; Mon, 11 May 2009 21:55:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 271731FEC8 for ; Mon, 11 May 2009 21:54:59 +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 08368-06 for ; Mon, 11 May 2009 21:54:42 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by ronja.ntg.nl (Postfix) with ESMTP id 16A961FEC6 for ; Mon, 11 May 2009 21:54:42 +0200 (CEST) Original-Received: from mail-ew0-f173.google.com (mail-ew0-f173.google.com [209.85.219.173]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4BJsd5a021864 for ; Mon, 11 May 2009 21:54:39 +0200 Original-Received: by ewy21 with SMTP id 21so3855864ewy.2 for ; Mon, 11 May 2009 12:54:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Ob+TR8CJPYv/6S75ZvFko7w1yo/fS54NYS/haZepBHQ=; b=Fu1HMmbYfbDK78bRGTfq7ozvZjuj1NIjn5CixPpzCjHPFVpncSF4LDsiN+hE7E8GSY BaH11AEjHHvhW7haC6TGhbU3bH1yFwkBYeA33clNTV9Xh1t3nax5KvRTlO6TXuzpHB8q zSAvqJnP+VuhOM+yOIk71yevoHbm63NWo2D8o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=kC5nEqQA01L4UZByxLZjN8EpXTHGLMw4i+5bui0USgeD4pvOsGcNZbiJUWbT7p7iqX qh431qcWGYpx6uSs98J20ksACspNnGkPb0+WMmWy/zJOwd7tSjw+FR0XtIfqw7jmTIH5 X6oC5WN8sOWO1bxHjiUTxNocnpEuVgWbGyrPc= Original-Received: by 10.216.72.14 with SMTP id s14mr3625822wed.164.1242071678902; Mon, 11 May 2009 12:54:38 -0700 (PDT) In-Reply-To: <68bfdc900905110938u2d71d84eq3b18d167ceca3331@mail.gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.219.173; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 223401884 - 0bf97ab5f1f0 - 20090511 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:50278 Archived-At: On Mon, May 11, 2009 at 18:38, Yue Wang wrote: > Hi, Hans and Mojca: > > first, (to Mojca) the first-setup.sh script still deletes fontconfig > cache when updating on windows. Hmmm ... while experimenting a bit and after writing a long answer explaining that I'll come back to it after a while ... I figured out that I have already implemented a fix, but completely forgot about it. Hans, does this make sense? local normalflags = states.get("rsync.flags.normal") local deleteflags = "" if (destination:find("texmf$") or destination:find("context$")) and (not environment.argument("keep")) then deleteflags = states.get("rsync.flags.delete") end command = format("%s %s %s %s'%s' '%s'", bin, normalflags, deleteflags, url, archives, destination) This only adds the --delete flag to texmf-context and texmf, others are not touched. The consequence is that this won't delete your pdftex binary automatically if you decide that you only need LuaTeX one day, but I think that it makes sense as a temporary fix since: - it prevents deleting font cache - it reduces the need to recreate the formats when nothing has been updated 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________