On 12-5-2011 8:18, George N. White III wrote:
On Thu, May 12, 2011 at 11:43 AM, Hans Hagen<[email protected]> wrote:
On 12-5-2011 3:42, Aditya Mahajan wrote:
On Thu, 12 May 2011, Martin Schröder wrote:
2011/5/12 Hans Hagen<[email protected]>:
\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 : [email protected] / 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
___________________________________________________________________________________