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 -----------------------------------------------------------------
On 12-5-2011 3:42, Aditya Mahajan wrote:
On Thu, 12 May 2011, Martin Schröder wrote:
2011/5/12 Hans Hagen
: \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 -----------------------------------------------------------------
On Thu, May 12, 2011 at 11:43 AM, 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
: \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
On 12-5-2011 8:18, George N. White III wrote:
On Thu, May 12, 2011 at 11:43 AM, Hans Hagen
wrote: On 12-5-2011 3:42, Aditya Mahajan wrote:
On Thu, 12 May 2011, Martin Schröder wrote:
2011/5/12 Hans Hagen
: \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 -----------------------------------------------------------------
On 12-5-2011 3:37, Martin Schröder wrote:
2011/5/12 Hans Hagen
: \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 -----------------------------------------------------------------
2011/5/12 Hans Hagen
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
On 13-5-2011 9:52, Vedran Miletić wrote:
2011/5/12 Hans Hagen
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 -----------------------------------------------------------------
Dana 13. svibnja 2011. 10:04 Hans Hagen
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
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 -----------------------------------------------------------------
participants (5)
-
Aditya Mahajan
-
George N. White III
-
Hans Hagen
-
Martin Schröder
-
Vedran Miletić