# LabTex extension developer guide ## Set up developer environment 1. Install LaTeX distribution for your OS: https://www.latex-project.org/get/#tex-distributions Scroll to the section 'TeX Distributions' 2. Install JupyterLab and JupyterLab-LaTeX. I recommend using Conda for this. a. Install miniconda https://docs.conda.io/en/latest/miniconda.html#latest-miniconda-installer-links b. Create file `environment.yaml` with environment description ``` name: jupyterlab-extension-dev channels: - conda-forge dependencies: - jupyter-packaging>=0.10.0,<2 - jupyterlab=3.2 - nodejs - pytest - pytest-check-links - python=3 - yarn - pip - pip: - jupyterlab==3.3.0a2 ``` c. Create new environment from description: `conda env create -f environment.yaml` d. Activate installed environment: `conda activate jupyterlab-extension-dev` e. Clone `jupyterlab-examples` and `jupyterlab-latex` ``` git clone https://github.com/jupyterlab/extension-examples.git git clone https://github.com/jupyterlab/extension-examples.git ``` ## Compile Hello World Example 1. Navigate to `hello-world` folder 2. ## Compile Toolbar Button Navigate to `toolbar-button` folder ## Modify Toolbar Button to appear in editor ## Compile JupyterLab-LaTeX
×
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