Skip to content

Commit 30a57c9

Browse files
authored
Merge pull request jupyter-lsp#702 from jupyter-lsp/troubleshoot-texlab
Document texlab troubleshooting
2 parents 1959824 + e01dd8b commit 30a57c9

File tree

1 file changed

+14
-0
lines changed
  • python_packages/jupyter_lsp/jupyter_lsp/specs

1 file changed

+14
-0
lines changed

python_packages/jupyter_lsp/jupyter_lsp/specs/texlab.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
from .config import load_config_schema
22
from .utils import ShellSpec
33

4+
TROUBLESHOOT = """\
5+
Please ensure that texlab executable is in the PATH; \
6+
this should happen automatically when installing texlab from Conda, \
7+
but may require manual configuration of PATH environment variable \
8+
if you compiled texlab from source.
9+
10+
You can ensure check if texlab is in the PATH, by running:
11+
12+
which texlab
13+
14+
which should return the path to the executable (if found).
15+
"""
16+
417

518
class Texlab(ShellSpec):
619
cmd = key = "texlab"
@@ -15,4 +28,5 @@ class Texlab(ShellSpec):
1528
install=dict(conda="conda install -c conda-forge texlab chktex"),
1629
config_schema=load_config_schema(key),
1730
env=dict(RUST_BACKTRACE="1"),
31+
troubleshoot=TROUBLESHOOT,
1832
)

0 commit comments

Comments
 (0)