From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71194 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: \startstaticMPfigure Date: Mon, 19 Sep 2011 12:03:46 +0200 Message-ID: <4E771382.1020702@gmx.net> References: <39E3FDAF-DA31-4FBB-B344-15DF5ABD0222@uva.nl> 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: dough.gmane.org 1316426654 16387 80.91.229.12 (19 Sep 2011 10:04:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 19 Sep 2011 10:04:14 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 19 12:04:10 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R5ahq-0004j8-KA for gctc-ntg-context-518@m.gmane.org; Mon, 19 Sep 2011 12:04:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BB3DFCAFA9; Mon, 19 Sep 2011 12:04:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id adyiHRFtszVN; Mon, 19 Sep 2011 12:03:59 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8AC88CAFA3; Mon, 19 Sep 2011 12:03:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2108BCAFA3 for ; Mon, 19 Sep 2011 12:03:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id nm-H8wXrteBm for ; Mon, 19 Sep 2011 12:03:49 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id BDF64CAFA2 for ; Mon, 19 Sep 2011 12:03:49 +0200 (CEST) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id p8JA3m28022781 for ; Mon, 19 Sep 2011 12:03:49 +0200 Original-Received: (qmail invoked by alias); 19 Sep 2011 10:03:48 -0000 Original-Received: from ip-95-222-36-122.unitymediagroup.de (EHLO [192.168.178.3]) [95.222.36.122] by mail.gmx.net (mp011) with SMTP; 19 Sep 2011 12:03:48 +0200 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX1/94tdLM+T9Gq8oEKbS3ccafnF6ZsiK95rb/+HoQi Q+HW43aDV3cYp0 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 In-Reply-To: <39E3FDAF-DA31-4FBB-B344-15DF5ABD0222@uva.nl> X-Enigmail-Version: 1.3.1 X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.23; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05Fyy3MET - a38a5656ffcf - 20110919 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:71194 Archived-At: Am 19.09.2011 11:17, schrieb Meer, H. van der: >>>From the Wiki I learn about \startstaticMPfigure that it "creates a separate pdf file containing the graphic". But when I exercise the example given I do not see those staticMPfigure's in sepaarte pdf's. What am I missing? I thought to use this for generating a series of separate pdf's, to be further processed as png/tiff files. > > \startstaticMPfigure{center} > draw fullcircle scaled 2cm ; > dotlabel.bot (textext("(0,0)"),origin); > \stopstaticMPfigure > \startstaticMPfigure{radius} > draw fullcircle scaled 2cm ; > drawarrow (0,0)--(1cm,0); > label.bot(textext("$r$"),(5mm,0)) ; > \stopstaticMPfigure > \starttext > Circle centered \usestaticMPfigure[center][width=1cm] at origin with radius \usestaticMPfigure[radius][width=1cm] $r=1\,\text{cm}$. > \stoptext > Use mkii and you will get the files. Probably no need for this kind of runtime optimization in mkiv. > By the way, is transparency still working as in the wiki example below, or has transparency vanished? > The transparency example works here (slightly outdated version from 05.09.2011). BTW: there are four new transparency modes (hue,saturation,color,luminosity). Best wishes, Peter > \startreusableMPgraphic{a} > fill unitsquare scaled 1cm withcolor yellow; > fill unitsquare shifted (0.5,0.5) scaled 1cm withcolor transparent (1,0.5,red); > \stopreusableMPgraphic > > > > \placefigure[force,none]{}{\reuseMPgraphic{a}} > > Thanks in advance > Hans van der Meer > > ___________________________________________________________________________________ > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________