|
1 | 1 | ---
|
2 | 2 | root_file: docs/manual-language-docs/lsp-latex.md
|
3 | 3 | ---
|
4 |
| -## Available functions |
5 |
| -### `lsp-latex-build` |
6 |
| -Build .tex files with texlab. |
7 |
| -It use latexmk by default, so add .latexmkrc if you want to customize |
8 |
| -latex commands or options. You can change build command and option to other |
9 |
| -such as `make`, by changing `lsp-latex-build-executable` and |
10 |
| -`lsp-latex-build-args`. |
11 |
| - |
12 |
| -This command builds asynchronously by default, while it build synchronously |
13 |
| -with prefix argument(C-u). |
14 |
| - |
15 |
| -### `lsp-latex-forward-search` |
16 |
| -Move to current position on pdf viewer. |
17 |
| -To use, you should set `lsp-latex-forward-search-executable` and |
18 |
| -`lsp-latex-forward-search-args` according to your pdf viewer. |
19 |
| -See also [document of texlab](https://texlab.netlify.app/docs/installation/previewing). |
20 |
| - |
21 |
| -## Note |
22 |
| -In this package, you can use even texlab v0.4.2 or older, written with Java, |
23 |
| -though it is not recommended. If you want to use them, you can write like: |
24 |
| - |
25 |
| -``` emacs-lisp |
26 |
| -;; Path to Java executable. If it is added to environmental PATH, |
27 |
| -;; you don't have to write this. |
28 |
| -(setq lsp-latex-java-executable "/path/to/java") |
29 |
| -
|
30 |
| -;; "texlab.jar" must be located at a directory contained in `exec-path' |
31 |
| -;; "texlab" must be located at a directory contained in `exec-path'. |
32 |
| -(setq lsp-latex-texlab-jar-file 'search-from-exec-path) |
33 |
| -;; If you want to put "texlab.jar" somewhere else, |
34 |
| -;; you can specify the path to "texlab.jar" as follows: |
35 |
| -;; (setq lsp-latex-texlab-jar-file "/path/to/texlab.jar") |
36 |
| -``` |
| 4 | +# lsp-latex.el: texlab LSP-client |
| 5 | +See [lsp-latex.el homepage](https://github.com/ROCKTAKEY/lsp-latex). |
0 commit comments