Hi, As Mojca is moving the distribution to another server we have a few days of potential instability which gives us the change to experiment a bit. I've changed the defaults for the math fonts so that now we use the 'real thing'. However, as there can be issues, one can still say at the top of a document (of in cont-syst.tex): \enablemode[txmath] \enablemode[pxmath] \enablemode[lmmath] The design sized latin modern text font is still the default but one could already change that by \setupbodyfont[modern] There is currently some renaming going on for those math fonts but that should not affect us as context can handle older names too. 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 -----------------------------------------------------------------
Hi Hans, Nice to hear that the official math fonts are good enough to be the default now! Hans Hagen wrote:
I've changed the defaults for the math fonts so that now we use the 'real thing'. However, as there can be issues, one can still say at the top of a document (of in cont-syst.tex):
\enablemode[txmath] \enablemode[pxmath] \enablemode[lmmath]
Does the following description ring true? If yes, all I need to do is find a place on the wiki to put it. By default, ConTeXt's math font is Latin Modern Math, or Pagella Math/Termes Math if you specified \setupbodyfont[palatino] c.q. \setupbodyfont[times]. There exist also virtual versions of these fonts; these virtual versions are essentially the body font counterparts with lots of display-modifying tweaks piled on to make them behave like math fonts. These virtual versions were used for a time while the math fonts were in development. If you still want to use the virtual fonts, you can write \enablemode[txmath,pxmath,lmmath] at the top of your document. This does not set the math font directly, but specifies that if the Pagella/Termes/LM math font is used, ConTeXt should use the virtual font rather than the non-virtual one. ---- Futher: I see in math-vfu.lua the following comment: "There are still areas where the virtuals are better." Which areas are these?
The design sized latin modern text font is still the default but one could already change that by
\setupbodyfont[modern]
And what would you get instead -- 12pt Latin Modern, or something else? Cheers, Sietse
On Wed, Nov 21, 2012 at 08:10:19PM +0100, Sietse Brouwer wrote:
these virtual versions are essentially the body font counterparts with lots of display-modifying tweaks piled on to make them behave like math fonts. These virtual versions were used for a time while the math fonts were in development.
The virtual counterparts are adaptations of the old TFM/Type1 fonts so they look like OpenType math fonts to the engine (so that ConTeXt would move entirely to Unicode/OpenType math while waiting for the real OpenType fonts). Regards, Khaled
Hi Khaled
these virtual versions are essentially the body font counterparts with lots of display-modifying tweaks piled on to make them behave like math fonts. These virtual versions were used for a time while the math fonts were in development.
The virtual counterparts are adaptations of the old TFM/Type1 fonts so they look like OpenType math fonts to the engine (so that ConTeXt would move entirely to Unicode/OpenType math while waiting for the real OpenType fonts).
Which reminds me ... shouldn't we try to get the r2l math symbols into the lm/gyre fonts? I don't know how much extra that is in xits, but it would be nice to have 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 Thu, Nov 22, 2012 at 11:35:36AM +0100, Hans Hagen wrote:
Hi Khaled
these virtual versions are essentially the body font counterparts with lots of display-modifying tweaks piled on to make them behave like math fonts. These virtual versions were used for a time while the math fonts were in development.
The virtual counterparts are adaptations of the old TFM/Type1 fonts so they look like OpenType math fonts to the engine (so that ConTeXt would move entirely to Unicode/OpenType math while waiting for the real OpenType fonts).
Which reminds me ... shouldn't we try to get the r2l math symbols into the lm/gyre fonts? I don't know how much extra that is in xits, but it would be nice to have it.
The stuff in XITS is of little value right now as does not even cover Arabic math (the only language where math can be RTL), there is a whole set of Arabic math alphabets (starting from U+1EE00) that need to be covered first to be able to set any useuful Arabic math (both LTR and RTL). Regards, Khaled
On 11/21/2012 8:10 PM, Sietse Brouwer wrote:
Futher: I see in math-vfu.lua the following comment: "There are still areas where the virtuals are better." Which areas are these?
better hinting is one there are also some pending symbols in lm/gyre, like combinations of extensible stacked arrows (used in chemistry) .. these will be added in due time but for the moment I simulate them using virtual glyphs .. these are not in unicode but can replace (and already do in context) messy macros
The design sized latin modern text font is still the default but one could already change that by
\setupbodyfont[modern]
And what would you get instead -- 12pt Latin Modern, or something else?
scaled 10pt instead of the many design size instances ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Hi Hans,
I made some testings with the new beta and noticed that there are a few maths characters or commands which are broken now.
Here is a minimal example:
%%%%%%% begin bug-lm.tex
\starttext
The commands \type{\imply} is not anymore defined.
\type{\iff}, \type{\Longrightarrow}, \type{\mapsto} and some other arrows do not appear.
\startformula
(\pi \notin {\Bbb Q} \Longrightarrow \pi^2 + \pi \not\in {\Bbb Q}) \iff \pi^2 \not\in {\Bbb Q}
\stopformula
\startformula
x \mapsto ax+b
\stopformula
\stoptext
%%%%%%% end bug-lm.tex
and the PDF output is attached.
Best regards: OK
On 21 nov. 2012, at 16:22, Hans Hagen
Hi,
As Mojca is moving the distribution to another server we have a few days of potential instability which gives us the change to experiment a bit.
I've changed the defaults for the math fonts so that now we use the 'real thing'. However, as there can be issues, one can still say at the top of a document (of in cont-syst.tex):
\enablemode[txmath] \enablemode[pxmath] \enablemode[lmmath]
The design sized latin modern text font is still the default but one could already change that by
\setupbodyfont[modern]
There is currently some renaming going on for those math fonts but that should not affect us as context can handle older names too.
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 ___________________________________________________________________________________
On Wed, 21 Nov 2012, Otared Kavian wrote:
Hi Hans,
I made some testings with the new beta and noticed that there are a few maths characters or commands which are broken now. Here is a minimal example: %%%%%%% begin bug-lm.tex \starttext The commands \type{\imply} is not anymore defined.
\type{\iff}, \type{\Longrightarrow}, \type{\mapsto} and some other arrows do not appear.
\startformula (\pi \notin {\Bbb Q} \Longrightarrow \pi^2 + \pi \not\in {\Bbb Q}) \iff \pi^2 \not\in {\Bbb Q} \stopformula
\startformula x \mapsto ax+b \stopformula \stoptext %%%%%%% end bug-lm.tex
and the PDF output is attached.
Do these work with xits or cambria, i.e., is it a font or a context issue. Aditya
On 21 nov. 2012, at 23:45, Aditya Mahajan
[…] Do these work with xits or cambria, i.e., is it a font or a context issue.
Hi Aditya, The bug appears with Latin Modern, that is the default font in TeX. With xits and palatino the example I sent works fine. Best regards: OK
On 11/21/2012 05:41 PM, Otared Kavian wrote:
Hi Hans,
I made some testings with the new beta and noticed that there are a few maths characters or commands which are broken now.
Strictly FYI, Arkandis Digital Foundry has a couple of math fonts available. I can't say how good/useful they are since I don't typeset math but I noticed them while visiting the Arkandis site and thought I'd pass the information along. More info: http://arkandis.tuxfamily.org/tugfonts.htm -- Bill Meahan Westland, Michigan USA
Bill Meahan wrote:
Strictly FYI, Arkandis Digital Foundry has a couple of math fonts available. I can't say how good/useful they are since I don't typeset > math but I noticed them while visiting the Arkandis site and thought I'd pass the information along. More info: http://arkandis.tuxfamily.org/tugfonts.htm
By all means add it to http://wiki.contextgarden.net/Math_fonts That page is an overview of math+font issues in ConTeXt, from 'how to use' to 'how to fix'; but math fonts are not that common, so it might as well double as a list of math fonts per se. --Sietse
participants (6)
-
Aditya Mahajan
-
Bill Meahan
-
Hans Hagen
-
Khaled Hosny
-
Otared Kavian
-
Sietse Brouwer