Hans Hagen schrieb:
Peter Rolf wrote:
Johannes Graumann schrieb:
Hello,
In a bit to finally get Wolfgang's present to me (see XML thread somewhere) finally compiled, I update my minimals via the first-install.sh script and run "luatools --generat && context --make" afterwards. Now I get the error below. Where might I err?
Thanks, Joh
context --version MtxRun | main context file: /opt/ConTeXtMinimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.10.31 13:58
systems : randomizer starts with 1392096869 mplib : making format: metafun.mp, name: /opt/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/cf1ede6f9a7dea65673b0113ca44a3cc/formats/cont-en-metafun.mem mplib : problems with format: metafun.mp, name: /opt/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/cf1ede6f9a7dea65673b0113ca44a3cc/formats/cont-en-metafun.mem ! LuaTeX error ...mals/tex/texmf-context/tex/context/base/mlib-pps.lua:384: 'for' initial value must be a number stack traceback: ...mals/tex/texmf-context/tex/context/base/mlib-pps.lua:384: in function 'free_boxes' ...mals/tex/texmf-context/tex/context/base/mlib-pps.lua:768: in function 'graphic_base_pass' ...mals/tex/texmf-context/tex/context/base/mlib-ctx.lua:19: in function 'graphic' <main ctx instance>:1: in main chunk. \processMPgraphic ... \MPuserinclusions ;\!!es ) } \global \settrue \METAFUNi... \getMPdrawing ...ic \expandafter {\MPdrawingdata } \fi \dopositionaction ...fMPdrawingdone \getMPdrawing \fi \resetMPdrawing \popMP... <argument> ...n {\v!text -1::\MPanchoridentifier } \hss }\ht \scratchbox \ove... \firstoftwoarguments #1#2->#1
\positionoverlay ...hbox to \overlaywidth {\hss }} \vfill }\fi ... l.72 \stoptext
?
The loop variables metapost.first_box and metapost.last_box are not defined. You can try to remove the comment in line 376 of mlib-pps.lua.
[376] metapost.first_box, metapost.last_box = 1000, 1100
you can make that
metapost.first_box = metapost.first_box or 1000 metapost.last_box = metapost.last_box or 1100
but even then, these vars are set in
mlib-pps.tex 61: {\ctxlua{metapost.first_box, metapost.last_box = \number\MPLIBfirst, \number\MPLIBlast}}
missed that one (stupid me grep'ed only the lua files...) :)
so, it more looks like you have a faulty format file
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________