From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48973 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: MetaPost graph mkiv error Date: Wed, 1 Apr 2009 16:41:17 +0200 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <200904011641.17672.alan.braslau@cea.fr> References: <20090325152851.GA18337@khaled-laptop> <49CC0254.8050401@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_N030JZ3zLelq/Tc" X-Trace: ger.gmane.org 1238596944 5860 80.91.229.12 (1 Apr 2009 14:42:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Apr 2009 14:42:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 01 16:43:42 2009 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 1Lp1fJ-0001SQ-Qd for gctc-ntg-context-518@m.gmane.org; Wed, 01 Apr 2009 16:43:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B5AA71FB29; Wed, 1 Apr 2009 16:42:14 +0200 (CEST) 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 25031-05-3; Wed, 1 Apr 2009 16:41:41 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 89A8F1FADF; Wed, 1 Apr 2009 16:41:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AA2911FB1D for ; Wed, 1 Apr 2009 16:41:33 +0200 (CEST) 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 25031-05-2 for ; Wed, 1 Apr 2009 16:41:23 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by ronja.ntg.nl (Postfix) with ESMTP id 9C2AD1FADB for ; Wed, 1 Apr 2009 16:41:21 +0200 (CEST) Original-Received: from oxalide-out.extra.cea.fr (oxalide-out.extra.cea.fr [132.168.224.1]) by filter1-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n31EfJwE017197 for ; Wed, 1 Apr 2009 16:41:20 +0200 Original-Received: from epeire2.extra.cea.fr (epeire2.extra.cea.fr [132.167.198.32]) by oxalide.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.0) with ESMTP id n31EdOVN003023 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 1 Apr 2009 16:39:24 +0200 Original-Received: from orpin1.extra.cea.fr (orpin1.extra.cea.fr [132.167.198.4]) by epeire2.extra.cea.fr (8.14.2/8.14.2) with ESMTP id n31EfJGK019166 for ; Wed, 1 Apr 2009 16:41:19 +0200 (envelope-from alan.braslau@cea.fr) Original-Received: from iram-hb-003386.localnet (iram-hb-003386.extra.cea.fr [132.166.20.134]) by orpin1.extra.cea.fr (8.13.8/8.13.8/CEAnet-Extranet-out-1.1) with ESMTP id n31EfJ4u025100 for ; Wed, 1 Apr 2009 16:41:19 +0200 User-Agent: KMail/1.11.1 (Linux/2.6.29; KDE/4.2.1; i686; ; ) In-Reply-To: <49CC0254.8050401@wxs.nl> X-Bayes-Prob: 0.0003 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=132.168.224.1; country=FR; region=A3; city=Gif-sur-yvette; latitude=48.6833; longitude=2.1333; http://maps.google.com/maps?q=48.6833,2.1333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 202405457 - b62106b399d7 - 20090401 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:48973 Archived-At: --Boundary-00=_N030JZ3zLelq/Tc Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline MP "graph" works with latest minimals beta in mkii, broken in mkiv. Minimal example: \startuseMPgraphic{test} input graph draw begingraph(3in,2in); gdraw "agepopm.d"; endgraph; \stopuseMPgraphic \starttext \useMPgraphic{test} \stoptext (Of course, you know where to find agepopm.d) Alan --Boundary-00=_N030JZ3zLelq/Tc Content-Type: text/x-log; charset="UTF-8"; name="test.log" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="test.log" This is LuaTeX, Version snapshot-0.37.0 (test.tex ConTeXt ver: 2009.03.30 18:28 MKIV fmt: 2009.4.1 int: english/english system : cont-new loaded (/usr/local/context/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/local/context/tex/texmf-context/tex/context/base/cont-new.mkiv) (/usr/local/context/tex/texmf-context/tex/context/base/cont-mtx.tex)) system : cont-fil loaded (/usr/local/context/tex/texmf-context/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (/usr/local/context/tex/texmf-context/tex/context/user/cont-sys.rme (/usr/local/context/tex/texmf-context/tex/context/base/type-tmf.tex) (/usr/local/context/tex/texmf-context/tex/context/base/type-siz.tex (/usr/local/context/tex/texmf-context/tex/context/base/type-siz.mkiv)) (/usr/local/context/tex/texmf-context/tex/context/base/type-otf.tex (/usr/local/context/tex/texmf-context/tex/context/base/type-otf.mkiv))) system : test.top loaded % % begin of optionfile % % % runtime options files (command line driven) % \unprotect % % special commands, mostly for the ctx development team % % feedback and basic job control % % handy for special styles % \startluacode % document.arguments={ % } % document.files={ % "test", % } % \stopluacode % % process info % \setupsystem[\c!n=1,\c!m=1] % \setupsystem[\c!type=unix] % % modes % % options (not that important) % \startsetups *runtime:options % \setupoutput[pdftex] % \stopsetups % % styles and modules % \startsetups *runtime:modules % \stopsetups % % done % \protect \endinput % % end of optionfile % (test.top) fonts : preloading latin modern fonts bodyfont : 12pt rm is loaded specials : pdftex loaded language : language en is active (test.tuo) (test.tuo) systems : begin file test at line 8 mplib : loading format: metafun.mp, name: /usr/local/context/tex/texmf-cache/luatex-cache/context/f70b0d481875d119766efabfbdb61af7/formats/cont-en-metafun.mem ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-def.lua:114: bad argument #1 to 'match' (string expected, got nil) stack traceback: [C]: in function 'match' ...text/tex/texmf-context/tex/context/base/font-def.lua:114: in function 'get_specification' ...text/tex/texmf-context/tex/context/base/font-def.lua:726: in function 'command_1'
:1: in main chunk. \lowleveldefinefont ...1("\luaescapestring {#1}")} \ifcase \scaledfontmode \r... \dododefinefont ...inefont {#2}\rawfontidentifier \let \localrelativefontsiz... \dodefinedfont ...csname thedefinedfont\endcsname \the \everydefinedfont l.6 \MPLIBsettext{421}{\definedfont[] 1} \processMPgraphic ...e \MPuserinclusions ;\!!es )} \global \settrue \METAFUNi... \handleuseMPgraphic ...hics \processMPgraphic {#3} \elabelgroup ... l.9 \useMPgraphic{test} ? ! Missing number, treated as zero. \edef \lowleveldefinefont ... \scaledfontsize \fi \edef \somefontspec {at \number ... \dododefinefont ...inefont {#2}\rawfontidentifier \let \localrelativefontsiz... \dodefinedfont ...csname thedefinedfont\endcsname \the \everydefinedfont l.6 \MPLIBsettext{421}{\definedfont[] 1} \processMPgraphic ...e \MPuserinclusions ;\!!es )} \global \settrue \METAFUNi... ... l.9 \useMPgraphic{test} ? ! Illegal unit of measure (pt inserted). \edef \lowleveldefinefont ... \scaledfontsize \fi \edef \somefontspec {at \number ... \dododefinefont ...inefont {#2}\rawfontidentifier \let \localrelativefontsiz... \dodefinedfont ...csname thedefinedfont\endcsname \the \everydefinedfont l.6 \MPLIBsettext{421}{\definedfont[] 1} \processMPgraphic ...e \MPuserinclusions ;\!!es )} \global \settrue \METAFUNi... ... l.9 \useMPgraphic{test} ? X mkiv lua stats : used config path - /usr/local/context/tex/texmf/web2c/texmf.cnf mkiv lua stats : used cache path - /usr/local/context/tex/texmf-cache mkiv lua stats : modules/dumps/instances - 129/32/1 mkiv lua stats : input load time - 0.024 seconds mkiv lua stats : kernel processing time - 0.000 seconds mkiv lua stats : node memory usage - 14 hlist, 5 vlist, 3 rule, 1 disc, 10 math, 1 glue, 1 kern, 1 penalty, 9 glyph, 112 attribute, 24 glue_spec, 30 attribute_list, 2 temp, 15 dir, 9 pdf_literal mkiv lua stats : cleaned up reserved nodes - 16 nodes, 13 lists of 476 mkiv lua stats : node processing time - 0.000 seconds including kernel mkiv lua stats : attribute processing time - 0.000 seconds mkiv lua stats : loaded patterns - us:us:pat:exc:2 mkiv lua stats : language load time - 0.018 seconds, n=2 mkiv lua stats : startup time - 0.485 seconds (including runtime option file processing) mkiv lua stats : jobdata time - 0.000 seconds saving, 0.000 seconds loading mkiv lua stats : callbacks - direct: 106, indirect: 4808, total: 4914 mkiv lua stats : loaded fonts - 31 files: eufb10:tfm eufb7:tfm eufb9:tfm eufm10:tfm eufm7:tfm eufm9:tfm lmex10:tfm lmmi12:tfm lmmi7:tfm lmmi9:tfm lmmib10:tfm lmmib7:tfm lmmono12-regular:otf lmmono8-regular:otf lmmono9-regular:otf lmroman12-bold:otf lmroman12-regular:otf lmroman7-bold:otf lmroman7-regular:otf lmroman9-bold:otf lmroman9-regular:otf lmsans12-regular:otf lmsans8-regular:otf lmsans9-regular:otf lmsy10:tfm lmsy7:tfm lmsy9:tfm msam10:tfm msam7:tfm msbm10:tfm msbm7:tfm mkiv lua stats : fonts load time - 0.272 seconds mkiv lua stats : metapost processing time - 0.022 seconds, loading: 0.015 seconds, execution: 0.022 seconds, n: 0 mkiv lua stats : mps conversion time - 0.000 seconds mkiv lua stats : math processing time - 0.000 seconds mkiv lua stats : graphics processing time - 0.000 seconds including tex, n=0 mkiv lua stats : xml load time - 0.000 seconds, lpath calls: 0, cached calls: 0 mkiv lua stats : lxml load time - 0.000 seconds preparation, backreferences: 0 mkiv lua stats : result saved in file - test.pdf mkiv lua stats : luatex banner - this is luatex, version snapshot-0.37.0 mkiv lua stats : control sequences - 32589 of 165536 mkiv lua stats : current memory usage - 27 MB (ctx: 28 MB) mkiv lua stats : runtime - 32.025 seconds --Boundary-00=_N030JZ3zLelq/Tc Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --Boundary-00=_N030JZ3zLelq/Tc--