ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: MnSymbol (math) support in ConTeXt
Date: Thu, 15 Dec 2011 14:29:20 +0100	[thread overview]
Message-ID: <CALBOmsaue-EWyTJA6d=Q6eXsdmgOOxRo+EViGG-jUvzd3CjnxQ@mail.gmail.com> (raw)
In-Reply-To: <CAGfkPGmP+74oZpD9spZZKxV0J_N5p5gHnFBxTQ_GtZGSDLP8CA@mail.gmail.com>

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
___________________________________________________________________________________


  reply	other threads:[~2011-12-15 13:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-11 22:32 Peter Park Nelson
2011-12-14 17:16 ` Mojca Miklavec
2011-12-14 17:38   ` Khaled Hosny
2011-12-14 17:44     ` Wolfgang Schuster
2011-12-14 18:04       ` Mojca Miklavec
2011-12-14 18:08       ` Peter Park Nelson
2011-12-15 13:29         ` Mojca Miklavec [this message]
2011-12-15 17:54           ` Peter Park Nelson
2011-12-15 18:11             ` Mojca Miklavec

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='CALBOmsaue-EWyTJA6d=Q6eXsdmgOOxRo+EViGG-jUvzd3CjnxQ@mail.gmail.com' \
    --to=mojca.miklavec.lists@gmail.com \
    --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).