From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87707 Path: news.gmane.org!not-for-mail From: "Meer, H. van der" Newsgroups: gmane.comp.tex.context Subject: reading modules broken? Date: Fri, 6 Jun 2014 19:35:01 +0000 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0656784599==" X-Trace: ger.gmane.org 1402083328 24443 80.91.229.3 (6 Jun 2014 19:35:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2014 19:35:28 +0000 (UTC) To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 06 21:35:22 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 1Wszv5-0000Td-5n for gctc-ntg-context-518@m.gmane.org; Fri, 06 Jun 2014 21:35:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AAC1910266 for ; Fri, 6 Jun 2014 21:35:18 +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 sQKYQR72MPYr for ; Fri, 6 Jun 2014 21:35:18 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BA827101EF for ; Fri, 6 Jun 2014 21:35:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A5939101E7 for ; Fri, 6 Jun 2014 21:35:09 +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 smXK3f4Li2I7 for ; Fri, 6 Jun 2014 21:35:08 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id F283F101E2 for ; Fri, 6 Jun 2014 21:35:07 +0200 (CEST) Original-Received: from HUB01.uva.nl (hub01.uva.nl [146.50.108.230]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s56JZ1Fb010607 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Fri, 6 Jun 2014 21:35:07 +0200 Original-Received: from MBX02.uva.nl ([169.254.2.158]) by HUB01.uva.nl ([2002:9232:6737::9232:6737]) with mapi id 14.03.0181.006; Fri, 6 Jun 2014 21:35:01 +0200 Thread-Topic: reading modules broken? Thread-Index: AQHPgb5otYg8N9ZXjke/H7ASgJrTyQ== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [83.81.49.118] X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=146.50.108.230; country=NL; region=North Holland; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VMb7z1l9 - 2bb103c71773 - 20140606 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:87707 Archived-At: --===============0656784599== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_EA10C917470A4BEEA26C7F4B7144EEB1uvanl_" --_000_EA10C917470A4BEEA26C7F4B7144EEB1uvanl_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable My modules are not read anymore, allthough Context thinks it does. This mus= t have been the case for some time. I ran a test with an older version whic= h demonstrates that the change in behaviour must have occurred after januar= y 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 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/engli= sh open source > 2 > 3 > /Users/hansm/tex/test-tex/modules/moduletest.tex resolvers > modules > 'module-test' is already loaded <-- wr= ongly thinks it is loaded It says the module is already loaded, but the telltale \writestatus is abse= nt. 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/en= glish (/Users/hansm/tex/test-tex/modules/moduletest.tex resolvers > modules > 'module-test' is loaded <-- loa= ds as it should (module-test.tex HVDM > Module has been read --_000_EA10C917470A4BEEA26C7F4B7144EEB1uvanl_ Content-Type: text/html; charset="us-ascii" Content-ID: <06B33536F491384CA59F572EA9BC2580@uva.nl> Content-Transfer-Encoding: quoted-printable My modules are not read anymore, allthough Context thinks it does. This mus= t have been the case for some time. I ran a test with an older version whic= h demonstrates that the change in behaviour must have occurred after januar= y 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

In the log I find:

This is L= uaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) 
 \wr= ite18 enabled.
open sour= ce     > 1 > 1 > /Users/hansm/tex/context-20/tex/texmf-c= ontext/tex/context/base/cont-yes.mkiv

ConTeXt&n= bsp; ver: 2014.06.05 23:04 MKIV beta  fmt: 2014.6.6  int: english= /english

open sour= ce     > 2 > 3 > /Users/hansm/tex/test-tex/modules/modul= etest.tex
resolvers=       > modules > 'module-test' is already loaded &nb= sp;        <-- 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 m= odule:

ConTeXt&n= bsp; ver: 2014.01.02 20:05 MKIV current  fmt: 2014.1.2  int: engl= ish/english
(/Users/h= ansm/tex/test-tex/modules/moduletest.tex
resolvers=       > modules > 'module-test' is loaded   &nbs= p;             <-- loads as it should
(module-t= est.tex
HVDM = ;           > Module has been read

--_000_EA10C917470A4BEEA26C7F4B7144EEB1uvanl_-- --===============0656784599== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0656784599==--