From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36999 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: LuaTeX and Unicode Math Date: Sat, 20 Oct 2007 09:17:56 +0200 Message-ID: <4719ABA4.3090406@elvenkind.com> References: <6faad9f00710021616j3ddfd5d7taeb8bcbeb8eb22c1@mail.gmail.com> <470335C0.8010704@elvenkind.com> <6faad9f00710191648u451c65dm490f964128ae9f31@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1192864736 8542 80.91.229.12 (20 Oct 2007 07:18:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Oct 2007 07:18:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 20 09:18:55 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Ij8bk-00073D-B0 for gctc-ntg-context-518@m.gmane.org; Sat, 20 Oct 2007 09:18:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4CB261FA85; Sat, 20 Oct 2007 09:18:42 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03147-03; Sat, 20 Oct 2007 09:18:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 06E591FAAF; Sat, 20 Oct 2007 09:18:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 60DBB1FAAF for ; Sat, 20 Oct 2007 09:18:10 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03417-02 for ; Sat, 20 Oct 2007 09:17:58 +0200 (CEST) Original-Received: from post-26.mail.nl.demon.net (post-26.mail.nl.demon.net [194.159.73.196]) by ronja.ntg.nl (Postfix) with ESMTP id 705D21FA85 for ; Sat, 20 Oct 2007 09:17:57 +0200 (CEST) Original-Received: from boo.demon.nl ([82.161.175.147]:50166 helo=[10.10.0.6]) by post-26.mail.nl.demon.net with esmtp (Exim 4.51) id 1Ij8ar-0008fo-3V for ntg-context@ntg.nl; Sat, 20 Oct 2007 07:17:57 +0000 User-Agent: Thunderbird 1.5.0.10 (X11/20070305) In-Reply-To: <6faad9f00710191648u451c65dm490f964128ae9f31@mail.gmail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:36999 Archived-At: Mojca Miklavec wrote: > > What about \neq and \[l]dots? How can I get those working in "unicode > math input"? In general, it is better not to do that, (because it is slower and needs lots of control sequences), but if the font does not contain what you need, you have no choice, of course. > \definemathcharacter [≠] {\neq} > is probably not adapted to such definitions. You are right, it is not. But the currently ignored command \definemathcharacter [≠] [\neq] could be made to work easily enough. Here is an example of such an approach (the implementation is very ugly, I am just trying to demonstrate: \let\mydodefinemathcharacter\dodefinemathcharacter \def\dodefinemathcharacter[#1][#2][#3][#4][#5][#6]% {\iffourthargument \mydodefinemathcharacter[#1][#2][#3][#4][#5][#6]% \else \begingroup \catcode`#1=\active \uccode`~=`#1 \uppercase{\gdef~{#2}}% \endgroup \mathcode`#1="8000 \fi} Best wishes, Taco ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________