I’ve spent some time trying to get a development environment set up for the jupyterlab-latex extension so that I could try adding some features that would be useful for me. However, I’m having trouble getting it working in the first place. It seems like this may be due to the doubled nature of the extension, with the server extension and the lab extension needed to get the whole thing to work.
I tried cloning the repo and then running pip install -ve .
. This seemed to work correctly but the labextension didn’t show up under jupyter labextension list
. So I followed it up by running jlpm run build
and jupyter labextension install .
. This seemed to work as well, and the local extension was listed under jupyter labextension list
, but when I tried to use the extension I get the following error, which I haven’t been able to resolve. “server extension error: You probably do not have jupyterlab_latex installed or enabled. Please, run “pip install -U jupyterlab_latex.” If that does not work, try “jupyter serverextension enable --sys-prefix jupyterlab_latex”.”
My question is, what’s the appropriate way to set up the development on an extension like this? Maybe if I’m not being dumb and it’s potentially not obvious, it’d be useful to add a “development” section to the extension readme?