ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* cannot compile with MkIV
@ 2023-03-06 18:46 Pablo Rodriguez via ntg-context
  2023-03-06 20:10 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2023-03-06 18:46 UTC (permalink / raw)
  To: ConTeXt users; +Cc: Pablo Rodriguez

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
___________________________________________________________________________________

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

* Re: cannot compile with MkIV
  2023-03-06 18:46 cannot compile with MkIV Pablo Rodriguez via ntg-context
@ 2023-03-06 20:10 ` Hans Hagen via ntg-context
  2023-03-07 14:29   ` Pablo Rodriguez via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2023-03-06 20:10 UTC (permalink / raw)
  To: Pablo Rodriguez via ntg-context; +Cc: Hans Hagen

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
___________________________________________________________________________________

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

* Re: cannot compile with MkIV
  2023-03-06 20:10 ` Hans Hagen via ntg-context
@ 2023-03-07 14:29   ` Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2023-03-07 14:29 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Pablo Rodriguez

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
___________________________________________________________________________________

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

end of thread, other threads:[~2023-03-07 14:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-06 18:46 cannot compile with MkIV Pablo Rodriguez via ntg-context
2023-03-06 20:10 ` Hans Hagen via ntg-context
2023-03-07 14:29   ` 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).