From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11518 Path: main.gmane.org!not-for-mail From: Matthew Huggett Newsgroups: gmane.comp.tex.context Subject: reusing metapost graphics Date: Thu, 20 Mar 2003 15:26:29 +0900 Sender: ntg-context-admin@ntg.nl Message-ID: <3E795F15.1090702@zam.att.ne.jp> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1048141732 13502 80.91.224.249 (20 Mar 2003 06:28:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2003 06:28:52 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Thu Mar 20 07:28:51 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18vtXn-0003Vc-00 for ; Thu, 20 Mar 2003 07:28:51 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 3AED210B66; Thu, 20 Mar 2003 07:28:53 +0100 (MET) Original-Received: from smtp1.att.ne.jp (smtp1.att.ne.jp [165.76.15.137]) by ref.ntg.nl (Postfix) with ESMTP id 57DF410B15 for ; Thu, 20 Mar 2003 07:26:52 +0100 (MET) Original-Received: from zam.att.ne.jp (unknown [218.231.154.51]) by smtp1.att.ne.jp (Postfix) with ESMTP id DADEB1534F for ; Thu, 20 Mar 2003 15:26:51 +0900 (JST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 X-Accept-Language: en-us, en Original-To: ntg-context@ntg.nl Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11518 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11518 Hi: I'm designing a year's worth of English lessons for some Japanese kids, and I'm using Metapost and ConTeXt to generate flashcards for vocabulary training. I have a few questions: (1) I want to keep my Metapost figures defined in a ConTeXt environment file so that I can recall them as I need in future lessons. Is there anything wrong with this approach? (2) How do I make a Metapost figure defined in a ConTeXt file reusable? Do I need to wrap the definition of the figure in a macro so that the figure is recreated everytime I need it? (3) With \useMPgraphic, is there any mechanism to scale the image as with \useexternalfigure? If this is all in the documentation, I apologize. (I would appreciate a pointer to the documentation though :-) )