From: Andreas Mang <mang@imt.uni-luebeck.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: math symbol: blacktriangle
Date: Tue, 17 Jul 2012 20:41:38 +0200 [thread overview]
Message-ID: <52199C5E-2662-4AA8-936E-37667CACBEEF@imt.uni-luebeck.de> (raw)
In-Reply-To: <alpine.LNX.2.02.1207171335110.8321@qrpragenyvmrq>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-07-17 18:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-17 17:13 Andreas Mang
2012-07-17 17:39 ` Aditya Mahajan
2012-07-17 18:41 ` Andreas Mang [this message]
2012-07-17 23:20 ` Hans Hagen
2012-07-18 6:47 ` Andreas Mang
2012-07-18 8:37 ` Hans Hagen
2012-07-18 9:10 ` Andreas Mang
2012-07-18 15:50 ` Aditya Mahajan
2012-07-17 19:40 ` Hans Hagen
2012-07-17 20:36 ` Khaled Hosny
2012-07-17 22:29 ` Hans Hagen
2012-07-18 11:25 ` Khaled Hosny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52199C5E-2662-4AA8-936E-37667CACBEEF@imt.uni-luebeck.de \
--to=mang@imt.uni-luebeck.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).