From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36419 Path: news.gmane.org!not-for-mail From: Kumar Appaiah Newsgroups: gmane.comp.tex.context Subject: Re: Margins around figures Date: Sat, 8 Sep 2007 17:27:03 +0530 Message-ID: <20070908115703.GC4901@localhost> References: <20070907041639.GA26244@localhost> <20070907082341.GB6992@localhost> <6faad9f00709080214x3de0babfiad7546da0dc607db@mail.gmail.com> 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: sea.gmane.org 1189254279 15154 80.91.229.12 (8 Sep 2007 12:24:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2007 12:24:39 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 08 14:24:38 2007 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 1ITzMb-0004yN-T2 for gctc-ntg-context-518@m.gmane.org; Sat, 08 Sep 2007 14:24:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8466E1FFDA; Sat, 8 Sep 2007 14:24:32 +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 22626-01; Sat, 8 Sep 2007 14:24:15 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A0C6D1FFA0; Sat, 8 Sep 2007 14:24:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 99DB11FB22 for ; Sat, 8 Sep 2007 14:24:08 +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 21890-03 for ; Sat, 8 Sep 2007 14:23:56 +0200 (CEST) Original-Received: from hsmtp.iitm.ac.in (hsmtp.iitm.ac.in [203.199.213.31]) by ronja.ntg.nl (Postfix) with ESMTP id 4B59E20041 for ; Sat, 8 Sep 2007 13:49:43 +0200 (CEST) Original-Received: from localhost (unknown [127.0.0.1]) by hsmtp.iitm.ac.in (Postfix) with ESMTP id 23C301E0003 for ; Sat, 8 Sep 2007 17:19:30 +0530 (IST) Original-Received: from hsmtp.iitm.ac.in ([127.0.0.1]) by localhost (hsmtp.iitm.ac.in [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23636-07 for ; Sat, 8 Sep 2007 17:19:28 +0530 (IST) Original-Received: from localhost.localdomain (unknown [10.94.2.249]) by hsmtp.iitm.ac.in (Postfix) with ESMTP id 2EA2E1E0002 for ; Sat, 8 Sep 2007 17:19:28 +0530 (IST) Original-Received: from kumar by localhost.localdomain with local (Exim 4.67) (envelope-from ) id 1ITyvv-0001TU-7I for ntg-context@ntg.nl; Sat, 08 Sep 2007 17:27:03 +0530 Mail-Followup-To: ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: <6faad9f00709080214x3de0babfiad7546da0dc607db@mail.gmail.com> X-OS: Linux debian 2.6.22.1 i686 X-Operating-System: Linux debian 2.6.22.1 i686 X-Editor: GNU Emacs 22.1.1 User-Agent: Mutt/1.5.16 (2007-06-11) X-Virus-Scanned: by amavisd-new at iitm.ac.in X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:36419 Archived-At: Dear Mojka, On Sat, Sep 08, 2007 at 11:14:30AM +0200, Mojca Miklavec wrote: > Since plain metapost doesn't know about ConTeXt (metafun) extentions, > you need to: > - either add a line "input metafun ;" at the top of your metapost files This works just as I expect! Many thanks! > - or run "mptopdf seminar.mp" which will run metapost+create PDF > instead of running "mpost/mp seminar.mp" first and convert to PDF > later This gives me some font issues, but I am not really bothered, since the excitement of seeing the first solution work has stopped me from probing further here. > When including a picture in ConTeXt, one options could also be to use: > \framed[frame=off,offset=1cm,strut=no,background=color,backgroundcolor=white]% > {\externalfigure[...]} > But that's slightly long and tedious, unless you write your own macro > wrapper around it. I understand, but it will be useful elsewhere. Again, many thanks! Kumar -- Kumar Appaiah, 458, Jamuna Hostel, Indian Institute of Technology Madras, Chennai - 600 036 ___________________________________________________________________________________ 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 ___________________________________________________________________________________