From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76618 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: =?windows-1252?q?=93bodyfont_=25s_is_defined_=28can?= =?windows-1252?q?_better_be_done_global=29=94?= Date: Sun, 3 Jun 2012 10:31:38 +0200 Message-ID: References: <20120602181346.GC22936@phlegethon> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1338712333 20636 80.91.229.3 (3 Jun 2012 08:32:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Jun 2012 08:32:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 03 10:32:13 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 1Sb6EK-0005Wh-CJ for gctc-ntg-context-518@m.gmane.org; Sun, 03 Jun 2012 10:32:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DBF8D101E4; Sun, 3 Jun 2012 10:32: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 (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9y9RRP8y32mO; Sun, 3 Jun 2012 10:32:06 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 438AE101DF; Sun, 3 Jun 2012 10:32:06 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2D474101DF for ; Sun, 3 Jun 2012 10:32: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 (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rOTCzOuCTliY for ; Sun, 3 Jun 2012 10:32:03 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 52BC3101DD for ; Sun, 3 Jun 2012 10:32:03 +0200 (CEST) Original-Received: from mail-we0-f169.google.com (mail-we0-f169.google.com [74.125.82.169]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q538W20A026708 for ; Sun, 3 Jun 2012 10:32:02 +0200 Original-Received: by wefh52 with SMTP id h52so2986305wef.14 for ; Sun, 03 Jun 2012 01:32:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=yQupIFUxaD8lrTjovUPgu29t7N7IkMLCkWbH5aVo0Gw=; b=JcDF7KL8pt5zmvoDUdzoWLEUzfrgoam4K382148DE/p4E/zbiYqI+KYJTTJBbH0nZs ScNuciKC4B5/3L8tsEdppSyardbEp4AroWu1zHcVBU7S+1Ad24RoFOz2ABniJVFuPPd5 3QIyNCnVwcL5/laTjUjiePILnOA6ix539/ofiLlk/84qmUguvLXBPbnt41EYuf9FRA97 GT4FXCoC9OplAV9yjpRWWiHvX7MM/KpUHTXMgfjxyDtZq1YlkiaAapwTiRUeiW97Q+DA T6XoKz6FBliZ83FOGOi0vZwP+hpYm+WpTBEJq9a83gMKigMyYjRzA8Hwbr8DwN/sxbni ZdjA== Original-Received: by 10.216.227.101 with SMTP id c79mr7566770weq.188.1338712317989; Sun, 03 Jun 2012 01:31:57 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AFB9BA.dip.t-dialin.net. [87.175.185.186]) by mx.google.com with ESMTPS id gb9sm10986956wib.8.2012.06.03.01.31.42 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 03 Jun 2012 01:31:44 -0700 (PDT) In-Reply-To: <20120602181346.GC22936@phlegethon> X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.169; 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: 0dHhIw2Cs - 4fb64a0d0411 - 20120603 (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.13 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 Xref: news.gmane.org gmane.comp.tex.context:76618 Archived-At: Am 02.06.2012 um 20:13 schrieb Philipp Gesang: > Dear listmates, > = > with \switchtobodyfont I get the interface message =93fonts:14=94 > from mult-mes.lua (=93bodyfont %s is defined (can better be done > global)=94) which is kinda hard to grep for :( Example: > = > \definebodyfont[42pt][rm][default] > \starttext > \switchtobodyfont [42pt] > \setupbodyfont [42pt] > \stoptext > = > Which results in: > = > =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7= =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7= =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7 > <... /> > fonts > bodyfont 42pt is defined (can better be done global) > fonts > bodyfont 50.4pt is defined (can better be done global) > fonts > bodyfont 40.32pt is defined (can better be done global) > <... /> > =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7= =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7= =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7 > = > (\setupbodyfont doesn=92t cause it.) It seems harmless but (a) I > have a conditional font change that may repeat hundreds of times > over the course of a document and it clutters my terminal, and > (b) it=92s a warning after all, so everything is not as it is > supposed to be. What=92s it telling me, and why? Add \definebodyfontenvironment: \definebodyfontenvironment[42pt] \starttext \setupbodyfont[42pt] \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 ___________________________________________________________________________= ________