error running wiki example with labels
![](https://secure.gravatar.com/avatar/adc7ddc255c353e7dfd4f41372f72ff6.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/adc7ddc255c353e7dfd4f41372f72ff6.jpg?s=120&d=mm&r=g)
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
: 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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/adc7ddc255c353e7dfd4f41372f72ff6.jpg?s=120&d=mm&r=g)
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
: 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')
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Hi,
On 24 Jun 2020, at 23:13, Jan-Erik Hägglöf
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
: 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
![](https://secure.gravatar.com/avatar/adc7ddc255c353e7dfd4f41372f72ff6.jpg?s=120&d=mm&r=g)
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
: Hi,
On 24 Jun 2020, at 23:13, Jan-Erik Hägglöf
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
: 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/ ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
On 25 Jun 2020, at 17:54, Jan-Erik Hägglöf
wrote: It is difficult to see the differences in this case, but I supply both logfiles
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
![](https://secure.gravatar.com/avatar/adc7ddc255c353e7dfd4f41372f72ff6.jpg?s=120&d=mm&r=g)
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
: On 25 Jun 2020, at 17:54, Jan-Erik Hägglöf
wrote: It is difficult to see the differences in this case, but I supply both logfiles
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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
participants (5)
-
Aditya Mahajan
-
Hans Hagen
-
Jan-Erik Hägglöf
-
Taco Hoekwater
-
Wolfgang Schuster