Will Robertson

Results 212 comments of Will Robertson

There is so much setting and reseting of mathcodes that I get a bit lost sometimes :) The reason using \fam doesn’t work is that the mathcodes for ascii need...

Doesn’t apostrophe ALWAYS have an active definition for handling primes in math mode? \documentclass{article} \begin{document} \catcode`\'=\active \show' \end{document} (Sorry, I haven’t looked into this yet besides this quick reply…)

@davidcarlisle — from memory the only reason I used AtBeginDocument is to avoid loading the maths font twice if the user isn't using the default font. That could be a...

See my comment there: https://github.com/reutenauer/polyglossia/issues/394#issuecomment-596490933

Thanks, that’s a good example. I hadn’t overlooked this, I just don’t have much time at the moment… I really appreciate the work you’ve done to work through the issue!

I'm a little confused here. The code to select a maths font is currently: ``` \bool_if:NT \g_@@_init_bool \@@_fontspec_trial_font: \bool_if:NT \g_@@_init_bool \@@_declare_math_sizes: \@@_fontspec_select_font: ``` where the "trial font" is supposed to...

Wow, of course! That was a pretty big oversight of mine… thanks so much for digging into this, I really appreciate it. So the next question is “what is correct?”...

I don't have time to debug now but unfortunately the `\check@mathfonts` command broke some other things. So I've indeed implemented your original suggestion.

I hadn’t thought of that, but luckily my code is smarter than I am! I assume that any maths font with a `math` OpenType script will always be “well defined”,...

Loading a non-math font like this is no longer supported and produces warning: Package unicode-math Warning: The first font loaded by unicode-math must be an (unicode-math) OpenType Math font (with...