From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80671 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: Alternative width of figures in different documents (problem with modes?) Date: Tue, 5 Feb 2013 14:12:42 +0100 Message-ID: <20130205131242.GG17504@homerow> References: <51110023.8010000@gyza.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1693857915==" X-Trace: ger.gmane.org 1360069980 9253 80.91.229.3 (5 Feb 2013 13:13:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Feb 2013 13:13:00 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 05 14:13:19 2013 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 1U2iKr-0006dR-6e for gctc-ntg-context-518@m.gmane.org; Tue, 05 Feb 2013 14:13:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6DCDC10230; Tue, 5 Feb 2013 14:12:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id JRJD12OTYBTr; Tue, 5 Feb 2013 14:12:57 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E46A310224; Tue, 5 Feb 2013 14:12:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3749510224 for ; Tue, 5 Feb 2013 14:12:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SPRyL6noVrVG for ; Tue, 5 Feb 2013 14:12:54 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 3DF06101FC for ; Tue, 5 Feb 2013 14:12:54 +0100 (CET) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r15DCq3E024010 for ; Tue, 5 Feb 2013 14:12:53 +0100 Original-Received: from b.earth.lavabit.com (b.earth.lavabit.com [192.168.111.11]) by karen.lavabit.com (Postfix) with ESMTP id A290A11BDF9 for ; Tue, 5 Feb 2013 07:12:51 -0600 (CST) Original-Received: from homerow (miun114-253.dynamic.miun.se [193.10.114.253]) by lavabit.com with ESMTP id 7XLWFZGNFEM3 for ; Tue, 05 Feb 2013 07:12:51 -0600 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=wdADTEQ7WJjnDGahR/53VVhameqUNfkNfZ0plpJEjfYlJNGPRhWbzymy6mjBXPSeUBBxCA9eHH3OKlEqcQ18IIxIjxKv6VpbyPPn1RE6nENHS2anbSvRSI1RIlvAauH9jV9y7OX194o3fQ9TxM7l4Q5DQ2AjQZvmnyutz9ybs+k=; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: <51110023.8010000@gyza.cz> User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.249.41.33; country=US; region=TX; city=Dallas; postalcode=75204; latitude=32.8019; longitude=-96.7883; metrocode=623; areacode=214; http://maps.google.com/maps?q=32.8019,-96.7883&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NIUBcQkr - b81e844ebde5 - 20130205 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:80671 Archived-At: --===============1693857915== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XaUbO9McV5wPQijU" Content-Disposition: inline --XaUbO9McV5wPQijU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013=E2=80=9302=E2=80=9305 Jaroslav Hajtmar wrote: > I would like use modes alternative to change of image dimensions in > different documents (presentation or print version). > Compilation in ConTeXt TeXLive 2012 version will compile without > error, but without visual effect. Compilation with the standalone > version fails. What is problem or eventually. how to solve my > problem another way. How about this: %% \enablemode %% [presentation] \defineexternalfigure [narrow] [width=3D2cm] \defineexternalfigure [wide] [width=3D7cm] \doifmodeelse{presentation} {\useexternalfigure[COW][cow][narrow][height=3D3cm]} {\useexternalfigure[COW][cow][wide] [height=3D3cm]} \starttext \input tufte \startplacefigure [title=3DCaption, reference=3Dcowref] \externalfigure [COW] \stopplacefigure \input tufte \stoptext Marco --XaUbO9McV5wPQijU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJREQVKAAoJEPGqVaNSn0iKzKUH/0W+HpXaR0/1b6haBgMCBR/+ WzuDFScGfoK/ICVnrblVVs8+2GVSUer1D1YUYs9q06ewALTFikJe7txswB62YJri UtiIaT/pnsY7I+Yh0RqTUUwWdo8ozFjOkzen2NfpxQiLjlFZidCvBHnDl2dMQX4g oZ/CMvzajEnNNL5tN7kbh7cp9YnV5fEaOnB1OwJhrigekZuqs+RDEzOzpOiIzNTM z+5iE22BbVaHIrrFSEd6Q94NR4DTtU8DFQ0cfRTlxURjwXvSitZ/ltRlhxFYktU8 qEv9AEPROo7gwdvuJt1Tw16GmGdFuj+G99xp7qxuSGVVF7rFhAWVqfw9Fvoj0Lw= =un5F -----END PGP SIGNATURE----- --XaUbO9McV5wPQijU-- --===============1693857915== 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 ___________________________________________________________________________________ --===============1693857915==--