From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24146 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: Re: cal & calligraphic Date: Mon, 5 Dec 2005 21:12:56 +0100 Message-ID: <0C321E2D-19C7-4FAC-99F1-AE7BBF3C9A18@science.uva.nl> References: <4392CAB2.9080500@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133813779 4255 80.91.229.2 (5 Dec 2005 20:16:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Dec 2005 20:16:19 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 05 21:16:14 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EjMit-00041A-2G for gctc-ntg-context-518@m.gmane.org; Mon, 05 Dec 2005 21:14:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CE6A41281D; Mon, 5 Dec 2005 21:14:05 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22022-04; Mon, 5 Dec 2005 21:14:00 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 93B6F127FC; Mon, 5 Dec 2005 21:14:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A675F127FC for ; Mon, 5 Dec 2005 21:13:58 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21981-09-2 for ; Mon, 5 Dec 2005 21:13:57 +0100 (CET) Original-Received: from smtp.science.uva.nl (smtp.science.uva.nl [146.50.4.84]) by ronja.ntg.nl (Postfix) with ESMTP id 9FFDF127F8 for ; Mon, 5 Dec 2005 21:13:57 +0100 (CET) Original-Received: from 118-127.uva.surfnetthuis.nl [145.98.118.127] by smtp.science.uva.nl with ESMTP (sendmail 8.11.6p2/config 11.36). id jB5KDsb17534; Mon, 5 Dec 2005 21:13:54 +0100 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ In-Reply-To: <4392CAB2.9080500@elvenkind.com> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.733) X-Virus-Scanned: by amavisd-new X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24146 Archived-At: For your information, the problem arose because Y&Y's MathTimes does not has its calligraphic letters in the MathItalic font, but in a separate calligraphic font (mtms and friends). On Dec 4, 2005, at 11:53, Taco Hoekwater wrote: > Hans van der Meer wrote: > >> I am confused about the behaviour of \cal and calligraphic. >> In a font where the calligraphic letters are in MathItalic all >> goes well. >> But, in a font where the calligraphic letters come from another >> font I get: >> \definefontsynonym [Calligraphic] [FONT_OTHER_THAN_MathSymbol] >> > > The font "Calligraphic" is not the same as the math alphabet for \cal, > except when the only calligraphic alphabet available is the one in > the math font. The confusion arises because in text mode, \cal is > remapped to the \calligraphic command. (switching to math mode would > be too hard to do reliably at this point). > > > B.: Or there could be: > > in text: \calligraphic{ABC} is ok > in text: {\cal ABC} is ok > in math: $\calligraphic{ABC}$ is ok > in text: ${\cal ABC}$ is ok > > This needs an even weirder definition of \cal, but it can be > done (note: this trashes a math family completely!): > > \def\cal% > {\mathortext > {\hbox{% > \symbolicscaledfont{1}{Calligraphic}% > \global\textfont\nnfam=\thedefinedfont > \symbolicscaledfont{0.7}{Calligraphic}% > \global\scriptfont\nnfam=\thedefinedfont > \symbolicscaledfont{0.5}{Calligraphic}% > \global\scriptscriptfont\nnfam=\thedefinedfont}% > \fam\nnfam } > {\symbolicfont{Calligraphic}}} > I would think the most elegant solution is the one where \calligraphic {ABC} and {\cal ABC} in both text and math modes give the same result. Thus no exceptional behaviour for one of these four. Any other choice would in my opinion be confusing and difficult to understand. yours sincerely, Hans van der Meer