# JupyterLab LaTex Sprint ## Task list: - Fix Binder - Fix development install instructions - Review and test PR for updating to JLab 4.0 ## User instructions (just to try the package) 1. Create environment ``` conda create -n jupyterlab-latex-env -c conda-forge python=3.10 jupyterlab=3.6.3 jupyter_packaging=0.12.3 nodejs=18 ``` 2. ``` pip install jupyterlab_latex ``` ## Developer instructions (to modify and develop the package) 1. Create dev environment ``` conda create -n jupyterlab-latex-env -c conda-forge python=3.10 jupyterlab=3.6.3 jupyter_packaging=0.12.3 nodejs=18 ``` 2. Configure nodejs to avoid digital envelope routines::unsupported Nodejs error `export NODE_OPTIONS=--openssl-legacy-provider` 3. Change package.json -> `devDependencies` -> `"eslint": "*",` 4. Change pyproject.toml -> "jupyterlab~=3.6" Remove dev environment: ``` conda remove -n jupyterlab-latex-env --all ``` ## Development install issue 1. `git clone https://github.com/jupyterlab/jupyterlab-latex.git` 3. `pip install -e .` 4. Install jupyter_server=2.0.0 again since pip installs an old version ``` conda install -c conda-forge jupyter_server=2.5.0 ``` 6. `jupyter labextension develop . --overwrite` 7. `jupyter server extension enable jupyterlab_latex` 8. Rebuild frontend after changes are made: `jlpm run build`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up