FlexibleRichTextView icon indicating copy to clipboard operation
FlexibleRichTextView copied to clipboard

Use MathJax as a fallback when JLaTeXMath fails to render formula

Open daquexian opened this issue 8 years ago • 1 comments

Due to the limitation of JLaTeXMath, some complicated formula cannot be rendered correctly.

I'm considering to use MathJaX instead of JLaTeXMath, but I don't like to use WebView (It's so ugly and hard to control). It's possible to find a web API that render LaTeX formula using MathJaX and if so what we need do is just sending formula to it, and retrieving the image it sends back. Obviously this way relies on the Internet, so I plan to use this way as a fallback when JLaTeXMath fails.

Or maybe I could find a way to use MathJaX locally and avoid WebView?

daquexian avatar Feb 19 '17 16:02 daquexian

Oh I found many ways to capture the content of WebView into a bitmap. So maybe I could do it locally.

daquexian avatar Feb 20 '17 04:02 daquexian