From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84923 Path: news.gmane.org!not-for-mail From: "Keith J. Schultz" Newsgroups: gmane.comp.tex.context Subject: Re: Is this possible for the Frames Date: Mon, 21 Oct 2013 09:38:46 +0200 Message-ID: References: <6C9B92A4-9818-427B-A6EB-9CCB78841E30@uni-trier.de> <9102B569-1B5E-401D-B5B8-C7006E434EA4@gmail.com> <8F7F697B-4791-4C69-BAB1-B9E3BCE81AE5@uni-trier.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1382341132 21522 80.91.229.3 (21 Oct 2013 07:38:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2013 07:38:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 21 09:38:57 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VYA4n-0005aY-51 for gctc-ntg-context-518@m.gmane.org; Mon, 21 Oct 2013 09:38:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5D5741020B; Mon, 21 Oct 2013 09:36: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 (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id knV9cPLVX7z0; Mon, 21 Oct 2013 09:35:59 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 29188101FC; Mon, 21 Oct 2013 09:35:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 85D4A101FC for ; Mon, 21 Oct 2013 09:35: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 (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tsCi6hcLJSy9 for ; Mon, 21 Oct 2013 09:35:56 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 988B1101FA for ; Mon, 21 Oct 2013 09:35:56 +0200 (CEST) Original-Received: from mx2.uni-trier.de (mx2.uni-trier.de [136.199.224.18]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9L7clhe002422 for ; Mon, 21 Oct 2013 09:38:48 +0200 X-IronPort-AV: E=Sophos;i="4.93,537,1378850400"; d="scan'208";a="7921921" Original-Received: from rzmail.uni-trier.de ([136.199.8.220]) by mx2i.uni-trier.de with ESMTP; 21 Oct 2013 09:38:47 +0200 Original-Received: from [10.0.62.4] (dslb-084-058-224-205.pools.arcor-ip.net [84.58.224.205]) by rzmail.uni-trier.de (Postfix) with ESMTPA id 2E16D427A7 for ; Mon, 21 Oct 2013 09:38:47 +0200 (CEST) In-Reply-To: <8F7F697B-4791-4C69-BAB1-B9E3BCE81AE5@uni-trier.de> X-Mailer: Apple Mail (2.1510) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=136.199.224.18; country=DE; region=08; city=Trier; latitude=49.7500; longitude=6.6333; http://maps.google.com/maps?q=49.7500,6.6333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TKDHCLch - 2b7b04c42532 - 20131021 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:84923 Archived-At: Hi All, Am 21.10.2013 um 08:41 schrieb "Keith J. Schultz" : > Hi Wolfgang, all, > = > Thanx for the example/help. > = > I have a few questions sothat I understand properly what is going on and > how to maybe do some more fancy things. > = > 1) \dimexpr allows the calculation of a dimention > = > 2) \dimexpr is closed by \relax or if I need more complicated calculatio= n something like: > frameoffset=3D\dimexpr{\framedparameter{rulethickness}*3/10} + \framedp= arameter{\frameoffset}}\relax Found the answer use \dimexpr(=85). the \relax is so that TeX behaves! > 3) How would access a value of a DIFFERENT frame? > = > 4) I could use my own command whose result is a dimension: > \def\MyCommand#1{#1\textwidth} > and use it as: > frameoffset=3D\dimexpr\Mycommand{.05}\relax > = > regards > Keith > = ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________