-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Math support (Simple) #16
Comments
Branch is |
The considered SnuggleTex and JEuclid seem to be pretty old which will most certainly cause problems with current Java versions with module support. Thus we'll write our own LaTeX math parser + converter to MathML + MathML typesetter |
We are restricting the supported MathML element types (See https://developer.mozilla.org/de/docs/Web/MathML/Element) to a specific subset, that most common math expressions will work with Element types to support for
Other Tasks
That way we will allow most use-cases while some special cases may remain to be done in later releases. |
Thingy ideas: Thingy should be allowed both inline and as its own paragraph. Name: #MATH#
|
First end-to-end process draft is finished supporting MathML with math, mi, mn and mo nodes.
|
Now supporting mfrac and mrow as well as the attribute mathvariant for mi, mo, mn to display for example set identifiers (N, R, C, ...) |
Currently already possible is something like: Compared to Firefox:
|
Support for the
|
|
Just checked whether we can use the STIX 2.0 font for math. License seems to be OK, needs to be documented in the third party notice file in the root of the repository. Also checked whether Apache PDFBox does support OpenType fonts and it works just fine by using something like: OTFParser otfParser = new OTFParser();
OpenTypeFont otf = otfParser.parse(new File("C:/Users/beder/Downloads/code/CODE Light.otf"));
PDFont font = PDType0Font.load(document, otf, false); When calling the |
LaTeX to MathML converter will not be done in the context of this issue, instead see issue #23. |
There is already an issue about the extended math support where we will implement more sophisticated and less usefull MathML features: #22 |
STIX 2 font added. |
|
We need support for a #MATH# Thingy allowing to enter LaTeX formatted formulas that will be properly renderered in the document.
Maybe we want to convert LaTeX first to MathML using SnuggleTeX and then rather typeset MathML.
The text was updated successfully, but these errors were encountered: