All Projects → jupyterlab → Jupyterlab Latex

jupyterlab / Jupyterlab Latex

Licence: bsd-3-clause
JupyterLab extension for live editing of LaTeX documents

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Jupyterlab Latex

ipylab
Control JupyterLab from Python Notebooks with Jupyter Widgets 🧪 ☢️ 🐍
Stars: ✭ 101 (-71.06%)
Mutual labels:  jupyterlab, jupyterlab-extension
Jupyterlab Dash
An Extension for the Interactive development of Dash apps in JupyterLab
Stars: ✭ 342 (-2.01%)
Mutual labels:  jupyterlab, jupyterlab-extension
theme-darcula
A handsome Darcula theme for Jupyterlab. The first jlab theme to include dark scrollbars
Stars: ✭ 136 (-61.03%)
Mutual labels:  jupyterlab, jupyterlab-extension
Latexdraw
A vector drawing editor for LaTeX (JavaFX).
Stars: ✭ 336 (-3.72%)
Mutual labels:  latex, pdf
Jupyterlab Google Drive
Cloud storage for JupyterLab using Google Drive
Stars: ✭ 332 (-4.87%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyterlab-theme-solarized-dark
JupyterLab 2/3 Solarized Dark extension
Stars: ✭ 61 (-82.52%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyterlab-topbar
JupyterLab Top Bar extension
Stars: ✭ 95 (-72.78%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyterlab-flake8
Jupyterlab python linter for notebooks and text files using flake8
Stars: ✭ 105 (-69.91%)
Mutual labels:  jupyterlab, jupyterlab-extension
Lantern
Data exploration glue
Stars: ✭ 292 (-16.33%)
Mutual labels:  jupyterlab, jupyterlab-extension
Jupyterlab Github
GitHub integration for JupyterLab
Stars: ✭ 273 (-21.78%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyterlab-credentialstore
A secure way of storing credentials within JupyterLab
Stars: ✭ 19 (-94.56%)
Mutual labels:  jupyterlab, jupyterlab-extension
Pandoc Latex Template
A pandoc LaTeX template to convert markdown files to PDF or LaTeX.
Stars: ✭ 3,750 (+974.5%)
Mutual labels:  latex, pdf
pull-requests
A JupyterLab extension for reviewing GitHub pull requests
Stars: ✭ 33 (-90.54%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyter-project
Handle project folder, template and file templates in JupyterLab
Stars: ✭ 13 (-96.28%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyterlab-heroku
JupyterLab extension to deploy applications to Heroku
Stars: ✭ 20 (-94.27%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyterlab-python-file
JupyterLab extension to create Python files
Stars: ✭ 50 (-85.67%)
Mutual labels:  jupyterlab, jupyterlab-extension
jlab-enhanced-cell-toolbar
A cell toolbar for JupyterLab.
Stars: ✭ 28 (-91.98%)
Mutual labels:  jupyterlab, jupyterlab-extension
ipydagred3
ipywidgets library for drawing directed acyclic graphs in jupyterlab using dagre-d3
Stars: ✭ 38 (-89.11%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyterlab-spreadsheet-editor
JupyterLab spreadsheet editor for tabular data (e.g. csv, tsv)
Stars: ✭ 72 (-79.37%)
Mutual labels:  jupyterlab, jupyterlab-extension
Notebook As Pdf
Save Jupyter Notebooks as PDF
Stars: ✭ 290 (-16.91%)
Mutual labels:  pdf, jupyterlab

JupyterLab LaTeX

Binder

An extension for JupyterLab which allows for live-editing of LaTeX documents.

Usage

To use, right-click on an open .tex document within JupyterLab, and select Show LaTeX Preview: preview This will compile the .tex file and open the rendered PDF document. Subsequent saves of the file will automatically update the PDF. If the PDF fails to compile (possibly due to a syntax error), an error panel will open detailing the LaTeX error.

For more advanced usage documentation, see here.

Requirements

  • JupyterLab 1.0
  • Python >= 3.6
  • An application that can compile .tex files to PDF (e.g., pdflatex, xelatex; use pdflatex.exe on Windows with MiKTeX). This application must be available as a command in the same environment as the notebook server.
  • An application that can process .bib files for producing bibliographies. As with the LaTeX command, this must be available in the same environment as the notebook server.

Installation

This extension includes both a notebook server extension (which interfaces with the LaTeX compiler) and a lab extension (which provides the UI for the LaTeX preview). In order to use it, you must enable both of them.

To install the server extension, run the following in your terminal:

pip install jupyterlab_latex

If you are running Notebook 5.2 or earlier, enable the server extension by running

jupyter serverextension enable --sys-prefix jupyterlab_latex

To install the lab extension, run

jupyter labextension install @jupyterlab/latex

Customization

The extension defaults to running xelatex on the server. This command may be customized (e.g., to use pdflatex instead) by customizing your jupyter_notebook_config.py file:

c.LatexConfig.latex_command = 'pdflatex'

The extension defaults to running bibtex for generating a bibliography if a .bib file is found. You can also configure the bibliography command by setting

c.LatexConfig.bib_command = '<custom_bib_command>'

Security and customizing shell escapes

LaTeX files have the ability to run arbitrary code by triggering external shell commands. This is a security risk, and so most LaTeX distributions restrict the commands that you can run in the shell.

You can customize the behavior by setting the LatexConfig.shell_escape value. It can take three values: "restricted" (default) to allow only commands considered safe to be executed, "allow" to allow all commands, and "disallow" to disallow all commands. For example, to force your LaTeX distribution to run any command, use:

c.LatexConfig.shell_escape = "allow"

Changes

For information on the changes with different versions of the jupyterlab-latex library, see our changelog

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].