From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45249 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Minimals - problems with format: metafun.mp Date: Mon, 03 Nov 2008 10:30:45 +0100 Message-ID: <490EC4C5.10205@wxs.nl> References: <490E0E91.1010208@gmx.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225704772 21551 80.91.229.12 (3 Nov 2008 09:32:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2008 09:32:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 03 10:33:53 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Kwvom-0002wq-NB for gctc-ntg-context-518@m.gmane.org; Mon, 03 Nov 2008 10:33:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CE8FC1FC90; Mon, 3 Nov 2008 10:32:43 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12434-02-2; Mon, 3 Nov 2008 10:31:32 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 081781FC2F; Mon, 3 Nov 2008 10:31:32 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B7FD61FC2F for ; Mon, 3 Nov 2008 10:31:30 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13945-04-2 for ; Mon, 3 Nov 2008 10:30:55 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with ESMTP id 514251FC00 for ; Mon, 3 Nov 2008 10:30:55 +0100 (CET) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 6484-1840426 for ; Mon, 03 Nov 2008 10:30:55 +0100 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) In-Reply-To: <490E0E91.1010208@gmx.net> X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:45249 Archived-At: 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' >>
:1: in main chunk. >> \processMPgraphic ... \MPuserinclusions ;\!!es ) } >> \global \settrue \METAFUNi... >> \getMPdrawing ...ic \expandafter {\MPdrawingdata } >> \fi >> \dopositionaction ...fMPdrawingdone \getMPdrawing >> \fi \resetMPdrawing \popMP... >> ...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}} 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 ___________________________________________________________________________________