From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78185 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: 3D annotations problems Date: Sun, 9 Sep 2012 18:38:00 +0200 Message-ID: References: <2B434427-B38D-4CB3-8B5D-83076996C178@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1347208697 15752 80.91.229.3 (9 Sep 2012 16:38:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Sep 2012 16:38:17 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 09 18:38:17 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 1TAkWU-0005h5-Ix for gctc-ntg-context-518@m.gmane.org; Sun, 09 Sep 2012 18:38:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 974D0101DF; Sun, 9 Sep 2012 18:38:10 +0200 (CEST) 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 T15a4d7R2f5b; Sun, 9 Sep 2012 18:38:08 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9976E101EA; Sun, 9 Sep 2012 18:38:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0E542101EA for ; Sun, 9 Sep 2012 18:38:07 +0200 (CEST) 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 NCv9uvGaz3nq for ; Sun, 9 Sep 2012 18:38:06 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 5ED59101DF for ; Sun, 9 Sep 2012 18:38:06 +0200 (CEST) Original-Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q89Gc5Io007088 for ; Sun, 9 Sep 2012 18:38:05 +0200 Original-Received: by wgbds1 with SMTP id ds1so890683wgb.2 for ; Sun, 09 Sep 2012 09:38:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=jGfTrz4nlN6BI6uBeSDC0UOPY0NfW8kNgHw+dSKGad4=; b=satYLYvQExZHk0HNSlF9PNPR+8Hmn8q2SR2ZfASj7lJx1QxrhuGYL1YkHiaj8ebALN 0omMAdpsY6k6XprZhDzieunzYpM3a464sdD3yyGagC6YUEKYc0Y8T4rXBFdwDpDmdSIZ /GRnC1AQQ+MIgk/Jhl+wyWWN0ExTWFvQUp94pMrrMng4JLPdNOoQI9iZdeq7xpZ0yLRp bKM7jyi+MiJqQ00582vVBjDqTe3ZUrbBtx7IbCUxy19M8HC6clPShb5XB1kYcZzqQqwN UVYjlcj7wv2gzwaUMLGup/jgHT4tDZhJmkNmYX8iH+FtKppb/aejqVIYlrLJI5Tmn+lo AblQ== Original-Received: by 10.180.107.103 with SMTP id hb7mr11426875wib.3.1347208684971; Sun, 09 Sep 2012 09:38:04 -0700 (PDT) Original-Received: from [10.35.163.15] ([82.113.121.15]) by mx.google.com with ESMTPS id h9sm12264505wiz.1.2012.09.09.09.38.02 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Sep 2012 09:38:03 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1486) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.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: 08HV4C5cz - 917b17a55847 - 20120909 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:78185 Archived-At: Am 09.09.2012 um 16:07 schrieb Michail Vidiassov : > Just a follow up - > the old way "width=3D0.5\textwidth" still works for png external figures. When you use images in jpg, png or pdf format context still uses a lot of t= ex code where you can use this form of assignment because the values are assigned to another dimen register in tex where this is valid. \starttext \newdimen\mydimenregister \mydimenregister=3D10pt mydimenregister =3D \the\mydimenregister \mydimenregister=3D\textwidth mydimenregister =3D \the\mydimenregister \mydimenregister=3D.33\textwidth mydimenregister =3D \the\mydimenregister \stoptext When you insert a 3D graphic in your document the values of the width/height keys are read by lua which can=92t handle with this assignment, what can be= used in this case are only absolute values like 10pt and with \the\dimepr=85 you= can do this even with relative value, e.g. .5\textwidth. > Is it considered non-kosher now and is to be changed everywhere to the > new one =93width=3D\the\dimexpr0.5\textwidth\relax=94 whenever possible to > avoid potential problems? Maybe Hans can add some code which checks the argument to avoid this, e.g. if =3D=3D "fit" or =3D=3D "broad" then return else return "\the\dimepr\relax" fi Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________