<@UGB1USA2J> just discovered a Kotlin builder for ...
# science
a
@Iaroslav Postovalov just discovered a Kotlin builder for TeX by@khud: https://github.com/kotexio/KoTeX. We've currently started a more ambitious project code-named Snark (as in Lewis Carroll's poem), which is aimed to provide document transformation and generation API as well as builders. I think it would make sense to cooperate on that. @Alex Gladkov is also stuying builders and Android rendering. The snark's code is not public yet, I need to add a few things first.
k
Yep, I would be happy to cooperate.)
FYI: @SerVB
a
@Iaroslav Postovalov is finishing KMath to LaTeX processor which allows represent formulas from actuall calculateable expressions in Jupyter/LaTeX document. And I've spend some time on a middleware API, which works as an intermediate representation between builder and renderer. So A lot of nice things. I will try to publish what I have ASAP. @Zelenyi developed the front-end builder and of course we are relying a lot on https://github.com/JetBrains/markdown
🔥 2
i
BTW, I've just added JLaTeXMath rendering to kernel via convenience method
a
@Ilya Muradyan It would be nice to have a dedicated MIME type for latex and appropriate function in the API.
Something like LATEX to go alongside HTML (I am not sure that the capital case is a way to go though).
i
renderLatex
returns
Image
which is
Renderable
. I don't want to make it a part of API because it requires a number of heavy dependencies, but I can rename
renderLatex
to
LATEX
a
Why an image and not a MathML?
Jupyter lab already has MathJax installed, so it should be rendered automatically. The classic notebook is more complicated problem of course
i
Images (svg) are supported everywhere and may be easily exported
a
OK then.