From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76806 Path: news.gmane.org!not-for-mail From: Alfredo Catalina Newsgroups: gmane.comp.tex.context Subject: \externalfigure shows text alongside the picture Date: Fri, 8 Jun 2012 17:10:51 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0862554041==" X-Trace: dough.gmane.org 1339168261 22304 80.91.229.3 (8 Jun 2012 15:11:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2012 15:11:01 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 08 17:11:00 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 1Sd0q4-0000s8-0v for gctc-ntg-context-518@m.gmane.org; Fri, 08 Jun 2012 17:11:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8F272101EC; Fri, 8 Jun 2012 17:10:57 +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 sZVa3FlFeLeY; Fri, 8 Jun 2012 17:10:56 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DBA0D101E2; Fri, 8 Jun 2012 17:10:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 46C5D101E2 for ; Fri, 8 Jun 2012 17:10:54 +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 iQEcOFW7+jKo for ; Fri, 8 Jun 2012 17:10:53 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 908B4101DD for ; Fri, 8 Jun 2012 17:10:53 +0200 (CEST) Original-Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q58FAqcd010586 for ; Fri, 8 Jun 2012 17:10:52 +0200 Original-Received: by obbwd18 with SMTP id wd18so3396705obb.14 for ; Fri, 08 Jun 2012 08:10:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=8P/iK5Nzw1utbZgdDzOCeC32L3LjvN18sZSlDTB0w/E=; b=TeETUswV5fuy3b6l0r6giS8l55Lspe/aw6UEaVsZv6Wd/tNs2Q0m2h+w1Y1oxJWHU0 IU4lO2lCed1FaJSv7sIBJ44VaG4yP6p8f6GmcYx4q6feAieVs3zxp1p7ntsKJrCkWfBp oAYOC96zAhkF49HUobljJd5fec+8dKc63W4Cb98gnYsSEHbDponeEf8Ax4M2mTDKuRHx r04rXIyQg6/y8yNTFvj7BwCtHcX4wqMZ7RBZD56gex6z2Cc5zKr1Yl+7N8I9suLcJp0H K1fj55jooZ9MZkrNq/siHIOksjJw+T0lhREDH0zf7gz3yVqWqPYCBxmEH6LYHuBV7O/3 JPlg== Original-Received: by 10.182.45.72 with SMTP id k8mr7047809obm.51.1339168251717; Fri, 08 Jun 2012 08:10:51 -0700 (PDT) Original-Received: by 10.76.153.40 with HTTP; Fri, 8 Jun 2012 08:10:51 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.169; 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: 0aHjPaQfq - f56248b242c9 - 20120608 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:76806 Archived-At: --===============0862554041== Content-Type: multipart/alternative; boundary=f46d0444743df0283d04c1f767a3 --f46d0444743df0283d04c1f767a3 Content-Type: text/plain; charset=ISO-8859-1 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. --f46d0444743df0283d04c1f767a3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I am using \externalfigure to show a picture at the desired scale. Ins= tead 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.
=A0
\def\DesignSize#1{3.5cm/4*#1}%
\starttext
\externalfigure[hacker.jpg][width=3D\DesignSize{4}]
\stopte= xt
=A0
In mkii is perfect.
=A0
I= 9;ve also tried
=A0
\define[1]\DesignSize{3.5cm/4*#1}
=A0
with the same result.
=A0
=A0
--f46d0444743df0283d04c1f767a3-- --===============0862554041== 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 ___________________________________________________________________________________ --===============0862554041==--