tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Riccardo Romoli
Subject:
Date: Thu, 8 Feb 2024 13:31:04 +0000

Hi, 
Mr. Michael Albinus suggest me to write to you. The original question is at StackExchange at the following link: https://emacs.stackexchange.com/q/80311/8478

I need to setup lsp to work on LaTeX file in a remote machine. I installed texlab both in local and in remote machine and add the path to the remote texlab in my emacs, spacemacs, init file as follow:

(with-eval-after-load "tramp" (add-to-list 'tramp-remote-path "~/.cargo/bin"))
  (setenv "PATH" (concat (getenv "PATH") ":~/.cargo/bin/"))
  (setq exec-path (append exec-path '("~/.cargo/bin/")))
  (require 'lsp-latex)
  (setq lsp-latex-texlab-executable "~/.cargo/bin/")

  (with-eval-after-load "tex-mode"
    (add-hook 'tex-mode-hook 'lsp)
    (add-hook 'latex-mode-hook 'lsp))



I still get this from lsp: LSP: The following servers support current file but do not have automatic installation: texlab-tramp. Command "texlab" is not present on the path.

Do you have any suggestions?


Best Regards

Riccardo


reply via email to

[Prev in Thread] Current Thread [Next in Thread]