Re: [NTG-context] cannot compile with MkIV

2023-03-07 Thread Pablo Rodriguez via ntg-context
On 3/6/23 21:10, Hans Hagen via ntg-context wrote:
> On 3/6/2023 7:46 PM, Pablo Rodriguez via ntg-context wrote:
>> [...]
>> Could anyone confirm that the format file for MkIV (LuaTeX) cannot be
>> generated with current latest (from today [2023.03.06 14:48])?
> hm, looks like we have an older luatex than context expects, i'll check 
> it (we probably need to let the builders fetch from the new luatex 
> source location)

Many thanks for your fast fix, Hans.

Pablo

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


Re: [NTG-context] cannot compile with MkIV

2023-03-06 Thread Hans Hagen via ntg-context

On 3/6/2023 7:46 PM, Pablo Rodriguez via ntg-context wrote:

Dear list,

I have the following sample:

   \starttext
   \null
   \stoptext

Trying to compile it with "context --luatex", I get the error message
copied bellow.

Could anyone confirm that the format file for MkIV (LuaTeX) cannot be
generated with current latest (from today [2023.03.06 14:48])?
hm, looks like we have an older luatex than context expects, i'll check 
it (we probably need to let the builders fetch from the new luatex 
source location)


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://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
___


[NTG-context] cannot compile with MkIV

2023-03-06 Thread Pablo Rodriguez via ntg-context
Dear list,

I have the following sample:

  \starttext
  \null
  \stoptext

Trying to compile it with "context --luatex", I get the error message
copied bellow.

Could anyone confirm that the format file for MkIV (LuaTeX) cannot be
generated with current latest (from today [2023.03.06 14:48])?

Many thanks for your help,

Pablo


lua error   > lua error on line 21 in file
~/context/tex/texmf-context/tex/context/base/mkiv/back-pdf.mkiv:

...ext/tex/texmf-context/tex/context/base/mkiv/lpdf-nod.lua:72: creating
a whatsit requires the subtype number as a second argument
stack traceback:
[C]: in local 'new_node'
...ext/tex/texmf-context/tex/context/base/mkiv/lpdf-nod.lua:72: in
local 'code'
...ext/tex/texmf-context/tex/context/base/mkiv/util-lua.lua:96: in
field 'loadedluacode'
...ext/tex/texmf-context/tex/context/base/mkiv/luat-env.lua:108: in
field 'luafilechunk'
...ext/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua:73: in
function 'lua.registercode'
[ctxlua]:1: in main chunk

11 %C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12 %C details.
13
14 %D The less there is here, the better. After a decade it is time
to remove the \type
15 %D {\pdf*} ones completely. For the moment I keep them commented
but even that will
16 %D go away.
17
18 \writestatus{loading}{ConTeXt Backend Macros / PDF}
19
20 \registerctxluafile{lpdf-ini}{optimize}
21 >>  \registerctxluafile{lpdf-nod}{}
22 \registerctxluafile{lpdf-eng}{optimize}
23 \registerctxluafile{lpdf-col}{}
24 \registerctxluafile{lpdf-vfc}{}
25 \registerctxluafile{lpdf-xmp}{}
26 \registerctxluafile{lpdf-ano}{}
27 \registerctxluafile{lpdf-res}{}
28 \registerctxluafile{lpdf-mis}{}
29 \registerctxluafile{lpdf-ren}{}
30 \registerctxluafile{lpdf-grp}{}
31 \registerctxluafile{lpdf-wid}{}

resolvers   | formats |
resolvers   | formats | binary path  :
~/context/tex/texmf-linux-64/bin
resolvers   | formats | format path  :
~/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex
resolvers   | formats | luatex engine: luatex
resolvers   | formats | lua startup file :
~/context/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua
resolvers   | formats | context file :
~/context/tex/texmf-context/tex/context/base/mkiv/cont-en.mkiv
resolvers   | formats | run time : 1.497 seconds
resolvers   | formats | return value : error
resolvers   | formats |
mtx-context | error, no format found with name: cont-en, aborting
___
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
___