From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3917 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: math fonts Date: Tue, 30 Jan 2001 12:09:29 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010130120929.016f7360@server-1> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394623 21331 80.91.224.250 (23 Oct 2002 17:37:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:37:03 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: alkauffm@rz.uni-potsdam.de In-Reply-To: Xref: main.gmane.org gmane.comp.tex.context:3917 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3917 At 07:09 PM 1/29/01 +0100, Albrecht Kauffmann wrote: >Hi all, > >I am faced with a problem with fonts in formulas, when the bodyfont is >8-bit-encoded: > >\setupoutput[pdftex] >\setupbodyfont [aer,10pt] >\starttext >$ \Gamma \Delta \Theta$ >\stoptext > >With other 8-bit-fonts like e.g. lbr I get the same result: `'^ >Only with cmr as bodyfont I get the right characters. But with cmr arise >problems with the hypenation in german language. > >Can somebody give me a hint? Hm. These are positioned in the lower part of as the crm fonts. And, since [out of lazyness] the aer fonts def uses the cmr ones by remapping the names, the ec encoded cmr* fonts are not that suites for math. Sigh. But, since there is some machinery for independent math fonts, we can redefine that part. But, since cmr10 is now aer10, we have to make sure that we bypass the mapper, which can be done [hack hack hack] with a space in front. % hack to prevent mapping of filenames, watch the space! \definebodyfont [12pt] [mm] [mr= cmr12] \definebodyfont [11pt] [mm] [mr= cmr10 at 11pt] \definebodyfont [10pt] [mm] [mr= cmr10] \definebodyfont [9pt] [mm] [mr= cmr9] \definebodyfont [8pt] [mm] [mr= cmr8] \definebodyfont [7pt] [mm] [mr= cmr7] \definebodyfont [6pt] [mm] [mr= cmr6] \definebodyfont [5pt] [mm] [mr= cmr5] \definebodyfont [4pt] [mm] [mr= cmr5] \definebodyfont [14.4pt,17.3pt,20.7pt] [mm] [mr= cmr12 sa 1] Later this year those symbols will be mappen in other ways anyway. Either add these lines at the end of font-aer or better at the end of font-cmr and regenerate the format. If you want to default to aer: texexec --make --bodyfont=aer will embed these defs Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl 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 -------------------------------------------------------------------------