Bug 168015 - EPUB export misses Math equations
Summary: EPUB export misses Math equations
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: EPUB-Export
  Show dependency treegraph
 
Reported: 2025-08-19 17:54 UTC by Regina Henschel
Modified: 2025-08-24 07:07 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example text to test export to EPUB. (77.77 KB, application/vnd.oasis.opendocument.text)
2025-08-19 17:54 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2025-08-19 17:54:34 UTC
Created attachment 202384 [details]
Example text to test export to EPUB.

The current export to EPUB does not export Math equations, neither as images nor as MathML.

Export of Math equations should be added.
Math equations are exported as images in save to HTML (outdated method!) and as MathML in export as XHTML. As the MathML is the native format of Math equations in ODF, it should be exported as MathML to EPUB as well.

The recommendations from https://daisy.github.io/transitiontoepub/best-practices/mathML/mathMLBestPractices.html might be of interest for developers who plan to implement it.

The attachment is an excerpt from part 4 of ODF 1.4, which has some Math equations. Open it and export it to EPUB. Open the exported file in an EPUB-reader or unpack it and look for equations. All Math equations are missing.
Comment 1 m_a_riosv 2025-08-19 22:08:09 UTC
+1
Comment 2 BogdanB 2025-08-23 19:25:46 UTC
Confirm with
Version: 25.8.0.4 (X86_64)
Build ID: 48f00303701489684e67c38c28aff00cd5929e67
CPU threads: 16; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: ro-RO (en_US.UTF-8); UI: en-US
Calc: threaded