From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76807 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \externalfigure shows text alongside the picture Date: Fri, 8 Jun 2012 17:15:53 +0200 Message-ID: <78EBC165-4507-4D2A-918A-C92B414DBC4F@googlemail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1339168576 25425 80.91.229.3 (8 Jun 2012 15:16:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2012 15:16:16 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 08 17:16:14 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 1Sd0v1-0000ML-C3 for gctc-ntg-context-518@m.gmane.org; Fri, 08 Jun 2012 17:16:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 91975101DD; Fri, 8 Jun 2012 17:16:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rcg8fbuinofu; Fri, 8 Jun 2012 17:16:05 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EEA18101E2; Fri, 8 Jun 2012 17:16:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6D607101E2 for ; Fri, 8 Jun 2012 17:16:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Kk53CHEydrFi for ; Fri, 8 Jun 2012 17:16:03 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id A8C33101DD for ; Fri, 8 Jun 2012 17:16:03 +0200 (CEST) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q58FG2R2009997 for ; Fri, 8 Jun 2012 17:16:03 +0200 Original-Received: by bkcjm19 with SMTP id jm19so2690725bkc.14 for ; Fri, 08 Jun 2012 08:16:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=SKq1OnmHWdye/qOvZaxLevdbPcGZBLavNPDGmRinbgI=; b=xaL5vnDQFz/KXBZjFdIlYPgdzd+uvzdEiVk+NynLaO9J7xq4V5tFZvWwYaT+QY/vrJ d45R2/h66qFcVFsey8baDEJFdH3AyPOU+EbwSwsdA1ItRonhymgEkv3PKVhzcPCNnUmq bGmkEEV7irDfLasl29L0q6cSdPCqxe2E4dt+x/xWE1bZQk56oE3FGgIvHshWG0xzAADI 09Ea3ZMEM60wzFHFhUHFAZT9bYguk0oGhEX7wJdGLG/8TbKpnH49nGYtIrbEzQSnglvN EvKlQnjVJfhwaHaWdVnSqdtmmDhQULFgskgCtwtCun0i6Y/pqQtKiVXfoYXrLPp45SUV IC0w== Original-Received: by 10.204.153.199 with SMTP id l7mr6356219bkw.86.1339168562613; Fri, 08 Jun 2012 08:16:02 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AFBEB7.dip.t-dialin.net. [87.175.190.183]) by mx.google.com with ESMTPS id fu14sm7996015bkc.13.2012.06.08.08.15.59 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 08 Jun 2012 08:16:01 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RHjPg2Nd - b206e3739627 - 20120608 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 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:76807 Archived-At: Am 08.06.2012 um 17:10 schrieb Alfredo Catalina: > I am using \externalfigure to show a picture at the desired scale. Instead of providing a number for the width parameter I have made a definition with \def. When I run in mkiv this I get the text "4t" alongside the picture. > > \def\DesignSize#1{3.5cm/4*#1}% > \starttext > \externalfigure[hacker.jpg][width=\DesignSize{4}] > \stoptext > > In mkii is perfect. > > I've also tried > > \define[1]\DesignSize{3.5cm/4*#1} > > with the same result. \define[1]\DesignSize{\the\dimexpr3.5cm/4*#1\relax} Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________