From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: reading modules broken?
Date: Fri, 06 Jun 2014 22:52:13 +0200 [thread overview]
Message-ID: <539229FD.8040405@wxs.nl> (raw)
In-Reply-To: <EA10C917-470A-4BEE-A26C-7F4B7144EEB1@uva.nl>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2014-06-06 20:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-06 19:35 Meer, H. van der
2014-06-06 20:52 ` Hans Hagen [this message]
2014-06-07 10:11 ` Meer, H. van der
2014-06-07 10:52 ` Wolfgang Schuster
2014-06-07 17:08 ` Hans Hagen
2014-06-07 12:40 ` Andreas Schneider
2014-06-07 13:05 ` Meer, H. van der
2014-06-07 16:47 ` Hans Hagen
2014-06-07 17:09 ` Hans Hagen
2014-06-15 9:38 ` Schmitz Thomas A.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=539229FD.8040405@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).