From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41176 Path: news.gmane.org!not-for-mail From: Stephan Hennig Newsgroups: gmane.comp.tex.context Subject: luaTeX and on-the-fly MetaPost compilation Date: Fri, 23 May 2008 23:28:17 +0200 Message-ID: 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 1211578366 28066 80.91.229.12 (23 May 2008 21:32:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 May 2008 21:32:46 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri May 23 23:33:21 2008 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 1Jzerh-00016x-D7 for gctc-ntg-context-518@m.gmane.org; Fri, 23 May 2008 23:31:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 88F1A1FBD0; Fri, 23 May 2008 23:31:05 +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 14808-02-8; Fri, 23 May 2008 23:30:16 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8E9C91FB98; Fri, 23 May 2008 23:30:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 35DC31FB98 for ; Fri, 23 May 2008 23:30: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 14808-02-7 for ; Fri, 23 May 2008 23:29:40 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with ESMTP id 9B91E1FB89 for ; Fri, 23 May 2008 23:29:40 +0200 (CEST) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JzepZ-0008O1-1a for ntg-context@ntg.nl; Fri, 23 May 2008 21:29:41 +0000 Original-Received: from dialin-212-144-219-198.pools.arcor-ip.net ([212.144.219.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 May 2008 21:29:40 +0000 Original-Received: from mailing_list by dialin-212-144-219-198.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 May 2008 21:29:40 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dialin-212-144-219-198.pools.arcor-ip.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 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:41176 Archived-At: Hi, I didn't have the opportunity to touch luaTeX yet, but let me ask one question in advance: Since luaTeX has a built-in MetaPost interpreter, is it possible to refer to a certain figure in a MetaPost source file for inclusion, instead of a compiled figure? As an example, I would like to say in a TeX document (syntax may differ) \includeMetaPost{foo.2} and this should not refer to the pre-compiled file foo.2 but to section figure(2); ... endfig; in file foo.mp and compile it on-the-fly. Would that be possible? Rationale: I do not want to mix TeX and MetaPost code. Probably, I'll stick with compiling .mp files prior to the TeX run anyway, but I'm curious about this option. Best regards, Stephan Hennig ___________________________________________________________________________________ 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 ___________________________________________________________________________________