From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48227 Path: news.gmane.org!not-for-mail From: Curious Learn Newsgroups: gmane.comp.tex.context Subject: Command "show" in Metapost/Metafun Date: Thu, 12 Mar 2009 00:53:44 +0000 (UTC) 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 1236819291 5457 80.91.229.12 (12 Mar 2009 00:54:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Mar 2009 00:54:51 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 12 01:56:07 2009 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 1LhZDT-00075b-FY for gctc-ntg-context-518@m.gmane.org; Thu, 12 Mar 2009 01:56:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0B6E21FBD4; Thu, 12 Mar 2009 01:54:42 +0100 (CET) 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 19926-08; Thu, 12 Mar 2009 01:54:12 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5B9171FBC9; Thu, 12 Mar 2009 01:54:12 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4DF611FBC9 for ; Thu, 12 Mar 2009 01:54:10 +0100 (CET) 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 05143-01 for ; Thu, 12 Mar 2009 01:54:02 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by ronja.ntg.nl (Postfix) with ESMTP id E98CD1FBC6 for ; Thu, 12 Mar 2009 01:54:00 +0100 (CET) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by filter3-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2C0rwYf001178 for ; Thu, 12 Mar 2009 01:54:00 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LhZBL-000573-Vk for ntg-context@ntg.nl; Thu, 12 Mar 2009 00:53:56 +0000 Original-Received: from cpe-67-242-208-254.rochester.res.rr.com ([67.242.208.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Mar 2009 00:53:55 +0000 Original-Received: from curiouslearn by cpe-67-242-208-254.rochester.res.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Mar 2009 00:53:55 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 67.242.208.254 (Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.7) Gecko/2009021906 Firefox/3.0.7) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.2; country=NO; region=12; city=Oslo; latitude=59.9167; longitude=10.7500; http://maps.google.com/maps?q=59.9167,10.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 192219545 - 7d5b79878af4 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:48227 Archived-At: Hi, I am trying to learn Metapost using Context. I tried a few examples for drawing things and they worked well. But the "show" command does not seem to work. For example, the code \startuseMPgraphic{GridDots} u=1cm; pickup pencircle scaled 8pt for i = 0 upto 2: for j = 0 upto 2: draw (i*u,j*u); endfor endfor \stopuseMPgraphic \useMPgraphic{GridDots} from John Hobby's manual works great. However, the following code gives no output in the PDF file. Am I doing something wrong? \startuseMPgraphic{LinearEq} a+b = 2a - b = 3; show a,b; \stopuseMPgraphic \useMPgraphic{LinearEq} I am using the following version from Texlive ConTeXt ver: 2008.05.21 15:21 MKII fmt: 2008.10.1 int: english/english Thanks for your help. ___________________________________________________________________________________ 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 ___________________________________________________________________________________