latex3 / unicode-math

XeLaTeX/LuaLaTeX package for using unicode/OpenType maths fonts
http://ctan.org/pkg/unicode-math
LaTeX Project Public License v1.3c
245 stars 29 forks source link

Use LM Math by default #209

Closed khaledhosny closed 12 years ago

khaledhosny commented 13 years ago

Now TeXLive 2011 includes LM OpenType Math font, I think it is time to use it by default, so to avoid all side effects of using unicode-math without setting a math font.

phst commented 13 years ago

Unfortunately I have to revert this since Latin Modern Math is still incomplete (e.g., lowercase calligraphic characters are missing).

khaledhosny commented 13 years ago

I fail so see the point here, without loading LM Math by default we are not getting any math at all, so loading LM is a big improvement and if the user needs any of the missing alphabets he will have to use a different font any way.

wspr commented 13 years ago

I'm also a bit confused by Herbert's objection -- you can't access these in LaTeX anyway, and it really does make sense to load a sensible default even in these early days. I won't revert your revert :) but I think we should continue to discuss the matter.

If we do make this the default, then we should of course suppress the warning messages that get issued.

phst commented 13 years ago

I don't feel comfortable loading an incomplete font by default that would normally produce warnings. Maybe LM plus XITS Math for the missing alphabets should be the default until LM Math gets completed.

zhouyan commented 13 years ago

I agree with @wspr. There are not only lowercase \mathcal, but also many other math symbols one cannot get in LaTeX, e.g., \mathscr does not exit by default at all.

I think a default font is supposed to be usable and widely available. In addition, it should produce the default look and feel of a LaTeX document. And I feel LM Math serves this purpose well enough even though it is incomplete yet.

wspr commented 13 years ago

That sounds like an acceptable compromise. I might try out some combinations — but if you think that it works feel free to implement it :)

khaledhosny commented 13 years ago

Now since those errors are not printed on the terminal, can we get lm math by default now? and I don't think the fallback to xits is good idea giving the design difference between lm and xits, it should be left to the user to make such choice.

wspr commented 13 years ago

I've now addressed this in commit 6bae408f1fb77bbce166a04fa1311e76afacf2bd. LM will only be loaded if no other maths font is loaded in the preamble, so consider it more of a "fallback" rather than a "default" font.

I don't mind that some alphabet ranges and symbols are missing, since they'd also be missing without loading unicode-math anyway.

khaledhosny commented 12 years ago

I think it is OK now, closing this.