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 m...@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 ___________________________________________________________________________________