WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@Omikhleia
Copy link
Member

@Omikhleia Omikhleia commented Nov 5, 2025

NOT READY FOR MERGE

Based on a temporary branch with cherry-picked commits from several other of my PRs for 0.15.14

WIP Additions:

Placing an accent (say `\bar`) over a single macro-defined command
(say a `\Phi`, or a `\mathbf{x}`) caused the engine to crash.
The accent logic was incorrectly re-compiling the already compiled
argument recursively. We were just lucky in other cases.
Math formula in block quotes, footnotes, headers, etc. now adapt
to the current document size instead of using a fixed value.
The adjustment is based on the eye (ex-height) for consistent
optical alignment.
Mere typo seen in passing, only affecting debug.
…a macro

The columnalign option is modified (converted to list), but might be the
same original object from a TeX-like macro. One invocation of the macro
shall not affect the subsequent one.
The "cap" unit is proposed in CSS4 Draft and makes sense for cap-height
font adjustement.
Both "ex" and "cap" shall be based on font metrics when available, and
only measure a character as a fallback heuristic.
Some fonts may not have the necessary Latin characters, in which case
we shall resorti to a decent fallback (as per CSS recommendations).
The original version only parsed a subset of the table.
Let's handle the complete OS/2 font table for all versions 0 to 5.
@Omikhleia Omikhleia requested review from a team and alerque as code owners November 5, 2025 00:07
@Omikhleia Omikhleia marked this pull request as draft November 5, 2025 00:07
@Omikhleia Omikhleia self-assigned this Nov 5, 2025
@Omikhleia Omikhleia added the enhancement Software improvement or feature request label Nov 5, 2025
@Omikhleia Omikhleia added this to Math Nov 5, 2025
@github-project-automation github-project-automation bot moved this to In progress in Math Nov 5, 2025
@Omikhleia Omikhleia added this to the v0.15.x milestone Nov 5, 2025
@Omikhleia Omikhleia force-pushed the omi-math-next-experiment-14 branch from 5191c2f to a60c989 Compare November 5, 2025 00:11
@Omikhleia Omikhleia force-pushed the omi-math-next-experiment-14 branch from a60c989 to d33b285 Compare November 5, 2025 00:16
@Omikhleia Omikhleia changed the title Support more MathML attributes Support more MathML attributes and other math fixes and enhancements Nov 5, 2025
…cands

Default text style shouldn't be cramped.
Radicands in roots shoud trigger cramping.
@Omikhleia Omikhleia force-pushed the omi-math-next-experiment-14 branch from 4d63a9e to 5c44d42 Compare November 5, 2025 22:21
Supporting `\sqrt[degree]{radicand}` requires support from the parser
due to the unusual syntax with a math expression between square brackets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Software improvement or feature request

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

2 participants