From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43172 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: [OS X TeX] Default rule thickness Date: Wed, 13 Aug 2008 23:24:51 +0200 Message-ID: <48A35123.2020909@wxs.nl> References: <689AE27A-F050-46B4-95E0-5A8CAF3E66A8@mpq.mpg.de> <115224fb0808060359v7b768414k497ee95abaa8f7e3@mail.gmail.com> <111E89FF-7B50-4C53-887C-290F97330D83@mpq.mpg.de> <489D517F.1070001@elvenkind.com> <48A31496.9080908@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1218664599 12724 80.91.229.12 (13 Aug 2008 21:56:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Aug 2008 21:56:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 13 23:57:28 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KTOLP-0006IY-3J for gctc-ntg-context-518@m.gmane.org; Wed, 13 Aug 2008 23:57:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 970911FDD4; Wed, 13 Aug 2008 23:56:27 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03283-02-5; Wed, 13 Aug 2008 23:55:32 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 814F61FE58; Wed, 13 Aug 2008 23:26:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 690BA1FD60 for ; Wed, 13 Aug 2008 23:26:00 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00729-01-6 for ; Wed, 13 Aug 2008 23:25:02 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with ESMTP id 68F191FDDA for ; Wed, 13 Aug 2008 23:24:53 +0200 (CEST) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 11827-1840426 for ; Wed, 13 Aug 2008 23:24:52 +0200 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:43172 Archived-At: Oliver Buerschaper wrote: >>> OK. However, this doesn't seem to scale properly within the same font >>> =85 try the following: >>> >>> --- >>> \edef\defaultrulethickness{\the\fontdimen8\textfont3} >> That is because of the \edef. Changing to a plain \def should help: >> >> \def\defaultrulethickness{\the\fontdimen8\textfont3\relax} > = > Yep, works! > = > What's the correct way of piping this to MetaFun? Putting > = > DefaultRuleThickness :=3D \defaultrulethickness; > = > into each "\startuseMPgraphic{}" block works, but how can I define = > this globally? Moving it into "\startMPinclusions" creates a scope = > problem =85 see also the other thread about BodyFontSize etc. \def\defaultrulethickness{\the\fontdimen8\textfont\plusthree} \startMPinitializations DefaultRuleThickness :=3D \defaultrulethickness; \stopMPinitializations ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________= ________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________