From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40242 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: mplib Date: Tue, 15 Apr 2008 13:07:51 +0200 Message-ID: <48048C87.3060907@elvenkind.com> References: <4804014D.22013.2B10B16@wwl.musensturm.de> 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 1208257832 11956 80.91.229.12 (15 Apr 2008 11:10:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2008 11:10:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 15 13:10:56 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 1Jlj2u-0005cO-Nc for gctc-ntg-context-518@m.gmane.org; Tue, 15 Apr 2008 13:09:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 223361FD26; Tue, 15 Apr 2008 13:09:12 +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 19252-01-3; Tue, 15 Apr 2008 13:08:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C4A031FC6B; Tue, 15 Apr 2008 13:08:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4A86E1FC78 for ; Tue, 15 Apr 2008 13:08:27 +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 19252-01-2 for ; Tue, 15 Apr 2008 13:07:52 +0200 (CEST) Original-Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by ronja.ntg.nl (Postfix) with ESMTP id F3B771FC6B for ; Tue, 15 Apr 2008 13:07:51 +0200 (CEST) Original-Received: from [10.10.0.6] (boo.demon.nl [82.161.175.147]) (authenticated bits=0) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id m3FB7pxk071791 for ; Tue, 15 Apr 2008 13:07:51 +0200 (CEST) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 1.5.0.10 (X11/20070305) In-Reply-To: <4804014D.22013.2B10B16@wwl.musensturm.de> X-Virus-Scanned: by XS4ALL Virus Scanner 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:40242 Archived-At: Wolfgang Werners-Lucchini wrote: >> if mp then >> res = mp:execute('plain') >> mp:finish() >> end > > this first step runs with res=0, but there is no 'plain.mem' dumped. For the other readers: res itself can't really be "zero". It is either a table, or nil. The actual return value is the status field in the table, and that can vary from 0 (good run) to 3 (extremely bad run), and you can end up with "nil" if you have invalid arguments. > (I have temporary appended 'dump;' to plain.mp) After the above, you should have plain.mem in the local directory. You can try printing res.term or res.log or even print(table.serialize(res)) to check if what mp is doing. > after that I produced 'plain.mem' executing > 'texmfstart texexec --make plain' I assume that will create a tex plain.fmt file. But even if it does create a .mem file, you will not succeed unless you are using "newmpost" from the mplib-alpha-0.40 distribution and the values you sset up for hash_size, main_memory, and param_size in the loading stage are identical to the values used by newmpost from texmf.cnf during mem generation. Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________