Dear list,

I have an issue installing a module (`basicexam') automatically, even
after modifying `mtx-install-imp-modules.lua`.

I tried to install it with the command:

  mtxrun --script install-modules --install basicexam

As error message, I get https://modules.contextgarden.net/dl/basicexam.zip.

Module info seems to be right
(https://modules.contextgarden.net/cgi-bin/module.cgi/ruid=4231344815/action=view/id=157),
but https://modules.contextgarden.net/dl/ sorts the `basicexam-*.zip`
files in a rather uncommon way:

    basicexam-2025.12.12.zip
    basicexam-2026.02.18.zip
    basicexam-20250102A.zip

At least, `ls -lh basicexam-*` in “Fedora 43” gives the more standard:

    basicexam-20250102A.zip
    basicexam-2025.12.12.zip
    basicexam-2026.02.18.zip

This prevents the symlink `basicexam.zip` from being generated and then
the `mtxrun` command cannot find it.

Is there any way to fix this? I wonder whether the symlink might need to
be generated manually.

Many thanks for your help,

Pablo
--- /mtx-install-imp-modules.lua	2026-02-10 18:10:21.836811208 +0100
+++ /mtx-install-imp-modules.lua	2026-02-11 18:32:14.089051256 +0100
@@ -17,10 +17,10 @@
         ["animation"]         = { url = "modules", zips = { "t-animation.zip" } },         -- probably obsolete
         ["annotation"]        = { url = "modules", zips = { "t-annotation.zip" } },
      -- ["aquamints"]         = { url = "modules", zips = { "aquamints.zip" } },           -- obsolete (fonts)
+        ["basicexam"]         = { url = "modules", zips = { "basicexam.zip" } },
         ["bibmod-doc"]        = { url = "modules", zips = { "bibmod-doc.zip" } },
      -- ["bnf-0.3"]           = { url = "modules", zips = { "t-bnf-0.3.zip" } },
         ["bnf"]               = { url = "modules", zips = { "t-bnf.zip" } },
-        ["chat"]              = { url = "modules", zips = { "chat.zip" } },
         ["chromato"]          = { url = "modules", zips = { "t-chromato.zip" } },
      -- ["cmscbf"]            = { url = "modules", zips = { "t-cmscbf.zip" } },            -- obsolete (fonts)
      -- ["cmttbf"]            = { url = "modules", zips = { "t-cmttbf.zip" } },            -- obsolete (fonts)

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to