[NTG-context] error running wiki example with labels
Jan-Erik Hägglöf
janerik.hagglof at bahnhof.se
Fri Jun 26 16:30:01 CEST 2020
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 at elvenkind.com>:
>
>
>
>> On 25 Jun 2020, at 17:54, Jan-Erik Hägglöf <janerik.hagglof at 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 at 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
> ___________________________________________________________________________________
More information about the ntg-context
mailing list