From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/632 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: [ConTeXt] Math fonts: cal etc. Date: Mon, 05 Jul 1999 20:13:50 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3780F5DE.EE4E699C@wxs.nl> References: <3780B300.E5C73E5A@gmx.de> <3780C0C0.77A09D67@wxs.nl> <3780EE97.99EDCF6A@gmx.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391483 25731 80.91.224.250 (23 Oct 2002 16:44:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:44:43 +0000 (UTC) Cc: NTG-ConTeXt Original-To: Tobias Burnus Xref: main.gmane.org gmane.comp.tex.context:632 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:632 Tobias Burnus wrote: > Maybe better: > \definefont [fraktur] [Fraktur sa \currentfontscale] > \definefont [gothic] [Gothic sa \currentfontscale] > \definefont [caligraphic] [Caligraphic sa \currentfontscale] > \def\frak #1{\ifmmode\hbox{\fractur #1}\else\factur #1\fi} > \def\goth #1{\ifmmode\hbox{\gothic #1}\else\gothic #1\fi} > \def\cal #1{\ifmmode\hbox{\caligraphic #1}\else\caligraphic #1\fi} The problem is that the ones I mentioned are already defined, and I want to remain upward compatible. > (so small letters), I don't know whether it is possible with Fraktur to obtain > umlauts, ligatures etc., if not I think this is also a ''math only'' candidate. If the encoding is right, it should work, otherwise something should be cooked up, but I fear it only works ok for a normal encoded font. > \definefontsynonym [RalfSmithFS] [rsfs10] > \definefont [ralfsmithfs] [RalfSmithFS sa \currentfontscale] > \def\rsfs #1{\ifmmode\hbox{\ralfsmithfs #1}\else\ralfsmithfs #1\fi} > > The question is: Where should we put something like this? If you use it as caligraphic, then I would say: \definefontsynonym[RalfSmithFormalScript] [rsfs10] % goes into font-fil.tex \definefontsynonym[Caligraphic][RalfSmithFormalScript] % goes into a style/preamble So, no separate font file is needed, just a setting in the preamble of your document (or your local cont-sys.tex file). I've added the rsfs entry to font-fil. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl -----------------------------------------------------------------