ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* lm otf math
@ 2011-05-12 13:28 Hans Hagen
  2011-05-12 13:37 ` Martin Schröder
  2011-05-13  7:52 ` Vedran Miletić
  0 siblings, 2 replies; 12+ messages in thread
From: Hans Hagen @ 2011-05-12 13:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

-----------------------------------------------------------------
                                           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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: lm otf math
  2011-05-12 13:28 lm otf math Hans Hagen
@ 2011-05-12 13:37 ` Martin Schröder
  2011-05-12 13:42   ` Aditya Mahajan
  2011-05-12 13:43   ` Hans Hagen
  2011-05-13  7:52 ` Vedran Miletić
  1 sibling, 2 replies; 12+ messages in thread
From: Martin Schröder @ 2011-05-12 13:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2011/5/12 Hans Hagen <pragma@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: lm otf math
  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 13:43   ` Hans Hagen
  1 sibling, 1 reply; 12+ messages in thread
From: Aditya Mahajan @ 2011-05-12 13:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 313 bytes --]

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.

Aditya

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: lm otf math
  2011-05-12 13:37 ` Martin Schröder
  2011-05-12 13:42   ` Aditya Mahajan
@ 2011-05-12 13:43   ` Hans Hagen
  1 sibling, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2011-05-12 13:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 12-5-2011 3:37, Martin Schröder wrote:
> 2011/5/12 Hans Hagen<pragma@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: lm otf math
  2011-05-12 13:42   ` Aditya Mahajan
@ 2011-05-12 14:43     ` Hans Hagen
  2011-05-12 18:18       ` George N. White III
  0 siblings, 1 reply; 12+ messages in thread
From: Hans Hagen @ 2011-05-12 14:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: lm otf math
  2011-05-12 14:43     ` Hans Hagen
@ 2011-05-12 18:18       ` George N. White III
  2011-05-13  9:43         ` Hans Hagen
  0 siblings, 1 reply; 12+ messages in thread
From: George N. White III @ 2011-05-12 18:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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).

-- 
George N. White III <aa056@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: lm otf math
  2011-05-12 13:28 lm otf math Hans Hagen
  2011-05-12 13:37 ` Martin Schröder
@ 2011-05-13  7:52 ` Vedran Miletić
  2011-05-13  8:04   ` Hans Hagen
  1 sibling, 1 reply; 12+ messages in thread
From: Vedran Miletić @ 2011-05-13  7:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 695 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 991 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: lm otf math
  2011-05-13  7:52 ` Vedran Miletić
@ 2011-05-13  8:04   ` Hans Hagen
  2011-05-13 17:24     ` Vedran Miletić
  0 siblings, 1 reply; 12+ messages in thread
From: Hans Hagen @ 2011-05-13  8:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 13-5-2011 9:52, Vedran Miletić wrote:
> 2011/5/12 Hans Hagen<pragma@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: lm otf math
  2011-05-12 18:18       ` George N. White III
@ 2011-05-13  9:43         ` Hans Hagen
  2011-05-13  9:57           ` Martin Schröder
  0 siblings, 1 reply; 12+ messages in thread
From: Hans Hagen @ 2011-05-13  9:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: lm otf math
  2011-05-13  9:43         ` Hans Hagen
@ 2011-05-13  9:57           ` Martin Schröder
  0 siblings, 0 replies; 12+ messages in thread
From: Martin Schröder @ 2011-05-13  9:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2011/5/13 Hans Hagen <pragma@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: lm otf math
  2011-05-13  8:04   ` Hans Hagen
@ 2011-05-13 17:24     ` Vedran Miletić
  2011-05-13 17:32       ` Hans Hagen
  0 siblings, 1 reply; 12+ messages in thread
From: Vedran Miletić @ 2011-05-13 17:24 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 721 bytes --]

Dana 13. svibnja 2011. 10:04 Hans Hagen <pragma@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

[-- Attachment #1.2: Type: text/html, Size: 1288 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: lm otf math
  2011-05-13 17:24     ` Vedran Miletić
@ 2011-05-13 17:32       ` Hans Hagen
  0 siblings, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2011-05-13 17:32 UTC (permalink / raw)
  To: Vedran Miletić; +Cc: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-05-13 17:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-12 13:28 lm otf math 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
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

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).