From 5e0e15e55d84f8fb9b5d26b3a9c21c7d78a2a93a Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Wed, 20 Dec 2023 12:23:03 +0800 Subject: [PATCH] chore: update README and remove xsl for plurimath, fixes #85 --- README.adoc | 38 +- lib/html2doc/base.rb | 3 - lib/html2doc/math.rb | 1 - lib/html2doc/mathml2omml.xsl | 3822 ---------------------------------- lib/html2doc/mml2omml.xsl | 3754 --------------------------------- 5 files changed, 29 insertions(+), 7589 deletions(-) delete mode 100644 lib/html2doc/mathml2omml.xsl delete mode 100644 lib/html2doc/mml2omml.xsl diff --git a/README.adoc b/README.adoc index fec9b92..cfe7500 100644 --- a/README.adoc +++ b/README.adoc @@ -24,7 +24,7 @@ The gem currently does the following: * Convert any AsciiMath and MathML to Word's native mathematical formatting language, OOXML. Word supports copy-pasting MathML into Word and converting it into OOXML; however the conversion is not infallible (we have in the past found problems with `\sum`: Word claims parameters were missing, and inserting dotted squares to indicate as much), and you may need to post-edit the OOXML. ** The gem does attempt to repair the MathML input, to bring it in line with Word's OOXML's expectations. If you find any issues with AsciiMath or MathML input, please raise an issue. -* Identify any footnotes in the document (defined as hyperlinks with attributes `class = "Footnote"` or `epub:type = "footnote"`), and render them as Microsoft Word footnotes. +* Identify any footnotes in the document (defined as hyperlinks with attributes `class = "Footnote"` or `epub:type = "footnote"`), and render them as Microsoft Word footnotes. ** The corresponding footnote content is any `div` or `aside` element with the same `@id` attribute as the footnote points to; e.g. `3`, pointing to `