question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

May you show how to create a Latex spec file?

See original GitHub issue

Description

I tried unsuccessfully to create a spec file for https://github.com/latex-lsp/texlab, to add Latex LSP support.

No matter what I try, the Latex lsp server (as indicated in the LSP status bar) is always missing. I have installed texlab, and added a simple spec such as the following (in a few variations)

{
  "LanguageServerManager": {
    "language_servers": {
      "latex": {
        "languages": ["latex"],
        "argv": ["/path/to/texlab", "--stdio"]
      }
    }
  }
}

I added it to </path/to/environment>/etc/jupyter/jupyter_notebook_config.d/latex-lsp.json

I tried with the Advanced settings in JupyterLab.

Nothing seems to help. This is more of a POC for me, but I would really like to understand how things are working and why I am not able to control the settings.

Thanks for any help!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
bollwyvlcommented, Jun 28, 2020

Funny you mention this… I might be close to getting texlab packaged for conda-forge (windows takes a long time):

https://github.com/conda-forge/staged-recipes/pull/12029

Even if you don’t want to install it that way, it will help if we can find one configuration that works which we can “semi officially” support, with docs and tests on multiple platforms, and keep up-to-date.

Once that’s in, I’ll be able to open a pr here!

0reactions
bollwyvlcommented, Aug 11, 2020

This was released as part of v1.1.2. The documentation has been updated as well, so I think we can close this! Please reopen if you run into any issues!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Construction Specification Template - LaTeX Stack Exchange
You can place the preamble in a separate file and load it whenever you need it. Or you can make a .cls file...
Read more >
Writing your own class - Overleaf, Online LaTeX Editor
An online LaTeX editor that's easy to use. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more.
Read more >
(UPDATED) LaTeX Tutorial 1 - Creating a LaTeX Document
In this updated tutorial, I show you how to get started using LaTeX two different ways: (1) Overleaf: ...
Read more >
The beamer class - CTAN
A beamer presentation is created like any other LATEX document: It has ... that if you know LATEX, you can use your knowledge...
Read more >
Create Awesome LaTeX Table with knitr::kable and kableExtra
You can manually set any format in kable() whenever you want. ... or if you put library(kableExtra) in a separate R file that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found