Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add texlab, language server for Latex #525

Open
1 task done
KaminariOS opened this issue Jan 5, 2025 · 2 comments · May be fixed by #569
Open
1 task done

Add texlab, language server for Latex #525

KaminariOS opened this issue Jan 5, 2025 · 2 comments · May be fixed by #569

Comments

@KaminariOS
Copy link

⚠️ Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find a similar feature request

🏷️ Feature Type

New Addon

🔖 Feature description

Add an option to enable texlab

✔️ Solution

defaultServer = "texlab";
servers = {
texlab = {
package = pkgs.texlab;
lspConfig = ''
lspconfig.texlab.setup {
capabilities = capabilities;
on_attach = default_on_attach;
cmd = {"${cfg.lsp.package}/bin/texlab"},
}
'';
};
};

❓ Alternatives

No response

📝 Additional Context

No response

@isaacST08 isaacST08 linked a pull request Jan 19, 2025 that will close this issue
@NotAShelf NotAShelf linked a pull request Jan 19, 2025 that will close this issue
@isaacST08
Copy link

As I’m actively trying to implement this with #569 , are there any particular features the OP (@KaminariOS ) would like implemented in an initial version? What do you use Tex/texlab for and what would be of aid to you? This question extends to anyone else who uses the Tex language as well.

P.S. I use Tex for LaTeX for mathematical proofs so use cases out side of this might require a little further explanation to help me help you. Additionally I’m not familiar with BibTex or conTeXt or how they compare to LaTeX so keep that in mind if your response revolves around them; an small explanation in addition to any feature requests related to these would be appreciated.

@KaminariOS
Copy link
Author

KaminariOS commented Jan 21, 2025

As I’m actively trying to implement this with #569 , are there any particular features the OP (@KaminariOS ) would like implemented in an initial version? What do you use Tex/texlab for and what would be of aid to you? This question extends to anyone else who uses the Tex language as well.

P.S. I use Tex for LaTeX for mathematical proofs so use cases out side of this might require a little further explanation to help me help you. Additionally I’m not familiar with BibTex or conTeXt or how they compare to LaTeX so keep that in mind if your response revolves around them; an small explanation in addition to any feature requests related to these would be appreciated.

I only use Texlab for auto-completion. Adding Texlab trivially is enough for me.

For preview I open the pdf with Okular manually.
For re-compile on save I use watchexec to run tectonic to auto recompile on save.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants