Memory #90 CURRENT
OMML two-path rule (supersedes oMathPara)
For .docx math: inline OMML for prose (Path A), matplotlib mathtext PNG via ImageRun for display (Path B). Never standalone . Per TTI.STD.OMML-LESSONS-001 v1.0 (2026-04-26)
For every Tribernachi `.docx` with mathematical content, every display-level equation must take ONE of two paths:
- **Path A** — inline OMML (``, no wrapper) inside a `` paragraph that has prose on at least one side. Editable, renders identically in Word and LibreOffice's PDF exporter.
- **Path B** — matplotlib mathtext PNG (Computer Modern, `rcParams["mathtext.fontset"]="cm"`) embedded via docx-js `ImageRun` in a paragraph with explicit CENTER tab + RIGHT tab (not `AlignmentType.CENTER`). For centered/numbered/multi-line equations.
**Never** use standalone `` or bare `` in a centered prose-less paragraph. LibreOffice's PDF exporter silently drops both — even with surrounding text-run padding. OOXML schema accepts them; the renderer does not.
**Why:** During TTI.RES.MAJORANA-001 v0.1 production, schema-valid display OMML rendered perfectly in Word but produced blank gaps in `soffice --convert-to pdf` output. Confirmed empirically across multiple paragraph-wrapper variations. Word + Adobe PDFMaker is NOT a sufficient validator — only LibreOffice catches this failure mode. The plasma paper v1.3 PDF (built 2026-04-13 via Word + Adobe PDFMaker) escaped this trap because it never went through LibreOffice; v1.4 (built 2026-04-26) was rebuilt with the two-path strategy — 37 display equations as PNG via `ImageRun`, all 37 equation numbers now extractable in PDF text layer (vs. 1 in v1.3). Apply this approach to all future math-bearing `.docx` builds.
**How to apply:** Read `tribernachi/standards/TTI_STD_OMML-LESSONS-001_V1_0.md` before producing any math-bearing `.docx`. The lessons doc is the authoritative reference — `tribernachi-publish.md` skill §A.0 summarises but defers to it. Schema gotchas to remember: use `` not `` inside ``; `` always needs `` element even when display is suppressed; unpack with `--merge-runs false` if post-processing placeholder tokens. Skill `tribernachi-publish.md` §A.3 retains the legacy `` pattern marked DEPRECATED for reading legacy documents only.
— [feedback_omml_two_path.md]
| Composite | FCF1CC3AA6EFA961D |
| Project prime | 13 |
| Domain prime | 59 |
| Type prime | 61 |
| Importance | 1.000000 (CRITICAL) |
| Decay epoch | 0 |
| Created | 2026-05-04 15:46:49 |
| Valid from | (unset) |
| Valid to | NULL — still believed true |