From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87711 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: reading modules broken? Date: Fri, 06 Jun 2014 22:52:13 +0200 Message-ID: <539229FD.8040405@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1402087971 13214 80.91.229.3 (6 Jun 2014 20:52:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2014 20:52:51 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 06 22:52:47 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wt17x-00083B-I7 for gctc-ntg-context-518@m.gmane.org; Fri, 06 Jun 2014 22:52:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3083110250 for ; Fri, 6 Jun 2014 22:52:41 +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 tINAwO0oP3rW for ; Fri, 6 Jun 2014 22:52:41 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 07EEC10206 for ; Fri, 6 Jun 2014 22:52:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 538C7101E7 for ; Fri, 6 Jun 2014 22:52:33 +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 sEWuaozdRezg for ; Fri, 6 Jun 2014 22:52:31 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id B7C07101E2 for ; Fri, 6 Jun 2014 22:52:26 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s56KqH50012326 for ; Fri, 6 Jun 2014 22:52:21 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.104; Original-Received: from [10.100.1.104] (unverified [10.100.1.104]) by pragma-net.nl (SurgeMail 6.5a2) with ESMTP id 5481-1713362 for ; Fri, 06 Jun 2014 22:52:15 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=Provincie Overijssel; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NMb8Qhqk - 43b3dcd77e32 - 20140606 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:87711 Archived-At: On 6/6/2014 9:35 PM, Meer, H. van der wrote: > My modules are not read anymore, allthough Context thinks it does. This must have been the case for some time. I ran a test with an older version which demonstrates that the change in behaviour must have occurred after january second. > Minimal example follows. > > Hans van der Meer > > Module code in file module-test is: > \writestatus{HVDM}{Module has been read} > \endinput > > Test code in file moduletest.tex is: > \usemodule[module-test] > \starttext > module testing look into the log. > \stoptext modules have names like m- x- s- p- u- and the lookup happens in a certain order without prefix, and checking for mkvi, mkiv, mkii or tex suffixes so in your case it should be something u-hvdm-test or so (user hvdm test) so you were just lucky that in the past modules-* worked the loading is probably ok because test.* is loaded > In the log I find: > > This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) > \write18 enabled. > open source > 1 > 1 > /Users/hansm/tex/context-20/tex/texmf-context/tex/context/base/cont-yes.mkiv > > ConTeXt ver: 2014.06.05 23:04 MKIV beta fmt: 2014.6.6 int: english/english > > open source > 2 > 3 > /Users/hansm/tex/test-tex/modules/moduletest.tex > resolvers > modules > 'module-test' is already loaded <-- wrongly thinks it is loaded > > It says the module is already loaded, but the telltale \writestatus is absent. > > Running the same code with an older version of ConTeXt does load the module: > > ConTeXt ver: 2014.01.02 20:05 MKIV current fmt: 2014.1.2 int: english/english > (/Users/hansm/tex/test-tex/modules/moduletest.tex > resolvers > modules > 'module-test' is loaded <-- loads as it should > (module-test.tex > HVDM > Module has been read > > > > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ > -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________