You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- In common_texification.py, when splitting math and non-math segments,
match *two* dollar signs surrounding a math segment rather than single
dollar signs; this lets us correctly handle e.g. `$2` which we
explicitly support in other backends as being plain text, not
unbalanced math (the previous implementation would handle that as
math).
- Instead of adding `\displaystyle` in front of each and every math block,
use the TeX-provided `\everymath` mechanism to just register that
once (this basically auto-prepends `\displaystyle` before every math
block).
- Define `\mathdefault` as a noop (which is consistent with what
texmanager does) instead of stripping it out, which would allow e.g.
for the possibility that someone redefines `\mathdefault` in whatever
way they want.
0 commit comments