From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73206 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: MnSymbol (math) support in ConTeXt Date: Thu, 15 Dec 2011 14:29:20 +0100 Message-ID: References: <20111214173830.GA3854@khaled-laptop> <86FA307F-D1C1-4317-90F1-9EEE728F23C4@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1323955794 28431 80.91.229.12 (15 Dec 2011 13:29:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2011 13:29:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 15 14:29:44 2011 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 1RbBNY-0001QI-DR for gctc-ntg-context-518@m.gmane.org; Thu, 15 Dec 2011 14:29:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 42E05CB179; Thu, 15 Dec 2011 14:29:43 +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 0WCE2jPETfGV; Thu, 15 Dec 2011 14:29:38 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0DBA2CB173; Thu, 15 Dec 2011 14:29:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 46C9ECB173 for ; Thu, 15 Dec 2011 14:29:37 +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 Ismat5d+vFnL for ; Thu, 15 Dec 2011 14:29:22 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id A398BCB172 for ; Thu, 15 Dec 2011 14:29:22 +0100 (CET) Original-Received: from mail-qw0-f41.google.com (mail-qw0-f41.google.com [209.85.216.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pBFDTLmW031843 for ; Thu, 15 Dec 2011 14:29:21 +0100 Original-Received: by qan41 with SMTP id 41so293711qan.14 for ; Thu, 15 Dec 2011 05:29:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=4dp9owlpitxN00NF9vwmEzNYRm7tzNCbmql5DdYfvNE=; b=gRl5Wh3zLutHf6EUcdw0VRNzkqjchdKQ7SSgNyursQGbdBwfKOhWN4BRz0QAV911Rq 8KK68mHELv3TowaMBAQt96aCS7dj9muip+M4zU4LDwTet7Om9jgHwazNH8RBRLqssqW9 pcmptBHy+jS14ZjPVOnVxLkDm0HnDmOnZ+X9s= Original-Received: by 10.224.17.209 with SMTP id t17mr5586823qaa.24.1323955760638; Thu, 15 Dec 2011 05:29:20 -0800 (PST) Original-Received: by 10.229.44.199 with HTTP; Thu, 15 Dec 2011 05:29:20 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rG9ptlOb - 5979a0764c9b - 20111215 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:73206 Archived-At: On Wed, Dec 14, 2011 at 19:08, Peter Park Nelson wrote: > > If adding MnSymbol support were only a matter of tedious manual labor, I That is more or less the case. There is no reason why it should not work with ConTeXt. The main reason why I never looked into it is that the font offers different optical sizes. And supporting optical sizes is something that complicates matters a lot. If you would be happy with a single optical size, that would be a lot easier. > would be willing to give it a try, but without an understanding of font > internals I don't know where to start. Perhaps someone can suggest resources > for learning? Are we talking about MKIV? ConTeXt sources. math-vfu.lua and other math-*.mkiv/lua files, as well as font-*.mkiv/lua. You need to define a mapping vector to map from 8bit font to UTF-8. See for example mathencodings["tex-mi"] = { [0x1D6E4] = 0x00, -- Gamma [0x1D6E5] = 0x01, -- Delta in math-vfu.lua or tex/context/fonts/lucida-math.lfg or keep asking questions. There is no manual to explain how to write such vectors. > Also, I see that there are MnSymbol files in > http://minimals.contextgarden.net/current/fonts/extra/mnsymbol/ but these > don't appear to be included in my ConTeXt Standalone installation. Does > anyone know about them? You need an extra switch. I think that --font=mnsymbol should work, but I need to test (there's a chance that it doesn't and I plan to change that anyway). Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________