From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84888 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Is this possible for the Frames Date: Fri, 18 Oct 2013 14:56:29 +0200 Message-ID: <9102B569-1B5E-401D-B5B8-C7006E434EA4@gmail.com> References: <6C9B92A4-9818-427B-A6EB-9CCB78841E30@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 1382101017 22850 80.91.229.3 (18 Oct 2013 12:56:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Oct 2013 12:56:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 18 14:56:59 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 1VX9be-00084j-If for gctc-ntg-context-518@m.gmane.org; Fri, 18 Oct 2013 14:56:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A58B6101E9; Fri, 18 Oct 2013 14:53: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 (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id nXfAGdowAXmN; Fri, 18 Oct 2013 14:53:49 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 1FF61101E5; Fri, 18 Oct 2013 14:53:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 078A4101E5 for ; Fri, 18 Oct 2013 14:53:48 +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 H+F6pqhP0bPK for ; Fri, 18 Oct 2013 14:53:43 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 5498E101DE for ; Fri, 18 Oct 2013 14:53:43 +0200 (CEST) Original-Received: from mail-ee0-x22b.google.com (mail-ee0-x22b.google.com [IPv6:2a00:1450:4013:c00::22b]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9ICuTNg026633 for ; Fri, 18 Oct 2013 14:56:29 +0200 Original-Received: by mail-ee0-f43.google.com with SMTP id e52so1997233eek.30 for ; Fri, 18 Oct 2013 05:56:29 -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; bh=2EWCA7pTBcbN7gxo12fLRQodp0zd5v3oUZENv137zIs=; b=HZcc3cLQMJV9kdIUCbQQ2+l4289VM2nyDrekb6eR0ZJ0ILIupIko22c2bTq8w3HYKq 51xf+xq3hkgvX4FXIpb+qhWHebwJ/PzZ48GqDoggjdAV04IIwR99oWhnZe8wXRqHhbg8 1KQvs56vOWK4C0a4R5RbfRGjvOF8tcBvQBthUBn2K1FCod+cgMZz+ajkNm239jIf7L8M DnMzT7FayvlZmdZsTPKNEQu0TGJ5XqCcmVxWfA3eRFeDYn8hGWBff8t6uFdK5u8CZneP aKszE6/jhSKlrnilHoIeD6/zzL6mrYNIZ47vWHtvv9FFi3gOVI5gDf4jH+e1kw4/Wfky EvQA== X-Received: by 10.14.122.132 with SMTP id t4mr4409327eeh.20.1382100989696; Fri, 18 Oct 2013 05:56:29 -0700 (PDT) Original-Received: from keima.localdomain (x2f24685.dyn.telefonica.de. [2.242.70.133]) by mx.google.com with ESMTPSA id r48sm4128958eev.14.2013.10.18.05.56.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Oct 2013 05:56:29 -0700 (PDT) In-Reply-To: <6C9B92A4-9818-427B-A6EB-9CCB78841E30@uni-trier.de> X-Mailer: Apple Mail (2.1510) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::22b; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03KCAUtsS - 9aebf692db30 - 20131018 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:84888 Archived-At: Am 18.10.2013 um 11:25 schrieb "Keith J. Schultz" : > Hi everbody, > = > I would like to do some very special settings using frames possibly struc= tures to! > = > NMW > % declartion of MyFarme and setup > \defineframed[MyFrame][framed] > \setupframed[MyFrame][\rulethickness=3D3pt, frameoffset=3D.8 rulethicknes= s] > =85 > startext > = > = > \MyFrame[\rulethickness=3D3pt{What goes into the frame} > stop > = > I would like to adjust the frameoffset according to the value of \rulethi= ckness, > to be exact I would prefer using a command that calulates a value. > = > How do I go about it. According to the Manuals and the Wiki I can use a c= ommand > = > How can I access rulethickness in such a manner? > = > I know I could right a command in lua that injects the proper output into= the TeX stream, > but I am afraid that the the side effects. = > = > Could do it in TeX to, but I am not that comfortable with TeX and process= ing key values therein. > = > Any help and ideas appreciated. \defineframed [MyFrame] [rulethickness=3D3pt, frameoffset=3D\dimexpr\framedparameter{rulethickness}*3/10\relax] \starttext \MyFrame{What goes into the frame} \blank \MyFrame[rulethickness=3D1pt]{What goes into the frame} \blank \MyFrame[rulethickness=3D10pt]{What goes into the frame} \stoptext 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 ___________________________________________________________________________= ________