From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76068 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: fonts Date: Wed, 9 May 2012 13:34:30 +0200 Message-ID: <71C9A80D-E5EB-4F1C-ADDE-D7DA2ADDC7CF@gmail.com> References: <4FA952C1.5040307@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1336563282 6984 80.91.229.3 (9 May 2012 11:34:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 May 2012 11:34:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 09 13:34:41 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 1SS5AF-0002x7-1r for gctc-ntg-context-518@m.gmane.org; Wed, 09 May 2012 13:34:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B3E7B101CF; Wed, 9 May 2012 13:34:36 +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 0motKy2ibu8N; Wed, 9 May 2012 13:34:35 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F1D65101E2; Wed, 9 May 2012 13:34:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3282D101E2 for ; Wed, 9 May 2012 13:34:33 +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 OZrtGEte7p85 for ; Wed, 9 May 2012 13:34:29 +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 2ABE4101CF for ; Wed, 9 May 2012 13:34:29 +0200 (CEST) Original-Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q49BYRNv009687 for ; Wed, 9 May 2012 13:34:28 +0200 Original-Received: by wgbds1 with SMTP id ds1so1575389wgb.2 for ; Wed, 09 May 2012 04:34:27 -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:x-mailer; bh=29V1BL9p4sFbC9NJ3FRxHpFNdJFP3ATP+WV+/XkYTX8=; b=WzYkSX/A196ER1tWxgt+5gLVs4sE5ksEGw4E3CYeK/XA1ZKzn7nx0RLL7o6qsiKbG2 yFa4EHWvpZyo0X9I7S/+O5FMBfcgZFt5SxNPBbfxgRrj7Il7AKZXkW/M5FY7ehCrAogI wyaQKvRru/emVkMuCkW3wV3br79s/+gKWjxC4Sy9J6HyfIOAiRSX6EM0xQ8naGk7eea+ vD70EG7nbHaOM6km6yIf5MIzsvt/MJO9rmgpnmuGUrp9i13RpmMM+ZN2uMPRWV0cHegW Wrp34JVwuwsXcWep/hXP1Werahji7VkKxb7HtVdhUOBqTkkiIYNa1khEP2WXYhIQu/F6 GtgQ== Original-Received: by 10.180.97.3 with SMTP id dw3mr6044816wib.19.1336563267655; Wed, 09 May 2012 04:34:27 -0700 (PDT) Original-Received: from dhcp-193-51-32-162.math.uvsq.fr (dhcp-193-51-32-162.math.uvsq.fr. [193.51.32.162]) by mx.google.com with ESMTPS id fn2sm8800641wib.0.2012.05.09.04.34.25 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 May 2012 04:34:26 -0700 (PDT) In-Reply-To: <4FA952C1.5040307@wxs.nl> X-Mailer: Apple Mail (2.1257) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.41; 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: 0TH7LyrzJ - 8ba5cd2303c2 - 20120509 (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.12 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:76068 Archived-At: Hi Hans, If I understand it correctly, with the \setupbodyfontenvironment one can define various sizes and then apply them to various styles such as \it, \bf, etc. This is indeed great! But in your example the math fonts disappear: is this intended? Best regards: OK On 8 mai 2012, at 19:07, Hans Hagen wrote: > Hi, > > A nice candidate for wikification: > > \setupbodyfont[dejavu] > > \setupbodyfontenvironment > [default] > [smallsized=1.25, > mediumsized=1.5, > largesized=2.0] > > \definefontsize[smallsized] > \definefontsize[mediumsized] > \definefontsize[largesized] > > \starttext > > \setuphead[chapter] [style=\bflargesized] > \setuphead[section] [style=\bfmediumsized] > \setuphead[subsection][style=\bfsmallsized] > > \chapter {Whatever $x-1$} > \section {Whatever $x-1$} > \subsection{Whatever $x-1$} > > \input ward > > \stoptext > > > -- > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________