From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22826 Path: news.gmane.org!not-for-mail From: Alexander Lazic Newsgroups: gmane.comp.tex.context Subject: Re: Q: about \externalfile from metafun-p.pdf Date: Mon, 3 Oct 2005 10:03:58 +0200 Message-ID: <20051003080358.GA3782@none.at> References: <20051002172755.GA17649@none.at> <43401ECE.2030309@creutzig.de> <20051002185852.GB19384@none.at> <434044D5.8090109@creutzig.de> Reply-To: mailing list for ConTeXt users 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: sea.gmane.org 1128326730 13288 80.91.229.2 (3 Oct 2005 08:05:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Oct 2005 08:05:30 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 03 10:05:27 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EMLIr-0005sN-SG for gctc-ntg-context-518@m.gmane.org; Mon, 03 Oct 2005 10:04:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 724E3127CF; Mon, 3 Oct 2005 10:04: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 16728-07-3; Mon, 3 Oct 2005 10:04:02 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0271D127BC; Mon, 3 Oct 2005 10:04:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B288A127BC for ; Mon, 3 Oct 2005 10:03:59 +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 16728-07-2 for ; Mon, 3 Oct 2005 10:03:58 +0200 (CEST) Original-Received: from magrathea.bursik.net (magrathea.bursik.net [85.232.70.2]) by ronja.ntg.nl (Postfix) with ESMTP id AEB9F127B8 for ; Mon, 3 Oct 2005 10:03:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) (uid 1001) by magrathea.bursik.net with local; Mon, 03 Oct 2005 10:03:58 +0200 id 004506C0.4340E5EE.00000FE6 Original-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <434044D5.8090109@creutzig.de> User-Agent: Mutt/1.5.11 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22826 Archived-At: On Son 02.10.2005 22:36, Christopher Creutzig wrote: >Alexander Lazic wrote: > >> 2.) i have try >> >> \startreusableMPgraphic{sin} >> >> sin (1); >> \stopreusableMPgraphic{sin} > > This {sin} at the end is wrong; it's interpreted as text. This have i understand ;-) I called it sin, sorry for confusion. > What you can do is something like > > drawdot(10*x, 10*sin(x)) withpen pencircle scaled 1pt; Thanx. Have i right understand, if i want to draw a sinuscurve i must use a for-loop? > I think it really helps with MP programming to understand this type of >loops. Well i think i must learn mp before context, if i want to draw some mathemathics functions ;-) Thanx again for help. greetings al ;-)