ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: lm otf math
Date: Fri, 13 May 2011 11:43:45 +0200	[thread overview]
Message-ID: <4DCCFD51.5050106@wxs.nl> (raw)
In-Reply-To: <BANLkTimSLtViP4YBGqdGT0RgxdQHpCk_fw@mail.gmail.com>

On 12-5-2011 8:18, George N. White III wrote:
> On Thu, May 12, 2011 at 11:43 AM, Hans Hagen<pragma@wxs.nl>  wrote:
>
>> On 12-5-2011 3:42, Aditya Mahajan wrote:
>>>
>>> On Thu, 12 May 2011, Martin Schröder wrote:
>>>
>>>> 2011/5/12 Hans Hagen<pragma@wxs.nl>:
>>>>>
>>>>> \starttext
>>>>>    $e=mc^2$
>>>>
>>>> Shouldn't that be something like e=mc²?
>>>
>>> No. IIRC, we had a discussion sometime ago whether we should treat ¹,²,
>>> etc as
>>> valid superscripts in math mode, and decided against it.
>>
>> how about an article (for the maps/tugboat) about good math coding practices
>> in these unicode times
>
> Or a new book: "Joy of ConTeXt" (for those who remember Spivak's "Joy of TeX").
>
> Authors are going to provide tex sorce files that use e=mc² (and
> unless someone does SEO
> to ensure they find the afore mentioned article) will consider it a
> bug when it doesn't work.
> Other sources of confusion come when authors use a fixed font to edit
> and try to match
> glyphs (using Windows CharMap or BabelMap): you get 45˚N when it
> should be 45°N),
> or use auctex+preview in which $e=mc^2$ gives $e=mc^²$ in the emacs window.
>
> There is a need for a TeXCharTool that does BabelMap stuff but
> provides annotations describing appropriate TeX usages and can be
> searched using legacy TeX markup (e.g., to assist with
> converting old docs to unicode).

The next beta will deal with Schröder math input encoding:

$e=mc²$ $x²ᶞ$ $x⁽²⁺²⁼²⁺²⁾$ $x₅²$

However, as we don't like it too much, at the end of a run mkiv will 
report the replacements so that an author can consider fixing it. It 
might become optional at some point (makes a nice topic for the context 
conference).

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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-05-13  9:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-12 13:28 Hans Hagen
2011-05-12 13:37 ` Martin Schröder
2011-05-12 13:42   ` Aditya Mahajan
2011-05-12 14:43     ` Hans Hagen
2011-05-12 18:18       ` George N. White III
2011-05-13  9:43         ` Hans Hagen [this message]
2011-05-13  9:57           ` Martin Schröder
2011-05-12 13:43   ` Hans Hagen
2011-05-13  7:52 ` Vedran Miletić
2011-05-13  8:04   ` Hans Hagen
2011-05-13 17:24     ` Vedran Miletić
2011-05-13 17:32       ` Hans Hagen

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=4DCCFD51.5050106@wxs.nl \
    --to=pragma@wxs.nl \
    --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).