jupyterlab / jupyterlab-latex

JupyterLab extension for live editing of LaTeX documents
BSD 3-Clause "New" or "Revised" License
608 stars 70 forks source link

jupyterlab 4.x issues with latex and creating new files in the root dir of jlab #216

Closed ctappy closed 1 month ago

ctappy commented 1 year ago

Description

When creating a new Latex file to edit in the / directory of jupyterlab the following message is shown and the file is not created

cannot read properties of undefined (reading 'model')

When I create a directory, then create a latex file to edit in that directory, I am able to create/edit successfully

Context

welcome[bot] commented 1 year ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

ktaletsk commented 1 year ago

Hi @ctaperts! Thanks for reporting this.

I noticed that the extension version you report is 3.1.0, which does not support JupyterLab 4. There's a newer version 4.0.0 which does, but it's not published anywhere yet. You can try it by cloning this repo and doing 'pip install .'

I will work on releasing this new version soon.

CharlieJ15420 commented 11 months ago

Hi @ktaletsk. Is there any update on when the JLab4 compatible version will be released?

ctappy commented 1 month ago

@CharlieJ15420 i believe there is a new release with latex, you have to use the new install syntax jupyterlab-latex https://github.com/jupyterlab/jupyterlab-latex