ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua
@ 2024-04-10 11:59 Denis Maier via ntg-context
  2024-04-10 17:34 ` [NTG-context] " Pablo Rodriguez via ntg-context
  0 siblings, 1 reply; 9+ messages in thread
From: Denis Maier via ntg-context @ 2024-04-10 11:59 UTC (permalink / raw)
  To: ntg-context; +Cc: denismaier


[-- Attachment #1.1: Type: text/plain, Size: 237 bytes --]

Hi,

 

I wanted to test my earlier example (float placement) also with MKIV, but

context ---luatex .

give me this error message :

unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

 

How can I make it work?

 

Best,

Denis


[-- Attachment #1.2: Type: text/html, Size: 2071 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

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

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua
  2024-04-10 11:59 [NTG-context] unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua Denis Maier via ntg-context
@ 2024-04-10 17:34 ` Pablo Rodriguez via ntg-context
  2024-04-10 20:28   ` Denis Maier via ntg-context
  0 siblings, 1 reply; 9+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-04-10 17:34 UTC (permalink / raw)
  To: ntg-context; +Cc: Pablo Rodriguez

On 4/10/24 13:59, Denis Maier via ntg-context wrote:
> Hi,
> I wanted to test my earlier example (float placement) also with MKIV, but
> context ---luatex …
> give me this error message :
> unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua
> How can I make it work?

Hi Denis,

as far as I know, this is required first:

  context --luatex --generate

BTW, although LuaTeX 1.18 has been released, my Linux64 ConTeXt contains
version 1.17.x.

In fact, the LuaTeX binary was removed in an update some weeks (or
months) ago. I had to copy it from a backup from a previous version.

I hope it helps,

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

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua
  2024-04-10 17:34 ` [NTG-context] " Pablo Rodriguez via ntg-context
@ 2024-04-10 20:28   ` Denis Maier via ntg-context
  2024-04-11 15:25     ` Pablo Rodriguez via ntg-context
  0 siblings, 1 reply; 9+ messages in thread
From: Denis Maier via ntg-context @ 2024-04-10 20:28 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'
  Cc: 'Pablo Rodriguez', denismaier

> -----Ursprüngliche Nachricht-----
> Von: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
> Gesendet: Mittwoch, 10. April 2024 19:35
> An: ntg-context@ntg.nl
> Cc: Pablo Rodriguez <oinos@gmx.es>
> Betreff: [NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-
> context.lua
> 
> On 4/10/24 13:59, Denis Maier via ntg-context wrote:
> > Hi,
> > I wanted to test my earlier example (float placement) also with MKIV,
> > but context ---luatex … give me this error message :
> > unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua How can I
> > make it work?
> 
> Hi Denis,
> 
> as far as I know, this is required first:
> 
>   context --luatex --generate

Thanks, Pablo. 
I've tried it, but it doesn't seem to work...

I'm getting this:

resolvers       | resolving |
resolvers       | resolving | warning: no lua configuration files found
resolvers       | resolving | no texmf paths are defined (using TEXMF)
resolvers       | resolving |
mtxrun          | the resolver databases are not present or outdated

And again:

mtxrun          | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'

Any ideas?

Best,
Denis

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

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua
  2024-04-10 20:28   ` Denis Maier via ntg-context
@ 2024-04-11 15:25     ` Pablo Rodriguez via ntg-context
  2024-04-11 15:39       ` Denis Maier via ntg-context
  2024-04-11 16:56       ` Hans Hagen via ntg-context
  0 siblings, 2 replies; 9+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-04-11 15:25 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'; +Cc: Pablo Rodriguez

On 4/10/24 22:28, Denis Maier wrote:
>> [...]
>>   context --luatex --generate
>
> Thanks, Pablo.
> I've tried it, but it doesn't seem to work...

I get the same result on Win64 when I move the luatex binary from the
tex/texmf-win64/bin/ directory.

This may sound stupid, but could you check whether the bin directory
contain the required binary?

Sorry, "luatex --version" and even "whereis luatex" should give the same
result (but on Windows, it seems to be https://ss64.com/nt/where.html).

I hope it may help,

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

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua
  2024-04-11 15:25     ` Pablo Rodriguez via ntg-context
@ 2024-04-11 15:39       ` Denis Maier via ntg-context
  2024-04-11 15:52         ` Pablo Rodriguez via ntg-context
  2024-04-14  8:35         ` Martin Hasoň
  2024-04-11 16:56       ` Hans Hagen via ntg-context
  1 sibling, 2 replies; 9+ messages in thread
From: Denis Maier via ntg-context @ 2024-04-11 15:39 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'
  Cc: 'Pablo Rodriguez', denismaier

> -----Ursprüngliche Nachricht-----
> Von: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
> Gesendet: Donnerstag, 11. April 2024 17:26
> An: 'mailing list for ConTeXt users' <ntg-context@ntg.nl>
> Cc: Pablo Rodriguez <oinos@gmx.es>
> Betreff: [NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-
> context.lua
> 
> On 4/10/24 22:28, Denis Maier wrote:
> >> [...]
> >>   context --luatex --generate
> >
> > Thanks, Pablo.
> > I've tried it, but it doesn't seem to work...
> 
> I get the same result on Win64 when I move the luatex binary from the
> tex/texmf-win64/bin/ directory.
> 
> This may sound stupid, but could you check whether the bin directory
contain
> the required binary?
> 
> Sorry, "luatex --version" and even "whereis luatex" should give the same
result
> (but on Windows, it seems to be https://ss64.com/nt/where.html).
> 
> I hope it may help,
> 
> Pablo

Ok. It wasn't there. I have now copied it from my Miktex installation, but
it still does not work. (Looks like some path issue. The luatex binary from
the miktex installation seems to take priority over the one now in the
ConTeXt installation. Looks like I'm getting somewhere...)

Thanks for your help,
Denis

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

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua
  2024-04-11 15:39       ` Denis Maier via ntg-context
@ 2024-04-11 15:52         ` Pablo Rodriguez via ntg-context
  2024-04-14  8:35         ` Martin Hasoň
  1 sibling, 0 replies; 9+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-04-11 15:52 UTC (permalink / raw)
  To: Denis Maier via ntg-context; +Cc: Pablo Rodriguez

On 4/11/24 17:39, Denis Maier via ntg-context wrote:
> [...]
> Ok. It wasn't there. I have now copied it from my Miktex installation, but
> it still does not work. (Looks like some path issue. The luatex binary from
> the miktex installation seems to take priority over the one now in the
> ConTeXt installation. Looks like I'm getting somewhere...)

I wonder whether the path order might give priority.

But in any case, I wonder whether it is intended that current latest
(from the ConTeXt distribution) is intended neither to have the latest
LuaTeX nor to have any LuaTeX binary at all.

Hans (or Luigi), are we (just humble users) missing something here?

Many thanks for your help,

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

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua
  2024-04-11 15:25     ` Pablo Rodriguez via ntg-context
  2024-04-11 15:39       ` Denis Maier via ntg-context
@ 2024-04-11 16:56       ` Hans Hagen via ntg-context
  2024-04-11 17:24         ` Pablo Rodriguez via ntg-context
  1 sibling, 1 reply; 9+ messages in thread
From: Hans Hagen via ntg-context @ 2024-04-11 16:56 UTC (permalink / raw)
  To: ntg-context; +Cc: Hans Hagen

On 4/11/2024 5:25 PM, Pablo Rodriguez via ntg-context wrote:
> On 4/10/24 22:28, Denis Maier wrote:
>>> [...]
>>>    context --luatex --generate
>>
>> Thanks, Pablo.
>> I've tried it, but it doesn't seem to work...
> 
> I get the same result on Win64 when I move the luatex binary from the
> tex/texmf-win64/bin/ directory.
> 
> This may sound stupid, but could you check whether the bin directory
> contain the required binary?
> 
> Sorry, "luatex --version" and even "whereis luatex" should give the same
> result (but on Windows, it seems to be https://ss64.com/nt/where.html).
> 
> I hope it may help,
it searches for mtxrun.lua and contextl.lua in the same path so you need:

luametatex.exe
mtxrun.exe (can be link to luametatex.exe)
context.exe (can be link to luametatex.exe)
context.lua
mtxrun.lua

all in the same (bib) path

... always has been so ...

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
-----------------------------------------------------------------

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

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua
  2024-04-11 16:56       ` Hans Hagen via ntg-context
@ 2024-04-11 17:24         ` Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; 9+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-04-11 17:24 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Pablo Rodriguez

On 4/11/24 18:56, Hans Hagen via ntg-context wrote:
> [...]
> it searches for mtxrun.lua and context.lua in the same path so you need:
>
> luametatex.exe
> mtxrun.exe (can be link to luametatex.exe)
> context.exe (can be link to luametatex.exe)
> context.lua
> mtxrun.lua
>
> all in the same (bib) path
>
> ... always has been so ...

But now it seems that luatex has disappeared from our bin directories.

Was this intended (because of the issues with the build farm)?

Many thanks for your help,

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

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua
  2024-04-11 15:39       ` Denis Maier via ntg-context
  2024-04-11 15:52         ` Pablo Rodriguez via ntg-context
@ 2024-04-14  8:35         ` Martin Hasoň
  1 sibling, 0 replies; 9+ messages in thread
From: Martin Hasoň @ 2024-04-14  8:35 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/markdown, Size: 1254 bytes --]

Hi Denis,

I made a similar solution for docker image [minidocks/context](https://hub.docker.com/r/minidocks/context):
[https://github.com/minidocks/context/commit/9b3ccc1eb62e556cada29b5b761207a526bca52e](https://github.com/minidocks/context/commit/9b3ccc1eb62e556cada29b5b761207a526bca52e).

You can get inspired. Everything works as it should:

```
$ docker run --rm -it minidocks/context --luatex --version  
resolvers       | globbing | confusing filename, name: 'CHANGELOG.md', lower: 'changelog.md', already: 'ChangeLog.md'  
mtx-context     | redirect luametatex -> luatex: luatex --luaonly --socket "/usr/share/tex/texmf/bin/mtxrun.lua" --script mtx-context --luatex --version --redirected  
resolvers       | globbing | confusing filename, name: 'CHANGELOG.md', lower: 'changelog.md', already: 'ChangeLog.md'  
mtx-context     | ConTeXt Process Management 1.06  
mtx-context     |  
mtx-context     | main context file: /usr/share/tex/texmf-context/tex/context/base/mkiv/context.mkiv  
mtx-context     | current version: 2024.04.01 08:59  
mtx-context     | main context file: /usr/share/tex/texmf-context/tex/context/base/mkxl/context.mkxl  
mtx-context     | current version: 2024.04.01 08:59
```

Best,

Martin Hasoň

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

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

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-04-14  8:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-10 11:59 [NTG-context] unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua Denis Maier via ntg-context
2024-04-10 17:34 ` [NTG-context] " Pablo Rodriguez via ntg-context
2024-04-10 20:28   ` Denis Maier via ntg-context
2024-04-11 15:25     ` Pablo Rodriguez via ntg-context
2024-04-11 15:39       ` Denis Maier via ntg-context
2024-04-11 15:52         ` Pablo Rodriguez via ntg-context
2024-04-14  8:35         ` Martin Hasoň
2024-04-11 16:56       ` Hans Hagen via ntg-context
2024-04-11 17:24         ` Pablo Rodriguez via ntg-context

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).