From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52119 Path: news.gmane.org!not-for-mail From: "Matthew Claus" Newsgroups: gmane.comp.tex.context Subject: metaobj and luatex 0.42.0 Date: Thu, 6 Aug 2009 14:58:23 -0400 (EDT) Message-ID: <1249585103.867128157@192.168.1.201> 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 1249585131 4496 80.91.229.12 (6 Aug 2009 18:58:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2009 18:58:51 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 06 20:58:44 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1MZ8Aj-0003Ss-Cn for gctc-ntg-context-518@m.gmane.org; Thu, 06 Aug 2009 20:58:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 29419C9B88; Thu, 6 Aug 2009 20:58:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id RzSS2JZxrXgr; Thu, 6 Aug 2009 20:58:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 89099C9B41; Thu, 6 Aug 2009 20:58:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CA22AC9B49 for ; Thu, 6 Aug 2009 20:58:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id EzfUqxDBFsq8 for ; Thu, 6 Aug 2009 20:58:25 +0200 (CEST) Original-Received: from smtp168.iad.emailsrvr.com (smtp168.iad.emailsrvr.com [207.97.245.168]) by balder.ntg.nl (Postfix) with ESMTP id B4DDDC9B41 for ; Thu, 6 Aug 2009 20:58:25 +0200 (CEST) Original-Received: from relay16.relay.iad.mlsrvr.com (localhost [127.0.0.1]) by relay16.relay.iad.mlsrvr.com (SMTP Server) with ESMTP id 4124D1B4037 for ; Thu, 6 Aug 2009 14:58:24 -0400 (EDT) Original-Received: from dynamic6.wm-web.iad.mlsrvr.com (dynamic6.wm-web.iad.mlsrvr.com [192.168.2.147]) by relay16.relay.iad.mlsrvr.com (SMTP Server) with ESMTP id 15F481B4044 for ; Thu, 6 Aug 2009 14:58:23 -0400 (EDT) Original-Received: from mclaus.com (localhost [127.0.0.1]) by dynamic6.wm-web.iad.mlsrvr.com (Postfix) with ESMTP id D44693F0050 for ; Thu, 6 Aug 2009 14:58:23 -0400 (EDT) Original-Received: by apps.rackspace.com (Authenticated sender: matt@mclaus.com, from: matt@mclaus.com) with HTTP; Thu, 6 Aug 2009 14:58:23 -0400 (EDT) Importance: Normal X-Priority: 3 (Normal) X-Type: plain X-Mailer: webmail7.0 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:52119 Archived-At: Hello everyone, First, thanks for making this list such a great resource. I've installed a fresh minimals on windows using first-setup.bat. This seems to have installed luatex 0.40.6 which led to errors making the formats (message indicated at least 0.42 was needed). I think the presence of the older luatex version for windows was recently noted on another thread. So, I installed 0.42.0 and remade the formats. This minimal example works with "texexec example.tex" but fails with "context example.tex". \startMPinclusions input metaobj; \stopMPinclusions \starttext \startMPpage newBox.a(\sometxt{hello world}); a.c = origin; drawObj(a); \stopMPpage \stoptext Is this expected to work (I realize the 0.42.0 is very new) Am I doing something wrong? Thanks very much for any assistance, Matt C:\wk\tex>context example.tex MTXrun | run 1: luatex --fmt="C:/wk/cm/context/tex/texmf-cache/luatex-cache/cont ext/e8705fc03b81c76af2e2d42634ded96b/formats/cont-en" --lua="C:/wk/cm/context/te x/texmf-cache/luatex-cache/context/e8705fc03b81c76af2e2d42634ded96b/formats/cont -en.lui" --backend=pdf "./example.tex" This is LuaTeX, Version beta-0.42.0-2009071712 \write18 enabled. (example.tex ConTeXt ver: 2009.07.23 20:11 MKIV fmt: 2009.8.6 int: english/english system : cont-new loaded (C:/wk/cm/context/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (C:/wk/cm/context/tex/texmf-context/tex/context/base/cont-new.mkiv)) system : cont-fil loaded (C:/wk/cm/context/tex/texmf-context/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (C:/wk/cm/context/tex/texmf-context/tex/context/user/cont-sys.rme (C:/wk/cm/cont ext/tex/texmf-context/tex/context/base/type-tmf.tex (C:/wk/cm/context/tex/texmf- context/tex/context/base/type-tmf.mkiv)) (C:/wk/cm/context/tex/texmf-context/tex /context/base/type-siz.tex (C:/wk/cm/context/tex/texmf-context/tex/context/base/ type-siz.mkiv)) (C:/wk/cm/context/tex/texmf-context/tex/context/base/type-otf.te x (C:/wk/cm/context/tex/texmf-context/tex/context/base/type-otf.mkiv))) system : example.top loaded (example.top) fonts : preloading latin modern fonts bodyfont : 12pt rm is loaded language : language en is active systems : begin file example at line 5 mplib : initializing instance 'metafun' using format 'metafun' mplib : loading 'metafun.mp' from 'C:/wk/cm/context/tex/texmf-cache/lu atex-cache/context/e8705fc03b81c76af2e2d42634ded96b/formats/cont-en-metafun.mem' mplib | mp terminal: (C:/wk/cm/context/tex/texmf/metapost/metaobj/metaobj.mp) ! Inconsistent equation (off by 1). ; assignObj->(SUFFIX0)=incr(nObj_); iname_[(SUFFIX0)]=str(SUFFIX0);addclass_((S... newBox->...2))((TEXT4));assignObj((SUFFIX2),"Box") ;StandardInterface;Standar... ; <*> ...j.mp; newBox.a(textext.drt("hello world")); a.c = origin; drawObj(a); ; ! Redundant equation. ; assignObj->...bj_);iname_[(SUFFIX0)]=str(SUFFIX0); addclass_((SUFFIX0),(EXPR1... ... ___________________________________________________________________________________ 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 ___________________________________________________________________________________