From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94980 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: fontsize changes not understood Date: Tue, 24 May 2016 17:00:00 +0200 Message-ID: <57446C70.2030606@gmail.com> References: <5884AA43-E086-41B3-8D94-3C6F7C88BE5F@uva.nl> <57445DDA.6080204@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5680698807825238319==" X-Trace: ger.gmane.org 1464102048 15306 80.91.229.3 (24 May 2016 15:00:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 May 2016 15:00:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 24 17:00:37 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b5Doy-0000vS-Nc for gctc-ntg-context-518@m.gmane.org; Tue, 24 May 2016 17:00:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CBDCADF8D; Tue, 24 May 2016 17:00:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fv3vKs2rbfHH; Tue, 24 May 2016 17:00:16 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 0D7BFDF91; Tue, 24 May 2016 17:00:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 39F59DF8C for ; Tue, 24 May 2016 17:00:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oIB-0WWwPAJF for ; Tue, 24 May 2016 17:00:14 +0200 (CEST) Original-Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id B761EDF8B for ; Tue, 24 May 2016 17:00:04 +0200 (CEST) Original-Received: by mail-wm0-f41.google.com with SMTP id n129so27802833wmn.1 for ; Tue, 24 May 2016 08:00:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=Er7LAQJ7hbZ4FCrjeqU1YeeSqwlRX8SiB1vn+8LQOeA=; b=jFsu7pxPgqSxh5Y2T1FZDi+VuDyI9Fp7324nIWuAYF5rVZzvOcKAgqlNWvywj2IK53 jzAiCAbPYBKRHY/W4gTifk0HqoIqtbVEp8R668msAqpqKsoIqfjDD3bVqnR9kk7sWW8k nKGQNUyHrStC4XjTpOj5dIOmnDB6rd7KfkjEUAimQtbsTxzXa8kDvTYdfxKdp3NvKO2l UghXdvACzgSFMNgqoVnnaybkoM7/HIUFAuajam8SdzFHFtvadF4TUIfNJylXYMMtP9sT hFVtEZWt69eijPflpZ80BTeydxdMpLKf3j3uY0uZFnDkV1Id4Cu/bBccHppHDVtqKeTR z3nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=Er7LAQJ7hbZ4FCrjeqU1YeeSqwlRX8SiB1vn+8LQOeA=; b=b9faTdcWjubbLQWMyZQpsEaPH+I+UT2ZpH6nCOQHniki9UnkXTxU8xeRhkf4Xx51Rf 11vb3NTNCi9dzvp1ySzG4gnZBWtiBUqzQmg061uIPZkBhJuwAyuLkOLEX3MDTxWDhmnK LS5nrPtCxbf/IbsTzCe7R1Wz+pkxgUF7eAHzJutYEamh3et9ZUEayTZj4ij498kVFlhK cpfA8Ldy+CWndlSaWK8LJwvE1nu+VeNXho0ARFVHltslKLP03NAWmo5+KUp+TDZYpAct sLBih6S249NT/prB+5kxHuMd9fT3K5SX3ZpWpZYRH39xFy55ym5sUifqNebbUa1C02ya I2TA== X-Gm-Message-State: ALyK8tJJEaJ1rsZDOGCh9CtUtbXSd+ZHzfsvciMKZKwS8CMIHhnd1zT0hJRGSNWbREe/JQ== X-Received: by 10.194.205.105 with SMTP id lf9mr4772842wjc.25.1464102004300; Tue, 24 May 2016 08:00:04 -0700 (PDT) Original-Received: from keima.localdomain (x2f2429f.dyn.telefonica.de. [2.242.66.159]) by smtp.gmail.com with ESMTPSA id 131sm4153858wmu.17.2016.05.24.08.00.02 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 May 2016 08:00:03 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:94980 Archived-At: This is a multi-part message in MIME format. --===============5680698807825238319== Content-Type: multipart/alternative; boundary="------------000002070105020508090601" This is a multi-part message in MIME format. --------------000002070105020508090601 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Meer, Hans van der > 24. Mai 2016 um 16:28 > > Thanks, I really didn't know that, it could not spot it in my copy of=20 > "Fonts in Context". > > But although reset works for \switchtobodyfont, it is not working in=20 > \usebodyfont[reset,9pt] in the second section. Why do you think \usebodyfont can be used to change the font size in=20 your document, is this mentioned in a manual? > There it keeps the size derived from the section title. Both commands=20 > however, are reported to inherit from \setupbodyfont (where the reset=20 > is named). Should that be correct? IIRC \usebodyfont can be used to preload a typeface at the begin of a=20 document which make switching to it later in the document with=20 \switchtobodyfont or \setupbodyfont faster but this also means settings=20 like the font size have no effect. The reference manual shows "inherits=20 from XXX" in such a case because a) it is true that the command inherits=20 its values from another command b) it=E2=80=99s faster to document (can b= e=20 changed but one has to check which arguments are valid). Wolfgang --------------000002070105020508090601 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
24= .=20 Mai 2016 um 16:28

Thanks, I really didn't know that, it could not spot it in my copy of "Fonts in Context".

But although reset works for \switchtobodyfont, it is=20 not working in \usebodyfont[reset,9pt] in the second section.
Why do you think \usebodyfont can be used to change the font size in=20 your document, is this mentioned in a manual?
There it keeps the size derived from the section title. Both=20 commands however, are reported to inherit from \setupbodyfont (where the reset is named). Should that be correct?
IIRC \usebodyfont can be used to preload a typeface at the begin of a=20 document which make switching to it later in the document with=20 \switchtobodyfont or \setupbodyfont faster but this also means settings=20 like the font size have no effect. The reference manual shows "inherits=20 from XXX" in such a case because a) it is true that the command inherits its values from another command b) it=E2=80=99s faster to document (can = be=20 changed but one has to check which arguments are valid).

Wolfgang
--------------000002070105020508090601-- --===============5680698807825238319== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============5680698807825238319==--