Skip to content
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

Render problem in vscode maxima-jupyter #131

Open
tensorflow0000 opened this issue Jan 15, 2025 · 5 comments
Open

Render problem in vscode maxima-jupyter #131

tensorflow0000 opened this issue Jan 15, 2025 · 5 comments

Comments

@tensorflow0000
Copy link

tensorflow0000 commented Jan 15, 2025

Cattura

Is it possible resolve this render problem in Vs code. The maxima kernel works fine but not visualize well output. Thanks.
In jupyter-lab works fine.

@robert-dodier
Copy link
Owner

David, thanks for your interest in Maxima-Jupyter.

In order to display the Maxima pretty-printer output correctly, it is assumed that the font is a fixed width font (all characters have the same width). Can you try selecting a fixed width font for the VS Code display?

@tensorflow0000
Copy link
Author

tensorflow0000 commented Jan 16, 2025

Thank you very much for your replay Dr. Dodier; I set the fontfamily as "Go Mono" and now worked but not working good as in jupyterlab where the render is perfect.
image
In Jupyter-lab it renders the Latex.
image
The problem is in mimetype selection; it is impossible to choose text/x-maxima renderer
image
text/latex show latex code but not the rendering
image

@yitzchak
Copy link
Contributor

This sounds like a limitation of vscode. The JupyterLab interface uses the text/latex encoding and renders it with MathJax as I recall.

@robert-dodier
Copy link
Owner

David, how did you enable Maxima-Jupyter in VS Code? I am interested to try VS Code; I have installed it, but I don't see where to connect it to Maxima-Jupyter. Thanks for any advice.

@tensorflow0000
Copy link
Author

Hello Dr.Dodier, after following your guide and compiling jupyter-maxima i found it among the vs-code kernels. I use linux mint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants