From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50545 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: mtxrun problem "HEXsum" Date: Fri, 15 May 2009 23:40:22 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1242423715 11801 80.91.229.12 (15 May 2009 21:41:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 May 2009 21:41:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 15 23:41:47 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 1M55A1-0004tM-Aq for gctc-ntg-context-518@m.gmane.org; Fri, 15 May 2009 23:41:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B9C101FFDF; Fri, 15 May 2009 23:41:44 +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 05856-04; Fri, 15 May 2009 23:40:45 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 313F61FFAF; Fri, 15 May 2009 23:40:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 94FC11FFAF for ; Fri, 15 May 2009 23:40:42 +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 05480-03 for ; Fri, 15 May 2009 23:40:26 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by ronja.ntg.nl (Postfix) with ESMTP id 87F7E1FFAD for ; Fri, 15 May 2009 23:40:26 +0200 (CEST) Original-Received: from mail-fx0-f176.google.com (mail-fx0-f176.google.com [209.85.220.176]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5) with ESMTP id n4FLePT6001485 for ; Fri, 15 May 2009 23:40:25 +0200 Original-Received: by fxm24 with SMTP id 24so2350153fxm.2 for ; Fri, 15 May 2009 14:40:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=TTJamirvhYQ2iJuGc1mUxIs+BUoqKd8gfsQeBmGU3uw=; b=rlw0tw0sVaRigZ7W/jo0GGgEIvvP37PVXKmas+483557YjYFuUDV+AQ8xXM6pBZ1KY vJug9YunRShFNIiIuZ9E4WHXfh3pyXsFT2BpLjf0C7ZHyF42bB83t0Ozel+2XSZMzDfa MPxh0ny/XC2SAz5H28G+3jOlW/hylELysXXDg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=xucc3is1RZOsU/Ja7MZYBUtlYuI4OxviBVzRue9l1nVDeOEjZhfPO7o2Ay0CblySES aJ0SbeJ875gVhxdhWAAPu3+lxcqfSUxyas27OVnPLW/A/iid6hbyBjl5cLiCRcUZhgHf Oy9JpClnwPGljJeE4ZnGrK7IX+rsQR5vJtMRI= Original-Received: by 10.204.31.207 with SMTP id z15mr3761308bkc.63.1242423624123; Fri, 15 May 2009 14:40:24 -0700 (PDT) Original-Received: from ?10.128.9.9? (26-177.78-83.cust.bluewin.ch [83.78.177.26]) by mx.google.com with ESMTPS id 7sm773361bwz.101.2009.05.15.14.40.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 15 May 2009 14:40:23 -0700 (PDT) X-Mailer: Apple Mail (2.935.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.220.176; 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: 226535005 - b865b41b3e92 - 20090515 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:50545 Archived-At: (Sorry for double-posting, but my first message didn't show up yet, maybe it's lost. This one is corrected anyway.) As far as I skimmed the discussions of the last days, this didn't show up yet: In my LilyPond module I call the program like so: \def\LP{mtxrun --ifchanged="\lily!filename.tmp" --exec bin:lilypond - dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts -ddelete- intermediate-files "\lily!filename.tmp"} \def\PDF{mtxrun --ifchanged="\lily!filename.eps" pstopdf "\lily! filename.eps"} \executesystemcommand{\LP} \executesystemcommand{\PDF} The former definition results in this call: mtxrun --ifchanged="c_whatshallwedo-lilypond-1.tmp" --exec bin:lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts - ddelete-intermediate-files "c_whatshallwedo-lilypond-1.tmp" The .tmp file exists and contains the right LilyPond code. But I get an error like this from the LP call: ############################################## .../texmf/tex/texmf-osx-intel/bin/mtxrun:1953: attempt to call field 'HEXsum' (a nil value) ############################################## Line 1953 is: return md5.HEXsum(data) Looks like a bug in mtxrun to me. Lua MD5 docs at http://www.keplerproject.org/md5/manual.html#lua_api say, there'd be only "sum" and "sumhexa" methods. Replacing "HEXsum" with "sum" works (.md5 files are written), "sumhexa" gives the same error as above. But it seems LilyPond is called now every time, ignoring the checksum, so simply "sum" at that one place isn't enough. Further, the PDF call gives: MTXrun | file 'c_whatshallwedo-lilypond-1.eps' is unchanged Even if the .eps file doesn't exist at all. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___________________________________________________________________________________ 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 ___________________________________________________________________________________