DIPPER12138/dsh-mathtype
Converts LaTeX placeholders in a .docx into real MathType OLE equations in place, keeping numbering and cross-references.
Replaces LaTeX written between delimiters in a Word .docx with genuine MathType OLE objects — ProgID="Equation.DSMT4", a CFB container holding an Equation Native stream, produced through the MathType SDK. The result is not Word's built-in OMML equation and not an image: the equations double-click into MathType like any hand-authored one, which is the difference that matters if a publisher or a co-author will edit them later. Because Word performs the edit through automation, the surrounding numbering, fields and cross-references stay intact, and the README shows the before and after of the same textbook identities.
Install
dsh plugin --profile desktop add github:DIPPER12138/dsh-mathtypeInstalls into the desktop profile. The README asks you to verify the machine first — a MathType installation plus the SDK — because the plugin drives Word's own automation model and cannot substitute for a missing MathType. It also documents uninstall and the exact LaTeX delimiter form it looks for.
Compatibility
Windows 10 or 11 only: COM and OLE have no macOS or Linux equivalent, and the README says so in its requirements table rather than in a footnote. It requires a real MathType installation and never redistributes the SDK DLL. The document is edited in place, so existing equation numbers, SEQ fields, bookmarks, REF cross-references, figures, tables and styles are not rebuilt.
Details
- Repo: DIPPER12138/dsh-mathtype
- Category: Files & Data
- Stars: 0
- Version: not published to npm; installs from the GitHub default branch
Alternatives
perrylink/dsh-data-quality · perrylink/dsh-library · jwilson411/dsh-mutation-receipt