module installer: unknown script 'install-modules.lua' or 'mtx-install-modules.lua'
Hi, I'm setting up a new computer, and I've wanted to benefit from the new module installer. However, the commands I should use gives me the following error message : mtxrun --script install-modules --list mtxrun | unknown script 'install-modules.lua' or 'mtx-install-modules.lua' I'm using a fresh context installation (2023.05.08 17:39) on Windows. I've see a couple of others had/have( ?) the same issue. It does not matter from where I run the command (i.e., I'm getting the same error message also from inside context\tex) Is there anything I should do to make this work? Best, Denis
Hi,
I’m setting up a new computer, and I’ve wanted to benefit from the new module installer. However, the commands I should use gives me the following error message :
mtxrun --script install-modules --list
mtxrun | unknown script 'install-modules.lua' or 'mtx-install-modules.lua'
I’m using a fresh context installation (2023.05.08 17:39) on Windows. I’ve see a couple of others had/have( ?) the same issue. It does not matter from where I run the command (i.e., I’m getting the same error message also from inside context\tex)
Is there anything I should do to make this work? just wait till the next update because the module installer is work in
On 5/24/2023 8:51 AM, Denis Maier via ntg-context wrote: progress ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
I've just tested with a couple of other scripts... Doesn't matter which one I try to call: Mtxrun --script XYZ will always results in the equivalent error message, e.g.: mtxrun | unknown script 'interface.lua' or 'mtx-interface.lua' I have ..\context\tex\texmf-win64\bin ..\context\bin In my path. Do I need to add something else to the Path? Best, Denis
-----Ursprüngliche Nachricht----- Von: ntg-context
Im Auftrag von Hans Hagen via ntg-context Gesendet: Mittwoch, 24. Mai 2023 09:00 An: Denis Maier via ntg-context Cc: Hans Hagen Betreff: Re: [NTG-context] module installer: unknown script 'install- modules.lua' or 'mtx-install-modules.lua' On 5/24/2023 8:51 AM, Denis Maier via ntg-context wrote:
Hi,
I’m setting up a new computer, and I’ve wanted to benefit from the new module installer. However, the commands I should use gives me the following error message :
mtxrun --script install-modules --list
mtxrun | unknown script 'install-modules.lua' or 'mtx-install-modules.lua'
I’m using a fresh context installation (2023.05.08 17:39) on Windows. I’ve see a couple of others had/have( ?) the same issue. It does not matter from where I run the command (i.e., I’m getting the same error message also from inside context\tex)
Is there anything I should do to make this work? just wait till the next update because the module installer is work in progress
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://www.ntg.nl/mailman/listinfo/ntg- context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________ ________________
On Wed, 24 May 2023, Denis Maier via ntg-context wrote:
I've just tested with a couple of other scripts...
Doesn't matter which one I try to call: Mtxrun --script XYZ
will always results in the equivalent error message, e.g.: mtxrun | unknown script 'interface.lua' or 'mtx-interface.lua'
I have ..\context\tex\texmf-win64\bin ..\context\bin In my path.
Do I need to add something else to the Path?
I would remove context/bin from the PATH. Try running mtxrun --generate to regenerate the files database. Aditya
-----Ursprüngliche Nachricht----- Von: Aditya Mahajan
Gesendet: Mittwoch, 24. Mai 2023 14:49 An: Denis Maier via ntg-context Cc: Maier, Denis Christian (UB) Betreff: Re: [NTG-context] module installer: unknown script 'install- modules.lua' or 'mtx-install-modules.lua' On Wed, 24 May 2023, Denis Maier via ntg-context wrote:
I've just tested with a couple of other scripts...
Doesn't matter which one I try to call: Mtxrun --script XYZ
will always results in the equivalent error message, e.g.: mtxrun | unknown script 'interface.lua' or 'mtx-interface.lua'
I have ..\context\tex\texmf-win64\bin ..\context\bin In my path.
Do I need to add something else to the Path?
I would remove context/bin from the PATH.
Thanks - that was it. Apparently, it used the executable in the wrong path. Just out of interest, why do we have mtxrun in both locations? Best, Denis
On 5/24/2023 9:32 PM, Denis Maier via ntg-context wrote:
-----Ursprüngliche Nachricht----- Von: Aditya Mahajan
Gesendet: Mittwoch, 24. Mai 2023 14:49 An: Denis Maier via ntg-context Cc: Maier, Denis Christian (UB) Betreff: Re: [NTG-context] module installer: unknown script 'install- modules.lua' or 'mtx-install-modules.lua' On Wed, 24 May 2023, Denis Maier via ntg-context wrote:
I've just tested with a couple of other scripts...
Doesn't matter which one I try to call: Mtxrun --script XYZ
will always results in the equivalent error message, e.g.: mtxrun | unknown script 'interface.lua' or 'mtx-interface.lua'
I have ..\context\tex\texmf-win64\bin ..\context\bin In my path.
Do I need to add something else to the Path?
I would remove context/bin from the PATH.
Thanks - that was it. Apparently, it used the executable in the wrong path. Just out of interest, why do we have mtxrun in both locations?
one is used by the installer, the other can then be updated and when ok will replace the one used for the installer; idem for binaries Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Am 24.05.23 um 08:51 schrieb Denis Maier via ntg-context:
Hi,
I’m setting up a new computer, and I’ve wanted to benefit from the new module installer. However, the commands I should use gives me the following error message :
mtxrun --script install-modules --list
mtxrun | unknown script 'install-modules.lua' or 'mtx-install-modules.lua'
I’m using a fresh context installation (2023.05.08 17:39) on Windows. I’ve see a couple of others had/have( ?) the same issue. It does not matter from where I run the command (i.e., I’m getting the same error message also from inside context\tex)
Is there anything I should do to make this work?
While --install only works within the "tex" directory, --list should work regardless of current directory. Can mtxrun find other scripts, like "fonts"? After a new installation, I usually need a new terminal window, otherwise the PATH is wrong or something like that. Hraban
participants (4)
-
Aditya Mahajan
-
denis.maier@unibe.ch
-
Hans Hagen
-
Henning Hraban Ramm