zlacker

[parent] [thread] 2 comments
1. xeonmc+(OP)[view] [source] 2023-11-20 19:02:19
What we need is a modernized toolchain for Asymptote[0] that can run in the browser in realtime like MathJax, it has much nicer syntax than TikZ.

[0] https://asymptote.sourceforge.io/

replies(2): >>westur+7F >>eyegor+jR
2. westur+7F[view] [source] 2023-11-20 21:42:28
>>xeonmc+(OP)
ipython-asymptote [1][2] probably supports Jupyter Retro (now built on the same components as JupyterLab) but not yet JupyterLite with the pyodide WASM kernel:

emscripten-forge builds things with emscripten to WASM packages. [4]

JupyterLite supports micropip (`import micropip; await micropip.install(["pandas",])`).

Does micromamba work in JupyterLite notebooks?

"DOC: How to work with emscripten-forge in JupyterLite" https://github.com/emscripten-forge/recipes/issues/699

[1] https://github.com/jrjohansson/ipython-asymptote/tree/master

[2] examples: https://notebook.community/jrjohansson/ipython-asymptote/exa...

[3] https://jupyterlite.readthedocs.io/en/stable/#altair

[4] https://github.com/emscripten-forge/recipes

3. eyegor+jR[view] [source] 2023-11-20 22:49:08
>>xeonmc+(OP)
https://katex.org/ may work?
[go to top]