From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44460 Path: news.gmane.org!not-for-mail From: Olivier Newsgroups: gmane.comp.tex.context Subject: Re: mplib errors Date: Tue, 30 Sep 2008 17:45:28 +0200 Message-ID: <20080930154528.GA15978@blackowl.org> References: <20080929155515.GA14040@blackowl.org> <5F77D372-1F9A-46D1-BE25-41B05004D9BB@uva.nl> <48E13631.9010802@elvenkind.com> <20080929204600.GA14623@blackowl.org> <48E14827.7030103@elvenkind.com> <20080930094024.GB15220@blackowl.org> <48E1F856.8030501@elvenkind.com> 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 1222789482 1914 80.91.229.12 (30 Sep 2008 15:44:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Sep 2008 15:44:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 30 17:45:40 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 1KkhPg-0006g2-7T for gctc-ntg-context-518@m.gmane.org; Tue, 30 Sep 2008 17:45:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9E9F01FC72; Tue, 30 Sep 2008 17:44:15 +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 21293-06-3; Tue, 30 Sep 2008 17:43:24 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A5E041FB29; Tue, 30 Sep 2008 17:43:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4C1821FB29 for ; Tue, 30 Sep 2008 17:43:18 +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 20179-04-3 for ; Tue, 30 Sep 2008 17:42:41 +0200 (CEST) Original-Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by ronja.ntg.nl (Postfix) with ESMTP id 3CF781FADC for ; Tue, 30 Sep 2008 17:42:41 +0200 (CEST) Original-Received: from smtp2-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp2-g19.free.fr (Postfix) with ESMTP id BF64012B7A1 for ; Tue, 30 Sep 2008 17:42:40 +0200 (CEST) Original-Received: from moramora (mic92-7-82-228-122-214.fbx.proxad.net [82.228.122.214]) by smtp2-g19.free.fr (Postfix) with ESMTP id EB6EE12B7C5 for ; Tue, 30 Sep 2008 17:42:39 +0200 (CEST) Original-Received: from vony by moramora with local (Exim 4.69) (envelope-from ) id 1KkhPk-0004A9-EI for ntg-context@ntg.nl; Tue, 30 Sep 2008 17:45:28 +0200 Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <48E1F856.8030501@elvenkind.com> X-Operating-System: "Debian GNU/Linux" User-Agent: Mutt/1.5.18 (2008-05-17) 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:44460 Archived-At: Taco, > > So, I guess it would make sense to test the compiler directly: > > what is the most basic way to trigger mplib from a plain tex file > > directly run through LuaTeX (i.e. the equivalent of the startMPgraphic > > if any? (And this might provide some more information on what's going on.) > Just look at mlib-run.lua from the context distribution, it should > be clear enough. Thanks for the pointer. I played a bit with pdfluatex directly which seems to work. (I'm not to the point of producing figures, because I would have to rebuild all the functions that are located in mlib-run.lua and the luatexref-t.tex does not give straightforward example of how the mplib module should be used, it only describes the functions API. Btw: could you add in the doc a simple example of how to set up an mplib instance (loading the format file) and typesetting a minimal graphic, and then use it from within plain TeX for instance; this is transparent to conTeXt users since there are files like mlib-run.lua but not easy for plain TeX users :P And I'm not advocating the use of plain TeX, I'm a converted conTeXt user since 2003, but this will help user understand (a bit) how things work behind the scene.) Thanks for your (and all the posters') interest, Olivier ___________________________________________________________________________________ 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 ___________________________________________________________________________________