From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77390 Path: news.gmane.org!not-for-mail From: Andreas Mang Newsgroups: gmane.comp.tex.context Subject: Re: math symbol: blacktriangle Date: Tue, 17 Jul 2012 20:41:38 +0200 Message-ID: <52199C5E-2662-4AA8-936E-37667CACBEEF@imt.uni-luebeck.de> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1342550516 2035 80.91.229.3 (17 Jul 2012 18:41:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 17 Jul 2012 18:41:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 17 20:41:55 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SrCiS-00054U-IY for gctc-ntg-context-518@m.gmane.org; Tue, 17 Jul 2012 20:41:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4B4AF10273; Tue, 17 Jul 2012 20:41:47 +0200 (CEST) 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 qnoo23kl1sdR; Tue, 17 Jul 2012 20:41:44 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 6E8811025B; Tue, 17 Jul 2012 20:41:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0EDC01025B for ; Tue, 17 Jul 2012 20:41:43 +0200 (CEST) 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 VUkGXsMHztXA for ; Tue, 17 Jul 2012 20:41:41 +0200 (CEST) Original-Received: from filter2-utr.mf.surf.net (filter2-utr.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id BA97310251 for ; Tue, 17 Jul 2012 20:41:41 +0200 (CEST) Original-Received: from ip2.rz.uni-luebeck.de (ip2.rz.uni-luebeck.de [141.83.100.72]) by filter2-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6HIfdub032227 for ; Tue, 17 Jul 2012 20:41:40 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EAB+xBVCNU3BB/2dsb2JhbABCA7kEgQeCIAEBAQMBAQEBN0QJAgIBCBgeEBsMCyUBAQQTiAcHAwe9QwSLPIMugyEDlk+OdoJh Original-Received: from mail.imt.uni-luebeck.de ([141.83.112.65]) by ip2.rz.uni-luebeck.de with ESMTP; 17 Jul 2012 20:41:39 +0200 Original-Received: from mail.imt.uni-luebeck.de ([fe80::5194:66e8:27c3:6165]) by mail.imt.uni-luebeck.de ([fe80::5194:66e8:27c3:6165%10]) with mapi; Tue, 17 Jul 2012 20:41:39 +0200 Thread-Topic: [NTG-context] math symbol: blacktriangle Thread-Index: Ac1kS80g31AgGofYR9CcGp2fqY69Mg== In-Reply-To: Accept-Language: en-US, de-DE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, de-DE X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.83.100.72; country=DE; region=10; city=Lubeck; latitude=53.8667; longitude=10.7000; http://maps.google.com/maps?q=53.8667,10.7000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04HzuFDtA - 41b36e817947 - 20120717 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77390 Archived-At: Hi Aditya, Thanks for the advice. As I am a newby, I'd decided to respond to the list: I had a look at "char-def.lua" and I think the only thing that needs to be done is to add mathname="blacktriangle", to [0x25B4]={ adobename="blackuppointingsmalltriangle", category="so", description="BLACK UP-POINTING SMALL TRIANGLE", direction="on", linebreak="al", unicodeslot=0x25B4, }, The unicodeslot is consistent to what I've found in the famous WWW http://www.fileformat.info/info/unicode/char/25b4/index.htm Same goes for [0x25BE]={ category="so", description="BLACK DOWN-POINTING SMALL TRIANGLE", direction="on", linebreak="al", unicodeslot=0x25BE, }, with mathname="blacktriangledown" under the assumption you'd like to be consistent with the naming convention of latex. Right? Cheers, Andreas On Jul 17, 2012, at 7:39 PM, Aditya Mahajan wrote: > On Tue, 17 Jul 2012, Andreas Mang wrote: > >> Dear all, >> >> The \blacktriangle and \blacktriangledown symbol seem to be missing, >> though \blacktriangleright and \...-left are defined. Is there a quick >> way to add missing symbols by myself from the knowledge of Unicode / XML >> identifier (http://www-sop.inria.fr/marelle/tralics/doc-b.html)? > > For opentype math fonts, have a look at char-def.lua. To add missing > symbols, you need to add appropriate fields in the lua table. > > The hard part is verifying the symbol to unicode slot mapping (the list at > tralics is not always consistent with the ams list that is used by > unicode-math package). If you know the right mappings, add a patch to > char-def.lua and send it to the list (or the dev-context list); otherwise, > just send the mappings and I can add them to the lua table. > > 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 > ___________________________________________________________________________________ -- Andreas Mang, MSc Research Associate UNIVERSITY OF LUEBECK INSTITUTE OF MEDICAL ENGINEERING Division of Computer Science, Engineering and Natural Sciences Ratzeburger Allee 160, Building 64 23562 Luebeck, Germany Phone: +49 (0) 451 500 5416 Fax: +49 (0) 451 500 5403 mang@imt.uni-luebeck.de http://www.imt.uni-luebeck.de ___________________________________________________________________________________ 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 ___________________________________________________________________________________