ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* error running wiki example with labels
@ 2020-06-24 19:05 Jan-Erik Hägglöf
  2020-06-24 19:24 ` Aditya Mahajan
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Jan-Erik Hägglöf @ 2020-06-24 19:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hello All!

In the page https://wiki.contextgarden.net/Labels <https://wiki.contextgarden.net/Labels>

I’ve tried with no success to run those examples given at the page. The error complaint as the log shows below

return {
 ["filename"]="./labels3.tex",
 ["lastluaerror"]="function call [801]: ...-64/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:435: attempt to index a nil value (upvalue 'filehandle')",
 ["lasttexerror"]="?",
 ["linenumber"]=70,
 ["luaerrorline"]="435",
 ["offset"]=10,
}

open source     > level 1, order 1, name 'cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2020.03.10 14:52 MKIV beta  fmt: 2020.4.13  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 2, order 2, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'

system          > files > jobname 'labels3', input './labels3', result 'labels3'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
system          > synctex functionality is enabled, expect 5-10 pct runtime overhead!
open source     > level 2, order 3, name './labels3.tex'
open source     > level 3, order 4, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-plex.mkiv'
open source     > level 4, order 5, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
close source    > level 4, order 5, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
close source    > level 3, order 5, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-plex.mkiv'
fonts           > defining > font with asked name 'IBMPlexSans-regular' is not found using lookup 'file'
fonts           > defining > unknown font 'IBMPlexSans-regular', loading aborted
fonts           > defining > unable to define 'IBMPlexSans-regular' as 'ibmplex-11pt-ss-tf-0--0'
open source     > level 3, order 6, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/meta-imp-dum.mkiv'
close source    > level 3, order 6, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/meta-imp-dum.mkiv'
metapost        > library 'dum' is loaded
metapost        > initializing instance 'metafun:1' using format 'metafun' and method 'default'
metapost        > loading 'metafun' as '/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/metafun.mpxl' using method 'default'
metapost        > initializing number mode 'scaled'
metapost log    > 
metapost log    > loading metafun, including plain.mp version 1.004 for metafun iv and xl
metapost log    > 
fonts           > bodyfont '14pt' is defined (can better be done global)
fonts           > bodyfont '16.8pt' is defined (can better be done global)
fonts           > bodyfont '11.2pt' is defined (can better be done global)
fonts           > defining > font with asked name 'IBMPlexSans-regular' is not found using lookup 'file'
fonts           > defining > unknown font 'IBMPlexSans-regular', loading aborted
fonts           > defining > unable to define 'IBMPlexSans-regular' as 'ibmplex-14pt-ss-tf-0--0'

lua error       > lua error on line 70 in file ./labels3.tex:

function call [801]: ...-64/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:435: attempt to index a nil value (upvalue 'filehandle')

60     \setlayer[BG][
61       preset=leftbottom,
62       hoffset=5mm,
63       voffset=3mm]{%
64       the context group}
65     
66     \starttext
67     \startlines
68     \Name{Hans Hägar}
69     \Title{CEO · R&D}
70 >>  \page
71     
72     \Name{Wolf Schmidt}
73     \Title{0th Level Support}
74     \page
75     
76     \Name{Mocca Bob}
77     \Title{the Builder}
78     \page
79     
80     \Name{A. Rockefeller}

It seems to complain with the \page command

Jan-Eriks-Air: ~/Google Drive/PRIVAT janneman > context --version
mtx-context     | ConTeXt Process Management 1.03
mtx-context     |
mtx-context     | main context file: /Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2019.07.24 11:31
mtx-context     | main context file: /Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/context.mkxl
mtx-context     | current version: 2020.03.10 14:52










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

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

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: error running wiki example with labels
  2020-06-24 19:05 error running wiki example with labels Jan-Erik Hägglöf
@ 2020-06-24 19:24 ` Aditya Mahajan
  2020-06-24 19:33   ` Jan-Erik Hägglöf
  2020-06-24 19:33 ` Wolfgang Schuster
  2020-06-24 21:13 ` Jan-Erik Hägglöf
  2 siblings, 1 reply; 10+ messages in thread
From: Aditya Mahajan @ 2020-06-24 19:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

On Wed, 24 Jun 2020, Jan-Erik Hägglöf wrote:

> Hello All!
>
> In the page https://wiki.contextgarden.net/Labels <https://wiki.contextgarden.net/Labels>
>
> I’ve tried with no success to run those examples given at the page. The error complaint as the log shows below

Works okay here with both MkIV (version 2020.05.25) and LTMX (2020.06.10).

> open source     > level 1, order 1, name 'cont-yes.mkiv'
> system          >
> system          > ConTeXt  ver: 2020.03.10 14:52 MKIV beta  fmt: 2020.4.13  int: english/english

Might be a temporary bug. Could you update and try again?

Aditya

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

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: error running wiki example with labels
  2020-06-24 19:05 error running wiki example with labels Jan-Erik Hägglöf
  2020-06-24 19:24 ` Aditya Mahajan
@ 2020-06-24 19:33 ` Wolfgang Schuster
  2020-06-24 21:13 ` Jan-Erik Hägglöf
  2 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Schuster @ 2020-06-24 19:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Jan-Erik Hägglöf schrieb am 24.06.2020 um 21:05:
> Hello All!
> 
> In the page https://wiki.contextgarden.net/Labels
> 
> I’ve tried with no success to run those examples given at the page. The 
> error complaint as the log shows below

Can you comment (or remove) the following two lines which load the IBM 
Plex fonts.

\usetypescriptfile	[plex]
\setupbodyfont	[ibmplex,ss,11pt]

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: error running wiki example with labels
  2020-06-24 19:24 ` Aditya Mahajan
@ 2020-06-24 19:33   ` Jan-Erik Hägglöf
  0 siblings, 0 replies; 10+ messages in thread
From: Jan-Erik Hägglöf @ 2020-06-24 19:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

From the terminal running context it works fine but the problem appeared inside macvim so it seems to be related to macvim.

> 24 juni 2020 kl. 21:24 skrev Aditya Mahajan <adityam@umich.edu>:
> 
> On Wed, 24 Jun 2020, Jan-Erik Hägglöf wrote:
> 
>> Hello All!
>> 
>> In the page https://wiki.contextgarden.net/Labels <https://wiki.contextgarden.net/Labels>
>> 
>> I’ve tried with no success to run those examples given at the page. The error complaint as the log shows below
> 
> Works okay here with both MkIV (version 2020.05.25) and LTMX (2020.06.10).
> 
>> open source     > level 1, order 1, name 'cont-yes.mkiv'
>> system          >
>> system          > ConTeXt  ver: 2020.03.10 14:52 MKIV beta  fmt: 2020.4.13  int: english/english
> 
> Might be a temporary bug. Could you update and try again?
> 
> Aditya___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: error running wiki example with labels
  2020-06-24 19:05 error running wiki example with labels Jan-Erik Hägglöf
  2020-06-24 19:24 ` Aditya Mahajan
  2020-06-24 19:33 ` Wolfgang Schuster
@ 2020-06-24 21:13 ` Jan-Erik Hägglöf
  2020-06-25  7:38   ` Taco Hoekwater
  2 siblings, 1 reply; 10+ messages in thread
From: Jan-Erik Hägglöf @ 2020-06-24 21:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Done som restart and font switching as proposed but still the issue is present.

This is the lua error that appears inside macvim when i run :ConTeXt

lua error       > lua error on line 70 in file ./labels3.tex:

function call [801]: ...-64/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:435: attempt to index a nil value (upvalue 'filehandle’)

But when I take a sample code like this it went success, strange.

\mainlanguage[sv]

\starttext
\input tufte
\page
\input tufte
\stoptext

Is the difference when I’m running mtxrun … inside macvim

instead of just context ? in the terminal

> 24 juni 2020 kl. 21:05 skrev Jan-Erik Hägglöf <janerik.hagglof@bahnhof.se>:
> 
> lua error       > lua error on line 70 in file ./labels3.tex:
> 
> function call [801]: ...-64/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:435: attempt to index a nil value (upvalue 'filehandle')


[-- Attachment #1.2.1: Type: text/html, Size: 305 bytes --]

[-- Attachment #1.2.2: labels3.tex --]
[-- Type: application/octet-stream, Size: 1661 bytes --]

\newdimen\LWidth
\newdimen\LHeight
\newdimen\LDistanceX
\newdimen\LDistanceY

\LWidth=75mm
\LHeight=30mm
\LDistanceX=0mm
\LDistanceY=0mm

\define[1]\Name{{\switchtobodyfont[14pt]#1}}
\define[1]\Title{#1}

\mainlanguage[de]
%\usetypescriptfile	[plex]
\setupbodyfont	[palatino,ss,11pt]
\setupinterlinespace[16pt]

\useMPlibrary[dum]
\useexternalfigure[logo][cow][size=art]

\definepapersize[Label][width=\LWidth,height=\LHeight]
\setuppapersize[Label][A4]
\setuppaper[
  nx=2,
  ny=9,
  topspace=1cm,
  backspace=1cm,
  %dx=\LDistanceX,
  %dy=\LDistanceY,
] % must come before \setuparranging!
\setuparranging [XY]
\setuplayout[
  location=middle, marking=on,
  topspace=5mm,
  backspace=5mm,
  width=68mm,
  header=0mm,
  footer=0mm,
  ]
\setuppagenumbering[state=stop]

\definelayer[BG][
  x=0mm,y=0mm,
  width=\LWidth,height=\LHeight,
  state=repeat]
\setupbackgrounds[page][background=BG,]

\setlayerframed[BG][
  frame=on,
  framecolor=yellow,
  width=\LWidth,height=\LHeight,
  align=flushleft,
  ]{\strut}
\setlayer[BG][
  preset=rightbottom,
  hoffset=3mm,
  voffset=3mm]{%
  \externalfigure[logo][height=0.75\LHeight]}
\setlayer[BG][
  preset=leftbottom,
  hoffset=5mm,
  voffset=3mm]{%
  the context group}

\starttext
\startlines
\Name{Hans Hägar}
\Title{CEO · R&D}
\page[yes]

\Name{Wolf Schmidt}
\Title{0th Level Support}
\page[yes]

\Name{Mocca Bob}
\Title{the Builder}
\page[yes]

\Name{A. Rockefeller}
\Title{Mad Hatter}
\page[yes]

\Name{Ali Breslau}
\Title{MetaPost Manager}
\page[yes]

\Name{Taco Bellman}
\Title{CFO}
\page[yes]
\stoplines
\stoptext

[-- Attachment #1.2.3: Type: text/html, Size: 2821 bytes --]

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

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: error running wiki example with labels
  2020-06-24 21:13 ` Jan-Erik Hägglöf
@ 2020-06-25  7:38   ` Taco Hoekwater
  2020-06-25 15:54     ` Jan-Erik Hägglöf
  0 siblings, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2020-06-25  7:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

> On 24 Jun 2020, at 23:13, Jan-Erik Hägglöf <janerik.hagglof@bahnhof.se> wrote:
> 
> Is the difference when I’m running mtxrun … inside macvim

I would suspect PATH problems. Try running this bit of code both ways,
and compare the differences:

\starttext
\startluacode
for a,v in pairs(os.env) do
   logs.report('ENV', a .. '=' ..v)
end
\stopluacode
\stoptext


> 
> instead of just context ? in the terminal
> 
>> 24 juni 2020 kl. 21:05 skrev Jan-Erik Hägglöf <janerik.hagglof@bahnhof.se>:
>> 
>> lua error       > lua error on line 70 in file ./labels3.tex:
>> 
>> function call [801]: ...-64/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:435: attempt to index a nil value (upvalue 'filehandle')
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

Taco Hoekwater
Elvenkind BV




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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: error running wiki example with labels
  2020-06-25  7:38   ` Taco Hoekwater
@ 2020-06-25 15:54     ` Jan-Erik Hägglöf
  2020-06-26  7:56       ` Taco Hoekwater
  0 siblings, 1 reply; 10+ messages in thread
From: Jan-Erik Hägglöf @ 2020-06-25 15:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

It is difficult to see the differences in this case, but I supply both logfiles

Now I also upgraded lmtx to latest version.

Thanks

/Janne

> 25 juni 2020 kl. 09:38 skrev Taco Hoekwater <taco@elvenkind.com>:
> 
> Hi,
> 
>> On 24 Jun 2020, at 23:13, Jan-Erik Hägglöf <janerik.hagglof@bahnhof.se <mailto:janerik.hagglof@bahnhof.se>> wrote:
>> 
>> Is the difference when I’m running mtxrun … inside macvim
> 
> I would suspect PATH problems. Try running this bit of code both ways,
> and compare the differences:
> 
> \starttext
> \startluacode
> for a,v in pairs(os.env) do
>   logs.report('ENV', a .. '=' ..v)
> end
> \stopluacode
> \stoptext
> 
> 
>> 
>> instead of just context ? in the terminal
>> 
>>> 24 juni 2020 kl. 21:05 skrev Jan-Erik Hägglöf <janerik.hagglof@bahnhof.se>:
>>> 
>>> lua error       > lua error on line 70 in file ./labels3.tex:
>>> 
>>> function call [801]: ...-64/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:435: attempt to index a nil value (upvalue 'filehandle')
>> 
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to the Wiki!
>> 
>> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki     : http://contextgarden.net
>> ___________________________________________________________________________________
> 
> Taco Hoekwater
> Elvenkind BV
> 
> 
> 
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
> archive  : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
> wiki     : http://contextgarden.net <http://contextgarden.net/>
> ___________________________________________________________________________________


[-- Attachment #1.2.1: Type: text/html, Size: 285 bytes --]

[-- Attachment #1.2.2: test-by-shell-context.log --]
[-- Type: application/octet-stream, Size: 8785 bytes --]

open source     > level 1, order 1, name 'cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2020.03.10 14:52 MKIV beta  fmt: 2020.4.13  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 2, order 2, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > files > jobname 'test', input './test', result 'test'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 2, order 3, name './test.tex'
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
ENV             > SHLVL=2
ENV             > TEXROOT=/Users/janneman/context-osx-64/tex
ENV             > SELFAUTOLOC=/Users/janneman/context-osx-64/tex/texmf-osx-64/bin
ENV             > HOME=/Users/janneman
ENV             > SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.UaliWL42k3/Listeners
ENV             > LOGNAME=janneman
ENV             > TEXOS=texmf-osx-64
ENV             > PWD=/Users/janneman
ENV             > OSFONTDIR=$HOME/Library/Fonts//;/Library/Fonts//;/System/Library/Fonts//
ENV             > SELFAUTOPARENT=/Users/janneman/context-osx-64/tex
ENV             > XPC_SERVICE_NAME=0
ENV             > TERM_SESSION_ID=5E3D532E-2CD0-477E-8896-DAA73C95CCAF
ENV             > TERM_PROGRAM=Apple_Terminal
ENV             > PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/janneman/context-osx-64/bin:/Users/janneman/context-osx-64/tex/texmf-osx-64/bin:/Users/janneman/scripts
ENV             > TEXMFOS=/Users/janneman/context-osx-64/tex/texmf-osx-64
ENV             > MTX_PLATFORM=osx-64
ENV             > _=/Users/janneman/context-osx-64/tex/texmf-osx-64/bin/luametatex
ENV             > USERPROFILE=/Users/janneman
ENV             > LANG=sv_SE.UTF-8
ENV             > TERM=xterm-256color
ENV             > SHELL=/bin/bash
ENV             > TMPDIR=/var/folders/ft/tjwgpl0d27lbhmbwh884xchc0000gn/T/
ENV             > XPC_FLAGS=0x0
ENV             > SELFAUTODIR=/Users/janneman/context-osx-64/tex/texmf-osx-64
ENV             > TERM_PROGRAM_VERSION=433
ENV             > SELFAUTOSYSTEM=osx-64
ENV             > engine=luametatex
ENV             > USER=janneman
close source    > level 2, order 3, name './test.tex'
close source    > level 1, order 3, name 'cont-yes.mkiv'
backend         > xmp > using file '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'

system          > start used files

system          > text: test

system          > stop used files


system          > start used files

system          >    1: filename=char-prv.lua filetype=tex format=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/char-prv.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/char-prv.lua usedmethod=database
system          >    2: filename=cont-yes.mkiv filetype=tex format=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
system          >    3: filename=publ-imp-default.lua filetype=lua foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
system          >    4: filename=cont-new.mkiv filetype=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
system          >    5: filename=lang-exc.lua filetype=lua foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system          >    6: filename=lang-us.lua filetype=lua foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system          >    7: filename=/Users/janneman/test.tex format=tex foundname=/Users/janneman/test.tex fullname=/Users/janneman/test.tex usedmethod=direct
system          >    8: filename=lang-sv.lua filetype=lua foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-sv.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-sv.lua usedmethod=database
system          >    9: filename=lm.lfg filetype=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg usedmethod=database
system          >   10: filename=lmroman12-regular filetype=otf format=otf foundname=/Users/janneman/context-osx-64/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf fullname=/Users/janneman/context-osx-64/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
system          >   11: filename=latinmodern-math.otf filetype=opentypefonts foundname=/Users/janneman/context-osx-64/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf fullname=/Users/janneman/context-osx-64/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
system          >   12: filename=lpdf-pdx.xml filetype=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database

system          > stop used files


system          > start commandline options

system          > currentrun="1"
system          > fulljobname="./test.tex"
system          > input="./test.tex"
system          > kindofrun="1"
system          > maxnofruns="9"
system          > texmfbinpath="/Users/janneman/context-osx-64/tex/texmf-osx-64/bin"

system          > stop commandline options


system          > start commandline files

system          >    1: ./test.tex

system          > stop commandline files


modules         > start used modules


modules         > stop used modules


mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: /Users/janneman/context-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.006 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 12 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 468 modules (0.293 sec), 93 tables (0.016 sec), 561 chunks (0.308 sec)
mkiv lua stats  > traced context: maxstack: 1413, freed: 0, unreachable: 1413
mkiv lua stats  > cleaned up reserved nodes: 54 nodes, 9 lists of 442
mkiv lua stats  > node memory usage: 8 attribute, 4 attribute_list, 2 glue, 51 glue_spec, 2 kern, 2 penalty, 2 temp, 2 whatsit
mkiv lua stats  > node list callback tasks: 8 unique task lists, 1 instances (re)created, 2 calls
mkiv lua stats  > used backend: lmtx version 0.10, pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: internal: 39, file: 145, direct: 3, late: 0, function 1045, total: 1232
mkiv lua stats  > randomizer: resumed with value 0.99509005831999
mkiv lua stats  > result saved in file: test.pdf, compresslevel 3, objectcompresslevel 1
mkiv lua stats  > loaded patterns: en::1 sv::5, load time: 0.000
mkiv lua stats  > loaded fonts: 2 files: latinmodern-math.otf, lmroman12-regular.otf
mkiv lua stats  > font engine: otf 3.111, afm 1.513, tfm 1.000, 7 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.254 seconds 
mkiv lua stats  > used platform: osx-64, type: unix, binary subtree: texmf-osx-64
mkiv lua stats  > used engine: luametatex version: 2.05, functionality level: 20200229, format id: 490, compiler: clang
mkiv lua stats  > control sequences: 45951 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 49 MB, ctx: 47 MB, max: 47 MB, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.668 seconds

[-- Attachment #1.2.3: Type: text/html, Size: 197 bytes --]

[-- Attachment #1.2.4: test-inside-with-mtxrun.log --]
[-- Type: application/octet-stream, Size: 9773 bytes --]

open source     > level 1, order 1, name 'cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2020.03.10 14:52 MKIV beta  fmt: 2020.4.13  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 2, order 2, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'

system          > files > jobname 'test', input './test', result 'test'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
system          > synctex functionality is enabled, expect 5-10 pct runtime overhead!
open source     > level 2, order 3, name './test.tex'
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
ENV             > VIM_SERVERNAME=VIM2
ENV             > SUDO_ASKPASS=/usr/local/Cellar/macvim/8.2-163_2/MacVim.app/Contents/Resources/macvim-askpass
ENV             > COLORS=16777216
ENV             > SHLVL=2
ENV             > __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x7
ENV             > MTX_PLATFORM=osx-64
ENV             > LOGNAME=janneman
ENV             > TERM=dumb
ENV             > VIMRUNTIME=/usr/local/Cellar/macvim/8.2-163_2/MacVim.app/Contents/Resources/vim/runtime
ENV             > LANG=sv_SE.UTF-8
ENV             > TEXMFOS=/Users/janneman/context-osx-64/tex/texmf-osx-64
ENV             > TEXOS=texmf-osx-64
ENV             > SELFAUTOPARENT=/Users/janneman/context-osx-64/tex
ENV             > VIM=/usr/local/Cellar/macvim/8.2-163_2/MacVim.app/Contents/Resources/vim
ENV             > SSH_ASKPASS=/usr/local/Cellar/macvim/8.2-163_2/MacVim.app/Contents/Resources/macvim-askpass
ENV             > OSFONTDIR=$HOME/Library/Fonts//;/Library/Fonts//;/System/Library/Fonts//
ENV             > MYVIMRC=/Users/janneman/.vimrc
ENV             > SELFAUTODIR=/Users/janneman/context-osx-64/tex/texmf-osx-64
ENV             > TEXROOT=/Users/janneman/context-osx-64/tex
ENV             > TMPDIR=/var/folders/ft/tjwgpl0d27lbhmbwh884xchc0000gn/T/
ENV             > _=/Users/janneman/context-osx-64/tex/texmf-osx-64/bin/luametatex
ENV             > USERPROFILE=/Users/janneman
ENV             > SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.UaliWL42k3/Listeners
ENV             > ROWS=40
ENV             > USER=janneman
ENV             > PATH=/Users/janneman/context-osx-64/tex/texmf-osx-64/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/janneman/context-osx-64/bin:/Users/janneman/context-osx-64/tex/texmf-osx-64/bin:/Users/janneman/scripts
ENV             > COLUMNS=124
ENV             > engine=luametatex
ENV             > XPC_FLAGS=0x0
ENV             > LINES=40
ENV             > HOME=/Users/janneman
ENV             > PWD=/Users/janneman
ENV             > SELFAUTOLOC=/Users/janneman/context-osx-64/tex/texmf-osx-64/bin
ENV             > SELFAUTOSYSTEM=osx-64
ENV             > XPC_SERVICE_NAME=0
ENV             > SHELL=/bin/bash
close source    > level 2, order 3, name './test.tex'
close source    > level 1, order 3, name 'cont-yes.mkiv'
backend         > xmp > using file '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'

system          > start used files

system          > text: test

system          > stop used files


system          > start used files

system          >    1: filename=char-prv.lua filetype=tex format=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/char-prv.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/char-prv.lua usedmethod=database
system          >    2: filename=cont-yes.mkiv filetype=tex format=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
system          >    3: filename=publ-imp-default.lua filetype=scripts foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
system          >    4: filename=cont-new.mkiv filetype=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
system          >    5: filename=lang-exc.lua filetype=scripts foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system          >    6: filename=lang-us.lua filetype=scripts foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system          >    7: filename=/Users/janneman/test.tex format=tex foundname=/Users/janneman/test.tex fullname=/Users/janneman/test.tex usedmethod=direct
system          >    8: filename=lang-sv.lua filetype=scripts foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-sv.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-sv.lua usedmethod=database
system          >    9: filename=lm.lfg filetype=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg usedmethod=database
system          >   10: filename=lmroman12-regular filetype=otf format=otf foundname=/Users/janneman/context-osx-64/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf fullname=/Users/janneman/context-osx-64/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
system          >   11: filename=latinmodern-math.otf filetype=opentypefonts foundname=/Users/janneman/context-osx-64/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf fullname=/Users/janneman/context-osx-64/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
system          >   12: filename=lpdf-pdx.xml filetype=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database

system          > stop used files


system          > start commandline options

system          > arrange="true"
system          > autogenerate="true"
system          > autopdf="true"
system          > currentrun="3"
system          > final="true"
system          > fulljobname="./test.tex"
system          > input="./test.tex"
system          > kindofrun="3"
system          > maxnofruns="9"
system          > nonstopmode="true"
system          > synctex="0"
system          > texmfbinpath="/Users/janneman/context-osx-64/tex/texmf-osx-64/bin"

system          > stop commandline options


system          > start commandline files

system          >    1: ./test.tex

system          > stop commandline files


modules         > start used modules


modules         > stop used modules


mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: /Users/janneman/context-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.006 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 12 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 468 modules (0.294 sec), 93 tables (0.015 sec), 561 chunks (0.309 sec)
mkiv lua stats  > traced context: maxstack: 1413, freed: 0, unreachable: 1413
mkiv lua stats  > cleaned up reserved nodes: 54 nodes, 9 lists of 442
mkiv lua stats  > node memory usage: 8 attribute, 4 attribute_list, 2 glue, 51 glue_spec, 2 kern, 2 penalty, 2 temp, 2 whatsit
mkiv lua stats  > node list callback tasks: 8 unique task lists, 1 instances (re)created, 2 calls
mkiv lua stats  > synctex tracing: 2 referenced files, 4 files ignored, 0 objects flushed, logfile: false
mkiv lua stats  > used backend: lmtx version 0.10, pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: internal: 39, file: 145, direct: 3, late: 0, function 1045, total: 1232
mkiv lua stats  > randomizer: resumed with value 0.99509005831999
mkiv lua stats  > result saved in file: test.pdf, compresslevel 3, objectcompresslevel 1
mkiv lua stats  > loaded patterns: en::1 sv::5, load time: 0.000
mkiv lua stats  > loaded fonts: 2 files: latinmodern-math.otf, lmroman12-regular.otf
mkiv lua stats  > font engine: otf 3.111, afm 1.513, tfm 1.000, 7 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.236 seconds 
mkiv lua stats  > used platform: osx-64, type: unix, binary subtree: texmf-osx-64
mkiv lua stats  > used engine: luametatex version: 2.05, functionality level: 20200229, format id: 490, compiler: clang
mkiv lua stats  > control sequences: 45951 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 49 MB, ctx: 47 MB, max: 47 MB, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.644 seconds

[-- Attachment #1.2.5: Type: text/html, Size: 24571 bytes --]

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

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: error running wiki example with labels
  2020-06-25 15:54     ` Jan-Erik Hägglöf
@ 2020-06-26  7:56       ` Taco Hoekwater
  2020-06-26 14:30         ` Jan-Erik Hägglöf
  0 siblings, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2020-06-26  7:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> On 25 Jun 2020, at 17:54, Jan-Erik Hägglöf <janerik.hagglof@bahnhof.se> wrote:
> 
> It is difficult to see the differences in this case, but I supply both logfiles
> <test-by-shell-context.log>
> <test-inside-with-mtxrun.log>

The two PATHs are not the same, so it is possible that one of the two 
uses a different mtxrun, context and/or luatex that is elsewhere in the PATH:

test-by-shell-context.log:ENV             > PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/janneman/context-osx-64/bin:/Users/janneman/context-osx-64/tex/texmf-osx-64/bin:/Users/janneman/scripts
test-inside-with-mtxrun.log:ENV             > PATH=/Users/janneman/context-osx-64/tex/texmf-osx-64/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/janneman/context-osx-64/bin:/Users/janneman/context-osx-64/tex/texmf-osx-64/bin:/Users/janneman/scripts

but other than that, nothing stands out to me in that log. 

An interesting experiment would be to run the macvim-generated commandline (for the file with the error) in Terminal, and then that same commandline but with the PATH set as in macvim.


> Now I also upgraded lmtx to latest version.

But still having problems?

Best wishes,
Taco



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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: error running wiki example with labels
  2020-06-26  7:56       ` Taco Hoekwater
@ 2020-06-26 14:30         ` Jan-Erik Hägglöf
  2020-06-26 15:53           ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Jan-Erik Hägglöf @ 2020-06-26 14:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

The issue is the same after update of lmtx but the complaint differs.

I’m not sure the full command sequence that runs by vim, anyone else who knows the internal default by vim in context mode?

However the result from commandline in vim

:!context %

works fine

but not when I run

:ConTeXt

The thing is also when I do the example code on wiki with page command commented out



Errorlog with mtxrun inside vim

open source     > level 1, order 1, name 'cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2020.06.25 11:23 MKIV beta  fmt: 2020.6.25  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 2, order 2, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'

system          > files > jobname 'labels3', input './labels3', result 'labels3'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
system          > synctex functionality is enabled, expect 5-10 pct runtime overhead!
open source     > level 2, order 3, name './labels3.tex'
open source     > level 3, order 4, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
close source    > level 3, order 4, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
open source     > level 3, order 5, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/meta-imp-dum.mkiv'
close source    > level 3, order 5, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/meta-imp-dum.mkiv'
metapost        > library 'dum' is loaded
metapost        > initializing instance 'metafun:1' using format 'metafun' and method 'default'
metapost        > loading 'metafun' as '/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/metafun.mpxl' using method 'default'
metapost        > initializing number mode 'scaled'
metapost log    > 
metapost log    > loading metafun, including plain.mp version 1.004 for metafun iv and xl
metapost log    > 
fonts           > bodyfont '14pt' is defined (can better be done global)
fonts           > bodyfont '16.8pt' is defined (can better be done global)
fonts           > bodyfont '11.2pt' is defined (can better be done global)

lua error       > lua error on line 1 in file ./labels3.tex:

function call [844]: ...-64/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:435: attempt to index a nil value (upvalue 'filehandle')

 1 >>  \newdimen\LWidth
 2     \newdimen\LHeight
 3     \newdimen\LDistanceX
 4     \newdimen\LDistanceY
 5     
 6     \LWidth=75mm
 7     \LHeight=30mm
 8     \LDistanceX=0mm
 9     \LDistanceY=0mm
10     
11     \define[1]\Name{{\switchtobodyfont[14pt]#1}}

And the code was as following

\newdimen\LWidth
\newdimen\LHeight
\newdimen\LDistanceX
\newdimen\LDistanceY

\LWidth=75mm
\LHeight=30mm
\LDistanceX=0mm
\LDistanceY=0mm

\define[1]\Name{{\switchtobodyfont[14pt]#1}}
\define[1]\Title{#1}

\mainlanguage[sv]
%\usetypescriptfile	[plex]
\setupbodyfont	[palatino,ss,11pt]
\setupinterlinespace[16pt]

\useMPlibrary[dum]
\useexternalfigure[logo][cow][size=art]

\definepapersize[Label][width=\LWidth,height=\LHeight]
\setuppapersize[Label][A4]
\setuppaper[
  nx=2,
  ny=9,
  topspace=1cm,
  backspace=1cm,
  %dx=\LDistanceX,
  %dy=\LDistanceY,
] % must come before \setuparranging!
\setuparranging [XY]
\setuplayout[
  location=middle, marking=on,
  topspace=5mm,
  backspace=5mm,
  width=68mm,
  header=0mm,
  footer=0mm,
  ]
\setuppagenumbering[state=stop]

\definelayer[BG][
  x=0mm,y=0mm,
  width=\LWidth,height=\LHeight,
  state=repeat]
\setupbackgrounds[page][background=BG,]

\setlayerframed[BG][
  frame=on,
  framecolor=yellow,
  width=\LWidth,height=\LHeight,
  align=flushleft,
  ]{\strut}
\setlayer[BG][
  preset=rightbottom,
  hoffset=3mm,
  voffset=3mm]{%
  \externalfigure[logo][height=0.75\LHeight]}
\setlayer[BG][
  preset=leftbottom,
  hoffset=5mm,
  voffset=3mm]{%
  the context group}

\starttext
\startlines
\Name{Hans Hägar}
\Title{CEO · R \& D}
%\page
\stoplines
%\Name{Wolf Schmidt}
%\Title{0th Level Support}
%\page[yes]

%\Name{Mocca Bob}
%\Title{the Builder}
%\page[yes]

%\Name{A. Rockefeller}
%\Title{Mad Hatter}
%\page[yes]

%\Name{Ali Breslau}
%\Title{MetaPost Manager}
%\page[yes]

%\Name{Taco Bellman}
%\Title{CFO}
%\page[yes]
%\stoplines
\stoptext

Then I issued the regular context command via terminal inside vim

And the result went just fine

open source     > level 1, order 1, name 'cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2020.06.25 11:23 MKIV beta  fmt: 2020.6.25  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 2, order 2, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > files > jobname 'labels3', input './labels3', result 'labels3'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 2, order 3, name './labels3.tex'
open source     > level 3, order 4, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
close source    > level 3, order 4, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
open source     > level 3, order 5, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/meta-imp-dum.mkiv'
close source    > level 3, order 5, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/meta-imp-dum.mkiv'
metapost        > library 'dum' is loaded
metapost        > initializing instance 'metafun:1' using format 'metafun' and method 'default'
metapost        > loading 'metafun' as '/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/metafun.mpxl' using method 'default'
metapost        > initializing number mode 'scaled'
metapost log    > 
metapost log    > loading metafun, including plain.mp version 1.004 for metafun iv and xl
metapost log    > 
fonts           > bodyfont '14pt' is defined (can better be done global)
fonts           > bodyfont '16.8pt' is defined (can better be done global)
fonts           > bodyfont '11.2pt' is defined (can better be done global)
system          > '1.1.1' arranged at '1'
system          > '2.2.2' arranged at '2'
system          > '3.3.3' arranged at '3'
system          > '4.4.4' arranged at '4'
system          > '5.5.5' arranged at '5'
system          > '6.6.6' arranged at '6'
system          > '7.7.7' arranged at '7'
system          > '8.8.8' arranged at '8'
system          > '9.9.9' arranged at '9'
system          > '10.10.10' arranged at '10'
system          > '11.11.11' arranged at '11'
system          > '12.12.12' arranged at '12'
system          > '13.13.13' arranged at '13'
system          > '14.14.14' arranged at '14'
system          > '15.15.15' arranged at '15'
system          > '16.16.16' arranged at '16'
system          > '17.17.17' arranged at '17'
system          > '18.18.18' arranged at '18'
backend         > xmp > using file '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 18, userpage 18, subpage 18
close source    > level 2, order 5, name './labels3.tex'
close source    > level 1, order 5, name 'cont-yes.mkiv'

system          > start used files

system          > text: labels3

system          > stop used files


system          > start used files

system          >    1: filename=char-prv.lua filetype=tex format=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/char-prv.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/char-prv.lua usedmethod=database
system          >    2: filename=cont-yes.mkiv filetype=tex format=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
system          >    3: filename=publ-imp-default.lua filetype=scripts foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
system          >    4: filename=cont-new.mkiv filetype=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
system          >    5: filename=lang-exc.lua filetype=scripts foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system          >    6: filename=lang-us.lua filetype=scripts foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system          >    7: filename=/Users/janneman/labels3.tex format=tex foundname=/Users/janneman/labels3.tex fullname=/Users/janneman/labels3.tex usedmethod=direct
system          >    8: filename=lang-sv.lua filetype=scripts foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-sv.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-sv.lua usedmethod=database
system          >    9: filename=type-imp-texgyre.mkiv filetype=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv usedmethod=database
system          >   10: filename=lm.lfg filetype=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg usedmethod=database
system          >   11: filename=lmsans10-regular filetype=otf format=otf foundname=/Users/janneman/context-osx-64/tex/texmf/fonts/opentype/public/lm/lmsans10-regular.otf fullname=/Users/janneman/context-osx-64/tex/texmf/fonts/opentype/public/lm/lmsans10-regular.otf usedmethod=database
system          >   12: filename=texgyrepagella-math.otf filetype=otf format=otf foundname=/Users/janneman/context-osx-64/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyrepagella-math.otf fullname=/Users/janneman/context-osx-64/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyrepagella-math.otf usedmethod=database
system          >   13: filename=pagella-math.lfg filetype=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/pagella-math.lfg fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/pagella-math.lfg usedmethod=database
system          >   14: filename=meta-imp-dum.mkiv filetype=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/meta-imp-dum.mkiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/meta-imp-dum.mkiv usedmethod=database
system          >   15: filename=dejavusansmono filetype=ttf format=ttf foundname=/Users/janneman/context-osx-64/tex/texmf/fonts/truetype/public/dejavu/DejaVuSansMono.ttf fullname=/Users/janneman/context-osx-64/tex/texmf/fonts/truetype/public/dejavu/DejaVuSansMono.ttf usedmethod=database
system          >   16: filename=metafun.mpxl filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/metafun.mpxl fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/metafun.mpxl usedmethod=database
system          >   17: filename=mp-base.mpiv filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-base.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-base.mpiv usedmethod=database
system          >   18: filename=mp-base.mpiv filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-base.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-base.mpiv usedmethod=database
system          >   19: filename=mp-tool.mpiv filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-tool.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-tool.mpiv usedmethod=database
system          >   20: filename=mp-tool.mpiv filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-tool.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-tool.mpiv usedmethod=database
system          >   21: filename=mp-mlib.mpiv filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-mlib.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-mlib.mpiv usedmethod=database
system          >   22: filename=mp-mlib.mpiv filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-mlib.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-mlib.mpiv usedmethod=database
system          >   23: filename=mp-luas.mpxl filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-luas.mpxl fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-luas.mpxl usedmethod=database
system          >   24: filename=mp-luas.mpxl filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-luas.mpxl fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-luas.mpxl usedmethod=database
system          >   25: filename=mp-math.mpxl filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-math.mpxl fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-math.mpxl usedmethod=database
system          >   26: filename=mp-math.mpxl filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-math.mpxl fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-math.mpxl usedmethod=database
system          >   27: filename=mp-cont.mpxl filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-cont.mpxl fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-cont.mpxl usedmethod=database
system          >   28: filename=mp-cont.mpxl filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-cont.mpxl fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-cont.mpxl usedmethod=database
system          >   29: filename=mp-page.mpxl filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-page.mpxl fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-page.mpxl usedmethod=database
system          >   30: filename=mp-page.mpxl filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-page.mpxl fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-page.mpxl usedmethod=database
system          >   31: filename=mp-butt.mpiv filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-butt.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-butt.mpiv usedmethod=database
system          >   32: filename=mp-butt.mpiv filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-butt.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-butt.mpiv usedmethod=database
system          >   33: filename=mp-shap.mpiv filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-shap.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-shap.mpiv usedmethod=database
system          >   34: filename=mp-shap.mpiv filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-shap.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-shap.mpiv usedmethod=database
system          >   35: filename=mp-grph.mpiv filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-grph.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-grph.mpiv usedmethod=database
system          >   36: filename=mp-grph.mpiv filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-grph.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-grph.mpiv usedmethod=database
system          >   37: filename=mp-grid.mpiv filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-grid.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-grid.mpiv usedmethod=database
system          >   38: filename=mp-grid.mpiv filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-grid.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-grid.mpiv usedmethod=database
system          >   39: filename=mp-form.mpiv filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-form.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-form.mpiv usedmethod=database
system          >   40: filename=mp-form.mpiv filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-form.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-form.mpiv usedmethod=database
system          >   41: filename=mp-figs.mpiv filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-figs.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-figs.mpiv usedmethod=database
system          >   42: filename=mp-figs.mpiv filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-figs.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-figs.mpiv usedmethod=database
system          >   43: filename=mp-func.mpiv filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-func.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-func.mpiv usedmethod=database
system          >   44: filename=mp-func.mpiv filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-func.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-func.mpiv usedmethod=database
system          >   45: filename=mp-node.mpiv filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-node.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-node.mpiv usedmethod=database
system          >   46: filename=mp-node.mpiv filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-node.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-node.mpiv usedmethod=database
system          >   47: filename=mp-apos.mpiv filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-apos.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-apos.mpiv usedmethod=database
system          >   48: filename=mp-apos.mpiv filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-apos.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-apos.mpiv usedmethod=database
system          >   49: filename=mp-abck.mpiv filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-abck.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-abck.mpiv usedmethod=database
system          >   50: filename=mp-abck.mpiv filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-abck.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-abck.mpiv usedmethod=database
system          >   51: filename=mp-blob.mpiv filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-blob.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-blob.mpiv usedmethod=database
system          >   52: filename=mp-blob.mpiv filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-blob.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-blob.mpiv usedmethod=database
system          >   53: filename=mp-lmtx.mpxl filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-lmtx.mpxl fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-lmtx.mpxl usedmethod=database
system          >   54: filename=mp-lmtx.mpxl filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-lmtx.mpxl fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-lmtx.mpxl usedmethod=database
system          >   55: filename=mp-crop.mpiv filetype=mp format=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-crop.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-crop.mpiv usedmethod=database
system          >   56: filename=mp-crop.mpiv filetype=mp foundname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-crop.mpiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-crop.mpiv usedmethod=database
system          >   57: filename=lpdf-pdx.xml filetype=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database

system          > stop used files


system          > start commandline options

system          > currentrun="2"
system          > fulljobname="./labels3.tex"
system          > input="./labels3.tex"
system          > kindofrun="2"
system          > maxnofruns="9"
system          > texmfbinpath="/Users/janneman/context-osx-64/tex/texmf-osx-64/bin"

system          > stop commandline options


system          > start commandline files

system          >    1: ./labels3.tex

system          > stop commandline files


modules         > start used modules


modules         > stop used modules


mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: /Users/janneman/context-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.006 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 57 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 472 modules (0.334 sec), 93 tables (0.020 sec), 565 chunks (0.353 sec)
mkiv lua stats  > traced context: maxstack: 1461, freed: 3, unreachable: 1458
mkiv lua stats  > cleaned up reserved nodes: 62 nodes, 12 lists of 443
mkiv lua stats  > node memory usage: 64 attribute, 30 attribute_list, 1 glue, 51 glue_spec, 3 kern, 2 penalty, 2 temp, 2 whatsit
mkiv lua stats  > node list callback tasks: 8 unique task lists, 7 instances (re)created, 464 calls
mkiv lua stats  > used backend: lmtx version 0.10, pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.002 seconds saving, 0.001 seconds loading
mkiv lua stats  > callbacks: internal: 1022, file: 745, direct: 4, late: 109, function 2552, total: 4432 (261 per page)
mkiv lua stats  > randomizer: resumed with value 0.68016852456456
mkiv lua stats  > positions: 20 collected, 20 regular, 0 special
mkiv lua stats  > result saved in file: labels3.pdf, compresslevel 3, objectcompresslevel 1
mkiv lua stats  > loaded patterns: en::1 sv::5, load time: 0.000
mkiv lua stats  > loaded fonts: 3 files: lmsans10-regular.otf, texgyrepagella-math.otf, dejavusansmono.ttf
mkiv lua stats  > font engine: otf 3.111, afm 1.513, tfm 1.000, 15 instances, 10 shared in backend, 3 common vectors, 7 common hashes, load time 0.365 seconds 
mkiv lua stats  > body font sizes: defined: 10pt 11pt 12pt 14.4pt 17.3pt 20.7pt 4pt 5pt 6pt 7pt 8pt 9pt, undefined: 11.2pt 14pt 16.8pt
mkiv lua stats  > metapost: 0.009 seconds, loading: 0.066, execution: 0.008, n: 5, average: 0.017, instances: 1, luacalls: 250, memory: 3.450 M
mkiv lua stats  > graphics processing time: 0.133 seconds including tex, 1 processed images, 1 unique asked, 0 bad names
mkiv lua stats  > font embedding time: 0.033 seconds, 2 fonts
mkiv lua stats  > used platform: osx-64, type: unix, binary subtree: texmf-osx-64
mkiv lua stats  > used engine: luametatex version: 2.061, functionality level: 20200623, format id: 504, compiler: gcc
mkiv lua stats  > used hash slots: 46810 of 131072 + 100000
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 61 MB, ctx: 59 MB, max: 60 MB, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 1.066 seconds, 18 processed pages, 18 shipped pages, 16.887 pages/second

The file context.vim in .vim/after/ftplugin is

let g:context_mtxrun = 'PATH=$HOME/context-osx-64/tex/texmf-osx-64/bin:$PATH mtxrun'
let g:context_extra_options = '--arrange —autopdf'

But with this code

\mainlanguage[sv]

\setupbodyfont[pagella,12pt]

\starttext

\input tufte

\stoptext

it works perfectly and the log shows

open source     > level 1, order 1, name 'cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2020.06.25 11:23 MKIV beta  fmt: 2020.6.25  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 2, order 2, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'

system          > files > jobname 'simpletest', input './simpletest', result 'simpletest'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
system          > synctex functionality is enabled, expect 5-10 pct runtime overhead!
open source     > level 2, order 3, name './simpletest.tex'
open source     > level 3, order 4, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
close source    > level 3, order 4, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
open source     > level 3, order 5, name 'tufte.tex'
close source    > level 3, order 5, name 'tufte.tex'
backend         > xmp > using file '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
close source    > level 2, order 5, name './simpletest.tex'
close source    > level 1, order 5, name 'cont-yes.mkiv'

system          > start used files

system          > text: simpletest

system          > stop used files


system          > start used files

system          >    1: filename=char-prv.lua filetype=tex format=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/char-prv.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/char-prv.lua usedmethod=database
system          >    2: filename=cont-yes.mkiv filetype=tex format=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
system          >    3: filename=publ-imp-default.lua filetype=scripts foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
system          >    4: filename=cont-new.mkiv filetype=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
system          >    5: filename=lang-exc.lua filetype=scripts foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system          >    6: filename=lang-us.lua filetype=scripts foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system          >    7: filename=/Users/janneman/simpletest.tex format=tex foundname=/Users/janneman/simpletest.tex fullname=/Users/janneman/simpletest.tex usedmethod=direct
system          >    8: filename=lang-sv.lua filetype=scripts foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-sv.lua fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-sv.lua usedmethod=database
system          >    9: filename=type-imp-texgyre.mkiv filetype=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv usedmethod=database
system          >   10: filename=lm.lfg filetype=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg usedmethod=database
system          >   11: filename=texgyrepagella-regular filetype=otf format=otf foundname=/Users/janneman/context-osx-64/tex/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-regular.otf fullname=/Users/janneman/context-osx-64/tex/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-regular.otf usedmethod=database
system          >   12: filename=texgyrepagella-math.otf filetype=otf format=otf foundname=/Users/janneman/context-osx-64/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyrepagella-math.otf fullname=/Users/janneman/context-osx-64/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyrepagella-math.otf usedmethod=database
system          >   13: filename=pagella-math.lfg filetype=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/pagella-math.lfg fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/pagella-math.lfg usedmethod=database
system          >   14: filename=tufte.tex filetype=tex format=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/sample/common/tufte.tex fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/sample/common/tufte.tex usedmethod=database
system          >   15: filename=lpdf-pdx.xml filetype=tex foundname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database

system          > stop used files


system          > start commandline options

system          > arrange="true"
system          > autogenerate="true"
system          > autopdf="true"
system          > currentrun="4"
system          > final="true"
system          > fulljobname="./simpletest.tex"
system          > input="./simpletest.tex"
system          > kindofrun="3"
system          > maxnofruns="9"
system          > nonstopmode="true"
system          > synctex="0"
system          > texmfbinpath="/Users/janneman/context-osx-64/tex/texmf-osx-64/bin"

system          > stop commandline options


system          > start commandline files

system          >    1: ./simpletest.tex

system          > stop commandline files


modules         > start used modules


modules         > stop used modules


mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: /Users/janneman/context-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.006 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 15 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 472 modules (0.329 sec), 93 tables (0.016 sec), 565 chunks (0.345 sec)
mkiv lua stats  > traced context: maxstack: 1458, freed: 0, unreachable: 1458
mkiv lua stats  > cleaned up reserved nodes: 58 nodes, 9 lists of 442
mkiv lua stats  > node memory usage: 6 attribute, 3 attribute_list, 1 glue, 51 glue_spec, 8 glyph, 3 kern, 2 penalty, 2 temp, 2 whatsit
mkiv lua stats  > node list callback tasks: 8 unique task lists, 7 instances (re)created, 46 calls
mkiv lua stats  > synctex tracing: 3 referenced files, 5 files ignored, 27 objects flushed, logfile: simpletest.synctex
mkiv lua stats  > used backend: lmtx version 0.10, pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: internal: 130, file: 469, direct: 2, late: 25, function 1868, total: 2494
mkiv lua stats  > randomizer: resumed with value 0.3426092952238
mkiv lua stats  > result saved in file: simpletest.pdf, compresslevel 3, objectcompresslevel 1
mkiv lua stats  > loaded patterns: en::1 sv::5, load time: 0.000
mkiv lua stats  > loaded fonts: 2 files: texgyrepagella-math.otf, texgyrepagella-regular.otf
mkiv lua stats  > font engine: otf 3.111, afm 1.513, tfm 1.000, 7 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.223 seconds 
mkiv lua stats  > font embedding time: 0.015 seconds, 1 fonts
mkiv lua stats  > used platform: osx-64, type: unix, binary subtree: texmf-osx-64
mkiv lua stats  > used engine: luametatex version: 2.061, functionality level: 20200623, format id: 504, compiler: gcc
mkiv lua stats  > used hash slots: 46166 of 131072 + 100000
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 47 MB, ctx: 46 MB, max: 47 MB, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.703 seconds, 1 processed pages, 1 shipped pages, 1.422 pages/second


So the conclusion is an unknown path problem but the problem seems to show up when issuing the example code on wikipage about labels.






> 26 juni 2020 kl. 09:56 skrev Taco Hoekwater <taco@elvenkind.com>:
> 
> 
> 
>> On 25 Jun 2020, at 17:54, Jan-Erik Hägglöf <janerik.hagglof@bahnhof.se> wrote:
>> 
>> It is difficult to see the differences in this case, but I supply both logfiles
>> <test-by-shell-context.log>
>> <test-inside-with-mtxrun.log>
> 
> The two PATHs are not the same, so it is possible that one of the two 
> uses a different mtxrun, context and/or luatex that is elsewhere in the PATH:
> 
> test-by-shell-context.log:ENV             > PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/janneman/context-osx-64/bin:/Users/janneman/context-osx-64/tex/texmf-osx-64/bin:/Users/janneman/scripts
> test-inside-with-mtxrun.log:ENV             > PATH=/Users/janneman/context-osx-64/tex/texmf-osx-64/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/janneman/context-osx-64/bin:/Users/janneman/context-osx-64/tex/texmf-osx-64/bin:/Users/janneman/scripts
> 
> but other than that, nothing stands out to me in that log. 
> 
> An interesting experiment would be to run the macvim-generated commandline (for the file with the error) in Terminal, and then that same commandline but with the PATH set as in macvim.
> 
> 
>> Now I also upgraded lmtx to latest version.
> 
> But still having problems?
> 
> Best wishes,
> Taco
> 
> 
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________



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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: error running wiki example with labels
  2020-06-26 14:30         ` Jan-Erik Hägglöf
@ 2020-06-26 15:53           ` Hans Hagen
  0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2020-06-26 15:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Jan-Erik Hägglöf

On 6/26/2020 4:30 PM, Jan-Erik Hägglöf wrote:

> function call [844]: ...-64/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:435: attempt to index a nil value (upvalue 'filehandle')
i'll add a catch there but the issue is likely that you enable synctex 
while at the same time enable page imposition which reshuffles pages in 
ways that can interfere

you can try to add

\setupsynctex[state=stop]

at the top of that file

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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2020-06-26 15:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-24 19:05 error running wiki example with labels Jan-Erik Hägglöf
2020-06-24 19:24 ` Aditya Mahajan
2020-06-24 19:33   ` Jan-Erik Hägglöf
2020-06-24 19:33 ` Wolfgang Schuster
2020-06-24 21:13 ` Jan-Erik Hägglöf
2020-06-25  7:38   ` Taco Hoekwater
2020-06-25 15:54     ` Jan-Erik Hägglöf
2020-06-26  7:56       ` Taco Hoekwater
2020-06-26 14:30         ` Jan-Erik Hägglöf
2020-06-26 15:53           ` Hans Hagen

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