From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43184 Path: news.gmane.org!not-for-mail From: Oliver Buerschaper Newsgroups: gmane.comp.tex.context Subject: Re: [OS X TeX] Default rule thickness Date: Thu, 14 Aug 2008 10:51:51 +0200 Message-ID: <38CF58CB-A115-45C8-995D-6059CC1E9D56@mpq.mpg.de> 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> <48A35123.2020909@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1218704895 17069 80.91.229.12 (14 Aug 2008 09:08:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2008 09:08:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 14 11:09:05 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 1KTYpK-0005uR-G2 for gctc-ntg-context-518@m.gmane.org; Thu, 14 Aug 2008 11:09:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 828C71FEEE; Thu, 14 Aug 2008 11:08:03 +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 26026-05-9; Thu, 14 Aug 2008 11:07:17 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E3E261FF48; Thu, 14 Aug 2008 10:58:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0CCD41FF47 for ; Thu, 14 Aug 2008 10:58:19 +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 23564-03-13 for ; Thu, 14 Aug 2008 10:57:36 +0200 (CEST) Original-Received: from post.rzg.mpg.de (post.rzg.mpg.de [130.183.7.21]) by ronja.ntg.nl (Postfix) with ESMTP id 126B21FEEE for ; Thu, 14 Aug 2008 10:51:52 +0200 (CEST) Original-Received: from [192.168.0.2] (f053227120.adsl.alicedsl.de [78.53.227.120]) by post.rzg.mpg.de (8.9.2/8.9.2) with ESMTP id KAA5808380 for ; Thu, 14 Aug 2008 10:51:52 +0200 X-Envelope-To: In-Reply-To: <48A35123.2020909@wxs.nl> X-Mailer: Apple Mail (2.926) 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:43184 Archived-At: >> 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 This works like a charm! Now I'm a bit confused though as to which definitions need this = "MPinitializations" block and which ones can/should go to = "MPinclusions". For example, a subsequent --- \startMPinclusions medium :=3D DefaultRuleThickness; thick :=3D 1.5medium; \stopMPinclusions --- doesn't work. However, color definitions for instance seem to be OK = there. Could you give me a hint? Thanks, Oliver ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________