Re: [NTG-context] lm otf math

2011-05-13 Thread Vedran Miletić
2011/5/12 Hans Hagen pra...@wxs.nl

 Hi,

 The minimals now carry a beta version of lmmath.otf. Even when all lm and
 gyre math fonts are released, the vf variants will stay available if only
 because we need them to test luatex's virtual font machinery.

 As there is only one design size (but with a proper ssty feature), I
 decided to hook this font into the non-designsize variant, so you can test
 with:

 \usetypescript[modern-base] \setupbodyfont[modern]

 \starttext
$e=mc^2$
 \stoptext

 Problems can be reported to this list (or alternatively we can make a page
 on the wiki for it).

 Hans


Just curious: why is it embedded as being named Latin?

Vedran
___
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
___

Re: [NTG-context] lm otf math

2011-05-13 Thread Hans Hagen

On 13-5-2011 9:52, Vedran Miletić wrote:

2011/5/12 Hans Hagenpra...@wxs.nl


Hi,

The minimals now carry a beta version of lmmath.otf. Even when all lm and
gyre math fonts are released, the vf variants will stay available if only
because we need them to test luatex's virtual font machinery.

As there is only one design size (but with a proper ssty feature), I
decided to hook this font into the non-designsize variant, so you can test
with:

\usetypescript[modern-base] \setupbodyfont[modern]

\starttext
$e=mc^2$
\stoptext

Problems can be reported to this list (or alternatively we can make a page
on the wiki for it).

Hans



Just curious: why is it embedded as being named Latin?


because latin modern is the follow up in computer modern; the name comes 
from the fact hat it started as a merge of all those latin variants 
(cmr, aer, csr, plr, vnr, ...)


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
___

Re: [NTG-context] lm otf math

2011-05-13 Thread Hans Hagen

On 12-5-2011 8:18, George N. White III wrote:

On Thu, May 12, 2011 at 11:43 AM, Hans Hagenpra...@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 Hagenpra...@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
___

Re: [NTG-context] lm otf math

2011-05-13 Thread Martin Schröder
2011/5/13 Hans Hagen pra...@wxs.nl:
 The next beta will deal with Schröder math input encoding:

:-)))
___
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
___


Re: [NTG-context] lm otf math

2011-05-13 Thread Vedran Miletić
Dana 13. svibnja 2011. 10:04 Hans Hagen pra...@wxs.nl je napisao/la:

 On 13-5-2011 9:52, Vedran Miletić wrote:

  Just curious: why is it embedded as being named Latin?


 because latin modern is the follow up in computer modern; the name comes
 from the fact hat it started as a merge of all those latin variants (cmr,
 aer, csr, plr, vnr, ...)


 Hans


Sure, but I was asking about this:

$ pdffonts lmtest.pdf
name type emb sub uni object ID
 - --- --- --- -
JFRMQG+LMRoman10-Regular CID Type 0C yes yes yes 18 0
JYDOFF+Latin CID Type 0C yes yes yes 19 0

Shouldn't it be LMMath or something like that?

Vedran
___
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
___

Re: [NTG-context] lm otf math

2011-05-13 Thread Hans Hagen

On 13-5-2011 7:24, Vedran Miletić wrote:


name type emb sub uni object ID
 - --- --- --- -
JFRMQG+LMRoman10-Regular CID Type 0C yes yes yes 18 0
JYDOFF+Latin CID Type 0C yes yes yes 19 0

Shouldn't it be LMMath or something like that?


sure, it will be something more appropriate ... this is really a 
prerelease and such things will change


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
___

Re: [NTG-context] lm otf math

2011-05-12 Thread Martin Schröder
2011/5/12 Hans Hagen pra...@wxs.nl:
 \starttext
    $e=mc^2$

Shouldn't that be something like e=mc²?

Best
   Martin
___
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
___


Re: [NTG-context] lm otf math

2011-05-12 Thread Aditya Mahajan

On Thu, 12 May 2011, Martin Schröder wrote:


2011/5/12 Hans Hagen pra...@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.

Aditya___
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
___

Re: [NTG-context] lm otf math

2011-05-12 Thread Hans Hagen

On 12-5-2011 3:37, Martin Schröder wrote:

2011/5/12 Hans Hagenpra...@wxs.nl:

\starttext
$e=mc^2$


Shouldn't that be something like e=mc²?


Maybe at some point I will provide that as an option, but ² is one of 
those weird unicode things ... what woudl you do in this case:


a = bc^{2d}

or

a = bc^{d^2}

which then could be entered as:

a = bc^{d²}

quite debatable.

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
___


Re: [NTG-context] lm otf math

2011-05-12 Thread Hans Hagen

On 12-5-2011 3:42, Aditya Mahajan wrote:

On Thu, 12 May 2011, Martin Schröder wrote:


2011/5/12 Hans Hagen pra...@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


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
___


Re: [NTG-context] lm otf math

2011-05-12 Thread George N. White III
On Thu, May 12, 2011 at 11:43 AM, Hans Hagen pra...@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 pra...@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).

-- 
George N. White III aa...@chebucto.ns.ca
Head of St. Margarets Bay, Nova Scotia
___
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
___