From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56191 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: some math symbols not working Date: Thu, 11 Feb 2010 18:10:46 -0500 (EST) Message-ID: References: <4B6FD4ED.50704@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1014546107-1265929846=:20130" X-Trace: ger.gmane.org 1265929878 20614 80.91.229.12 (11 Feb 2010 23:11:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Feb 2010 23:11:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 12 00:11:15 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.69) (envelope-from ) id 1NfiBk-0006FJ-VB for gctc-ntg-context-518@m.gmane.org; Fri, 12 Feb 2010 00:11:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0E42BC9E3D; Fri, 12 Feb 2010 00:13:02 +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 kOOpX+wPKKxl; Fri, 12 Feb 2010 00:12:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5C367C9E3F; Fri, 12 Feb 2010 00:12:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3D015C9E3F for ; Fri, 12 Feb 2010 00:12:46 +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 G2ZLHx+rp9C1 for ; Fri, 12 Feb 2010 00:12:40 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by balder.ntg.nl (Postfix) with ESMTP id F33F4C9E3D for ; Fri, 12 Feb 2010 00:12:38 +0100 (CET) Original-Received: FROM dhcp128036154098.central.yale.edu (dhcp128036154098.central.yale.edu [128.36.154.98]) By tombraider.mr.itd.umich.edu ID 4B748E73.CAE82.15644 ; Authuser adityam; 11 Feb 2010 18:10:43 EST In-Reply-To: <4B6FD4ED.50704@gmx.de> 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:56191 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1014546107-1265929846=:20130 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Mon, 8 Feb 2010, Warrence wrote: > Hi, > I was trying some math symbols and stumbled over the following commands, that > do not work in my context documents (the comments say what's not working > exactly). The pasted document works at http://live.contextgarden.net/ . I'm > using the latest context-minimals as provided on the website. Is this a MkIV > issue? Yes. The mappings in MkIV are incomplete. Whenever you find a missing symbol, send an email, and I will try to fix add it. > \cong The mapping in math-vfu is wrong and it was mapping the unicode slot of cong to the glyph for dotplus. I am attaching a file that fixes this. However, I do not know how to proceed for \cong. \cong is one of the symbols thar are composed from other symbols in plain tex. So, most traditional tex math fonts (including LM) do not have that symbol. However, opentype math fonts do. Ideally, what we want to map \cong to a font glyph, if one exists; otherwise, we should fall back to a composed character. Hans, we need a mechanism to implement fallbacks for math characters. > \mapsto > \hookleftarrow > \longleftarrow > \Longleftarrow > \longrightarrow > \Longrightarrow > \longleftrightarrow > \Longleftrightarrow > \longmapsto > \hookrightarrow > \bowtie > \models > \Join Same thing as \cong. > \blacksquare Added > In addition: \ncong is not aligned with = and \cong I am not sure what \ncong should map to: 0x2246 or 0x2247? There is inconsistency between the mappings in char-def and math-vfu which can be fixed easily once I figure out what is the correct mapping. > % the following give "Undefined control sequence": > \gneq % \lneq works Fixed.. was a typo > \Diamond \lozenge I am not sure which unicode slot this should map to (0x25C7?). What is the difference between \diamond and \Diamond? > \lhd > \rhd > \unlhd > \unrhd I am not sure which unicode slot they should map to. In ams mappings \triangleleft is different from \lhd, and I cannot find the right symbols for both. I will investigate more for the last two sets. In the mean time, Hans can you apply the attached patch for \blacksquare and \gneq. Aditya --8323328-1014546107-1265929846=:20130 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=diff Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=diff ZGlmZiAtLWdpdCBhL2NoYXItZGVmLmx1YSBiL2NoYXItZGVmLmx1YQ0KaW5k ZXggM2FlYzQwMS4uNWY3NjhlMyAxMDA2NDQNCi0tLSBhL2NoYXItZGVmLmx1 YQ0KKysrIGIvY2hhci1kZWYubHVhDQpAQCAtNTQyNzcsNiArNTQyNzcsOCBA QCBjaGFyYWN0ZXJzLmRhdGE9ew0KICAgZGVzY3JpcHRpb249Ik5PUk1BTCBT VUJHUk9VUCBPRiIsDQogICBkaXJlY3Rpb249Im9uIiwNCiAgIGxpbmVicmVh az0iYWwiLA0KKyAgbWF0aHNwZWMgPSB7DQorICAgIGNsYXNzPSJiaW4iLCBt YXRobmFtZT0idHJpYW5nbGVsZWZ0IiwNCiAgIG1hdGhjbGFzcz0iYmluIiwN CiAgIG1hdGhuYW1lPSJ0cmlhbmdsZWxlZnQiLA0KICAgbWlycm9yPTB4MjJC MywNCkBAIC01OTgwNiw2ICs1OTgwOCw4IEBAI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AgICAgICAg IFxkb3RwbHVzDQogICAgIFsweDAyMjNEXSA9IDB4NzYsIC0tIHJldnNpbWls YXIgICAgICAgICAgICBcYmFja3NpbQ0KICAgICBbMHgwMjJDRF0gPSAweDc3 LCAtLSByZXZhc3ltcHRlcXVhbCAgICAgICAgXGJhY2tzaW1lcSAtLSBBTTog Q2hlY2sgdGhpcyEgSSBtYXBwZWQgaXQgdG8gc2ltZXEuDQogICAgIFsweDAy MzFFXSA9IDB4NzgsIC0tIHJpZ2h0YW5nbGVzdyAgICAgICAgICBcbGxjb3Ju ZXINCg== --8323328-1014546107-1265929846=:20130 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --8323328-1014546107-1265929846=:20130--