From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11621 Path: main.gmane.org!not-for-mail From: Simon Pepping Newsgroups: gmane.comp.tex.context Subject: Re: Using MetaPost graphics in ConTeXt Date: Mon, 24 Mar 2003 20:16:11 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <20030324191610.GA846@scaprea> References: <19914960201.20030323223837@iol.it> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048533914 17549 80.91.224.249 (24 Mar 2003 19:25:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2003 19:25:14 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Mon Mar 24 20:25:10 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18xXWS-0004IL-00 for ; Mon, 24 Mar 2003 20:22:16 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 2C6FD10B4B; Mon, 24 Mar 2003 20:22:14 +0100 (MET) Original-Received: from hgatenl.hobby.nl (ns.hobby.nl [212.72.224.8]) by ref.ntg.nl (Postfix) with ESMTP id 94C3D10B2F for ; Mon, 24 Mar 2003 20:19:23 +0100 (MET) Original-Received: from hgatenl.hobby.nl (localhost [127.0.0.1]) by hgatenl.hobby.nl (8.12.6/8.12.2) with ESMTP id h2OJJPCl024876 for ; Mon, 24 Mar 2003 20:19:25 +0100 (CET) (envelope-from spepping@scaprea.hobby.nl) Original-Received: (from uucp@localhost) by hgatenl.hobby.nl (8.12.6/8.12.2/Submit) with UUCP id h2OJJOTg024875 for ntg-context@ntg.nl; Mon, 24 Mar 2003 20:19:24 +0100 (CET) Original-Received: from simon by scaprea.salix.nl with local (Exim 3.35 #1 (Debian)) id 18xXQZ-0000Sn-00; Mon, 24 Mar 2003 20:16:11 +0100 Original-To: ntg-context@ntg.nl Mail-Followup-To: ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: <19914960201.20030323223837@iol.it> User-Agent: Mutt/1.3.28i Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11621 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11621 On Sun, Mar 23, 2003 at 10:38:37PM +0100, Giuseppe Bilotta wrote: > Hello, > > I'm trying to use some MetaPost-generated graphics with ConTeXt, > but I seem to be unable to do so. I have a file test.1 in the same > directory as the ConTeXt source, which is as minimal as: > > \starttext > \input tufte > \placefigure[left] > {Esempio di settore circolare} > {\externalfigure[test.1]} > \input knuth > \stoptext > > but it seems like it can't find the file test (no extension); I > tried adding options [type=mps] or [method=mps] or both, but each > fails with a different error: either it looks for test.mps or it > looks for test.unknown ... The macro \calculateexternalfigure seems to set the extension to empty if the figure file name is the same as the jobname: % redo message, only filename \doifparentfileelse\@@effilename {\@EA\removefromcommalist\@EA{\jobsuffix}\figuretypes \let\@@efextension\empty \showmessage\m!figures9\@@effilename \donefalse} \donothing (core-fig.tex) Therefore it does not search for your nonstandard extension. Regards, Simon -- Simon Pepping email: spepping@scaprea.hobby.nl