From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3373 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: x=8.5 Date: Sun, 19 Nov 2000 23:56:51 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20001119235651.00a57d80@pop.wxs.nl> References: <20001119145118.489BF2317E@client44-3.kabela.oprit.rug.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394109 16479 80.91.224.250 (23 Oct 2002 17:28:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:28:29 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: siepo@cybercomm.nl In-Reply-To: <20001119145118.489BF2317E@client44-3.kabela.oprit.rug.nl> Xref: main.gmane.org gmane.comp.tex.context:3373 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3373 At 03:47 PM 11/19/00 +0100, siepo@client44-3.kabelA.oprit.rug.nl wrote: >Context doesn't seem to like this: > >\definebodyfontenvironment[10pt][x=8.5pt] >\starttext >\showbodyfont[10pt] >\stoptext > >In the log I get messages > >bodyfont : unknown format 8.5ptrmtf >bodyfont : unknown format 8.5ptsstf >bodyfont : unknown format 8.5pttttf The x=8.5pt refers to a body font size, so you need to define one first: \definebodyfontenvironment[8.5pt] now we need some fonts, so \definebodyfont[8.5pt][rm,ss,tt][default] then your def, \definebodyfontenvironment[10pt][x=8.5pt] and gone are the messages. Hans PS. Since font sizes move through the system and since tex is very accurate but not inf, font sizes are rounded. You can influence this with (default) \chardef\fontdigits=1; the reason for rounding is that 3.5pt for tex can be 3.49999pt which is rather annoying if a size if part of a setting or csname. ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------