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

Possible to use python and latex LSPs in same notebook? #797

Open
henrypinkard opened this issue Apr 27, 2022 · 1 comment
Open

Possible to use python and latex LSPs in same notebook? #797

henrypinkard opened this issue Apr 27, 2022 · 1 comment

Comments

@henrypinkard
Copy link

What I am trying to do...

Hi, I'm trying to write both code in latex in a notebook using jupyter lab, and make use of both python and latex LSPs. I've gotten them both installed, and right now the latex works in .tex files, while the python one works in .py files and .ipynb files. I'm wondering if there is any way to have both the python and tex LSPs run in the same notebook--so that I can use the python one in code cells and the latex on in markdown cells.

I see that the latex one seems to not be running when I'm in the notebook (see below), but its unclear to me if its possible to change this and where I might go to do so.

Screen Shot 2022-04-27 at 4 00 53 PM

Any thoughts/help/advice is much appreciated!

@bollwyvl
Copy link
Collaborator

Just last week we saw somebody demoing a PR related to jupyterlab/jupyterlab_server#240 which would enable markdown cells to use a language server... as it's based on the existing stack from this repo, presumably it would be able to wire up the $ behavior to pull correctly send those "virtual sub-documents" to the correct language server.

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

2 participants