From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78490 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: mkiv: way to signal extra run(s) Date: Sat, 29 Sep 2012 15:34:26 +0200 Message-ID: <5066F8E2.9010701@gmx.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1348925686 8373 80.91.229.3 (29 Sep 2012 13:34:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Sep 2012 13:34:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 29 15:34:52 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1THxBv-0003id-7o for gctc-ntg-context-518@m.gmane.org; Sat, 29 Sep 2012 15:34:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 45A5F101FD; Sat, 29 Sep 2012 15:34:39 +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 Chsi+uJMAg3m; Sat, 29 Sep 2012 15:34:37 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B65B7101F4; Sat, 29 Sep 2012 15:34:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ABF12101F4 for ; Sat, 29 Sep 2012 15:34:36 +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 ssAAWIUDOTBh for ; Sat, 29 Sep 2012 15:34:35 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id ADB53101EC for ; Sat, 29 Sep 2012 15:34:35 +0200 (CEST) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with SMTP id q8TDYYNL019628 for ; Sat, 29 Sep 2012 15:34:34 +0200 Original-Received: (qmail invoked by alias); 29 Sep 2012 13:34:34 -0000 Original-Received: from ip-109-90-9-197.unitymediagroup.de (EHLO [192.168.178.3]) [109.90.9.197] by mail.gmx.net (mp032) with SMTP; 29 Sep 2012 15:34:34 +0200 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX1/foL8qUf3fqOWUhQByP2hJASE7NXHDdtcuvAPbGL xj7Plt8fSMKOun User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 X-Enigmail-Version: 1.4.4 X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.22; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QI51yyrb - 896ff10f8a74 - 20120929 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78490 Archived-At: Hi, just wondering. Is there a official way to signal ConTeXt from a module, that an extra run is needed? I started thinking about adding bookkeeping for the created run time graphics. Graphic related changes can then be detected and, if necessary, extra runs can be started to update the changed graphics. I need the second run to create and start the ImageMagick batch script, but the collected info in the *.tuc file prevents ConTeXt from starting a second/third run. Currently I use a batch file that simply deletes the *.tuc file and then calls 'context'. As there is no bookkeeping, all the graphics are recreated then. Peter ___________________________________________________________________________________ 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 ___________________________________________________________________________________