From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23533 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Peter_M=FCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: \appliedfigure... Date: Thu, 17 Nov 2005 22:49:16 +0100 (CET) Message-ID: References: <43287E28.8010303@wxs.nl> <4329BDCB.3040500@wxs.nl> <432DAC82.7010408@wxs.nl> <43311AEB.5090605@wxs.nl> <437B28B8.4050901@elvenkind.com> <437B722B.5060508@elvenkind.com> <437B7C97.2030404@elvenkind.com> <437BB2C9.5020203@wxs.nl> 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: sea.gmane.org 1132306241 15924 80.91.229.2 (18 Nov 2005 09:30:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 18 Nov 2005 09:30:41 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 18 10:30:34 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ed2YR-0002bx-MK for gctc-ntg-context-518@m.gmane.org; Fri, 18 Nov 2005 10:29:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 387FC12808; Fri, 18 Nov 2005 10:29: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 20862-02; Fri, 18 Nov 2005 10:29:04 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8DA2C127BE; Fri, 18 Nov 2005 10:29:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BE05A127BE for ; Fri, 18 Nov 2005 10:29:03 +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 20757-03-4 for ; Fri, 18 Nov 2005 10:29:02 +0100 (CET) Original-Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by ronja.ntg.nl (Postfix) with ESMTP id D937612793 for ; Fri, 18 Nov 2005 10:29:02 +0100 (CET) Original-Received: from gaston.free.fr (c5850-a3-2-62-147-20-179.dial.proxad.net [62.147.20.179]) by smtp5-g19.free.fr (Postfix) with ESMTP id 42BDF9774 for ; Fri, 18 Nov 2005 10:29:01 +0100 (CET) Original-Received: by gaston.free.fr (Postfix, from userid 500) id 0AC1B13C066; Thu, 17 Nov 2005 22:49:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by gaston.free.fr (Postfix) with ESMTP id 0601414812C for ; Thu, 17 Nov 2005 22:49:17 +0100 (CET) X-X-Sender: peter@gaston.free.fr Original-To: mailing list for ConTeXt users In-Reply-To: <437BB2C9.5020203@wxs.nl> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:23533 Archived-At: On Wed, 16 Nov 2005, Hans Hagen wrote: > >> Is there any possibility to get "width=1cm" ? > > > > Not using \appliedfigure.... , but if you are willing > > to mess with \unprotect: > > > > \unprotect > > \appendtoks > > \writestatus{figures}{@@efwidth=\@@efwidth} > > \writestatus{figures}{figurewidth=\figurewidth} > > \to\externalfigurepostprocessors > > \protect > > > > Not sure if Hans is all that happy with that, though, because > > the use of low-level \@@ef... stuff is precisely what the > > \applied .. macros were supposed to hide. > > > hm, @@ef is going to stay, but it is indeed ugly (maybe some day we have > \figureparameter Thanks you, \figurewidth and \figureheight should be enough for me, I think! Just one last question before improving my t-degrade module: how can I tell ConTeXt to search for images at first in another directory than the current directory? When there are two files ./testimg.eps and ./img/testimg.eps the following test file includes always the first one: \setupexternalfigures[directory={./img,.}] \starttext \externalfigure[testimg][width=3cm] \stoptext Greetings, Peter -- http://pmrb.free.fr/contact/