ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henri Menke <henrimenke@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: BUG: module loading is broken
Date: Mon, 13 Jan 2020 14:26:33 +1300	[thread overview]
Message-ID: <fc7da1ca-3361-70a8-5c0f-6234739b6cbe@gmail.com> (raw)
In-Reply-To: <b5b4470a-808c-6e35-9b4d-bc8ee3f21b73@gmail.com>

Here is a patch.

--- a/opt/context/tex/texmf-modules/tex/context/third/letter/base/s-cor-00.lua
+++ b/opt/context/tex/texmf-modules/tex/context/third/letter/base/s-cor-00.lua
@@ -85,7 +85,7 @@ end
 function correspondence.file(environment,name)
     local environment = environment
     local name        = name
-    commands.uselibrary {
+    resolvers.uselibrary {
         name     = name,
         patterns = patterns[environment],
         action   = action,

On 1/13/20 2:19 PM, Henri Menke wrote:
> Dear Hans,
> 
> Recent updates to ConTeXt broke my CV. This MWE
> 
> \usemodule[letter]
> \starttext
> \stoptext
> 
> fails with
> 
> ...texmf-modules/tex/context/third/letter/base/s-cor-00.lua:88: attempt to call a nil value (field 'uselibrary')
> 
> Here are the steps by which I can reproduce on my machine:
> 
> rm -rf /opt/context/tex/texmf-cache
> mtxrun --generate
> context --make
> context test.mkvi
> 
> Same for LMTX.
> 
> Cheers, Henri
> 
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2020-01-13  1:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-13  1:19 Henri Menke
2020-01-13  1:26 ` Henri Menke [this message]
2020-01-13 10:25   ` Hans Hagen

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=fc7da1ca-3361-70a8-5c0f-6234739b6cbe@gmail.com \
    --to=henrimenke@gmail.com \
    --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).