From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55785 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Calligraphic letters in Mark IV Date: Sun, 24 Jan 2010 16:17:32 -0500 (EST) Organization: Message-ID: References: <14AAC5F8-22CF-43BC-ABAE-6D91B734A8D5@uva.nl> <01B55BA4-FE4A-4AA6-83F6-695CB56A4190@gmail.com> <2B222B03-0FDD-41C0-BF46-265F683B7C8B@uva.nl> <4B4E09FA.4000307@wxs.nl> <901906F1-CFC7-4A9A-8909-8CEAC0E7006C@uva.nl> <1656F9A9-52F7-4FC5-AE57-3309F752A93F@uva.nl> <4B4E2F70.5020103@wxs.nl> <07860E21-DC5A-4678-A821-FC807420627C@indiana.edu> <6CF9657D-3F72-4BCA-A4F5-E83938344C51@indiana.edu> <4B4F9C8B.3050307@wxs.nl> <4B456726-CCF3-4889-A237-1C7B6E3E5AE3@indiana.edu> <53590C9A-D906-41E9-9481-A24D5C745C40@indiana.edu> <4B54233F.90307@wxs.nl> <1F076ACF-B2D2-4EB9-B371-293265296E38@indiana.edu> <4B59E06A.1000304@wxs.nl> <4B59EC5D.7000304@googlemail.com> <4B5C4C83.8050602@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1264367873 3863 80.91.229.12 (24 Jan 2010 21:17:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Jan 2010 21:17:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 24 22:17:45 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NZ9q1-0001uw-9a for gctc-ntg-context-518@m.gmane.org; Sun, 24 Jan 2010 22:17:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0CB3FC9C43; Sun, 24 Jan 2010 22:17:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bvITE31Tdr3J; Sun, 24 Jan 2010 22:17:44 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 74264C9C38; Sun, 24 Jan 2010 22:17:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CD2F1C9C38 for ; Sun, 24 Jan 2010 22:17:42 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ciIDf57vigIL for ; Sun, 24 Jan 2010 22:17:31 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by balder.ntg.nl (Postfix) with ESMTP id 026F7C9C2B for ; Sun, 24 Jan 2010 22:17:30 +0100 (CET) Original-Received: FROM [192.168.2.8] (c-76-28-91-31.hsd1.ct.comcast.net [76.28.91.31]) By hellskitchen.mr.itd.umich.edu ID 4B5CB8E4.2B6E1.15534 ; Authuser adityam; 24 Jan 2010 16:17:24 EST In-Reply-To: <4B5C4C83.8050602@wxs.nl> User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:55785 Archived-At: On Sun, 24 Jan 2010, Hans Hagen wrote: > On 22-1-2010 19:20, Wolfgang Schuster wrote: > >> \unexpanded\def\calligraphic{\ifmmode\expandafter\mathscript \fi} >> >> to math-ini.mkiv? > > probably something > > \unexpanded\def\calligraphic{\groupedcommand{... > > then but lets see what aditya thinks of it ... I think that we should have \calligraphic for text calligraphic fonts only. For math, plain tex had \cal as a font switch, MkIV has \mathscript and \mathcal. I am not sure that we need another font switch in math. I know, that in mkii \calligraphic is available in math mode, but I did not like that either. Since you are asking for my opinion, I think that it should go :-). For backward compatibility, we can add appropriate definition of \calligraphic to m-mkii module. While we are at this topic, I think that we should change the definitions of \mathbf, \mathtf, etc from being a font switch to being a grouped command (to be more in tune with ams convetions). So, in math-ini.mkiv we can have diff --git a/math-ini.mkiv b/math-ini.mkiv index 17b0205..65bd43c 100644 --- a/math-ini.mkiv +++ b/math-ini.mkiv @@ -72,23 +72,27 @@ \unexpanded\def\mathfraktur {\setmathalphabet{fraktur}} \unexpanded\def\mathblackboard{\setmathalphabet{blackboard}} -\unexpanded\def\mathrm{\setmathattribute{rm}{tf}} -\unexpanded\def\mathss{\setmathattribute{ss}{tf}} -\unexpanded\def\mathtt{\setmathattribute{tt}{tf}} - -\unexpanded\def\mathtf{\setmathstyle{tf}} -\unexpanded\def\mathbf{\setmathstyle{bf}} -\unexpanded\def\mathsl{\setmathstyle{sl}} -\unexpanded\def\mathit{\setmathstyle{it}} -\unexpanded\def\mathbs{\setmathstyle{bs}} -\unexpanded\def\mathbi{\setmathstyle{bi}} - -\let\tfmath\mathtf % maybe a grouped command -\let\bfmath\mathbf -\let\slmath\mathsl -\let\itmath\mathit -\let\bsmath\mathbs -\let\bimath\mathbi +\unexpanded\def\rmmath{\setmathattribute{rm}{tf}} +\unexpanded\def\ssmath{\setmathattribute{ss}{tf}} +\unexpanded\def\ttmath{\setmathattribute{tt}{tf}} + +\unexpanded\def\tfmath{\setmathstyle{tf}} +\unexpanded\def\bfmath{\setmathstyle{bf}} +\unexpanded\def\slmath{\setmathstyle{sl}} +\unexpanded\def\itmath{\setmathstyle{it}} +\unexpanded\def\bsmath{\setmathstyle{bs}} +\unexpanded\def\bimath{\setmathstyle{bi}} + +\unexpanded\def\mathrm{\groupedcommand{\rmmath}{}} +\unexpanded\def\mathss{\groupedcommand{\ssmath}{}} +\unexpanded\def\mathtt{\groupedcommand{\ttmath}{}} + +\unexpanded\def\mathtf{\groupedcommand{\tfmath}{}} +\unexpanded\def\mathbf{\groupedcommand{\bfmath}{}} +\unexpanded\def\mathsl{\groupedcommand{\slmath}{}} +\unexpanded\def\mathit{\groupedcommand{\itmath}{}} +\unexpanded\def\mathbs{\groupedcommand{\bsmath}{}} +\unexpanded\def\mathbi{\groupedcommand{\bimath}{}} \let\Bbb\mathblackboard What do you think? Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________