From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74193 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: =?iso-8859-7?q?What=A2s_your_favorite_command=3F?= Date: Mon, 30 Jan 2012 18:10:30 -0500 (EST) Message-ID: References: <8C8A3349-532E-4F2B-A6CF-0A928EB021B2@googlemail.com> <20120130200857.2ba803fc@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1132116776-1327965031=:10393" X-Trace: dough.gmane.org 1327965043 18730 80.91.229.3 (30 Jan 2012 23:10:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Jan 2012 23:10:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 31 00:10:42 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rs0Mz-0002q0-Q9 for gctc-ntg-context-518@m.gmane.org; Tue, 31 Jan 2012 00:10:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 969E0CB22F; Tue, 31 Jan 2012 00:10:41 +0100 (CET) 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 YVg3bJFbLK2K; Tue, 31 Jan 2012 00:10:41 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C8042CB23A; Tue, 31 Jan 2012 00:10:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 40D8ECB23A for ; Tue, 31 Jan 2012 00:10:38 +0100 (CET) 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 Hq1k9i90e1k9 for ; Tue, 31 Jan 2012 00:10:35 +0100 (CET) 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 D6C3ACB22F for ; Tue, 31 Jan 2012 00:10:35 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q0UNAXPK025206 for ; Tue, 31 Jan 2012 00:10:34 +0100 Original-Received: FROM [10.0.2.15] (wpa045216.Wireless.McGill.CA [142.157.45.216]) By hellskitchen.mr.itd.umich.edu ID 4F272367.A2895.27652 ; Authuser adityam; 30 Jan 2012 18:10:31 EST In-Reply-To: <20120130200857.2ba803fc@homerow> User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.82; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05GrXaxvT - bf30d27817b8 - 20120131 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 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:74193 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1132116776-1327965031=:10393 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 30 Jan 2012, Marco wrote: > On 2012-01-30 Wolfgang Schuster wrote: > >> The ConTeXt package is huge and provides dozen of >> commands but I guess many have *one* favorite command >> (maybe also functionality). > > I was surprised by the unusual =E2=80=9CSubject=E2=80=9D line in my mai= l > client. But I don't hesitate: > > My favourite command is \externalfigure [placeholder] > because it produces very pretty colourful graphics (I'm > bored to use the dutch cow or the wind mill every time). > > Example: > > \useMPlibrary [dum] > \starttext > > \dorecurse{10}{ > =09\startTEXpage > =09=09\externalfigure [placeholder] > =09\stopTEXpage} > > \stoptext You can also use my `\externalkitten` macro:=20 http://randomdeterminism.wordpress.com/2011/05/07/images-for-documentation-= examples/ \def\externalkitten[#1]% {\getparameters[kitten][width=3D10pt, height=3D10pt, #1] \externalfigure [\ctxlua{context("http://placekitten.com/g/\%0.0f/\%0.0f", \withoutpt{\the\dimexpr\kittenwidth}, \withoutpt{\the\dimexpr\kittenheight})}] [#1, method=3Djpg]} \starttext \placefigure[left,none]{} {\externalkitten[width=3D0.5\textwidth, height=3D0.3\textheight]} \input knuth \stoptext Aditya --0-1132116776-1327965031=:10393 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --0-1132116776-1327965031=:10393--