Repository navigation
fix(math): keep mixed equation tables instead of re-extracting TeX - #434
Open
RovshanMuradov wants to merge 1 commit into
Open
RovshanMuradov wants to merge 1 commit into
RovshanMuradov wants to merge 1 commit into
Conversation
RovshanMuradov
force-pushed
the
fix/equation-table-ownership
branch
from
October 12, 2026 16:46
62ef8ce to
0cbfa8a
Compare
The equation-table pass rebuilt every table from TeX, dropping native-only expressions and rows. Only unwrap a table that holds a single whole equation (equation numbers are dropped as before); keep other equation tables in HTML. Markdown still converts each equation to TeX.
RovshanMuradov
force-pushed
the
fix/equation-table-ownership
branch
from
October 12, 2026 18:05
0cbfa8a to
7dc6cca
Compare
RovshanMuradov
marked this pull request as ready for review
October 12, 2026 18:22
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #376, #141
LaTeXML equation tables were flattened into a sequence of separate block equations, so aligned multi-line equations lost their alignment and equation numbers. Now only a table holding a single whole equation is unwrapped to
<math>(equation numbers are dropped as before); other equation tables are kept in HTML. Markdown still converts every equation to TeX.Example: equation (8) in https://arxiv.org/html/2609.38986v1#S2.EGx8 — before,
X^v Enc|ψ⟩,∝ Σ…and↦ Σ…render as three centered lines and(8)is lost; after, the two aligned rows and(8)are kept. On that paper 56 equation tables are kept; no formulas are added or lost.