-
Hi, I've been trying to configure TexLab to build my documents and do a forward search with Zathura on every save. Sadly I can't get any of this to work: build doesn't happen, and neither does forward search. I've been trying to look at the debug logs, the configuration is being passed properly and the Here's my Kate LSP Plugin configuration file at the moment: {
"servers": {
"latex": {
"command": [
"texlab",
"-vvv",
"--log-file",
"/tmp/texlog.txt"
],
"settings": {
"texlab": {
"build": {
"executable": "latexmk",
"args": [
"-pdf",
"-interaction=nonstopmode",
"-synctex=1",
"%f"
],
"onSave": true,
"forwardSearchAfter": true
},
"forwardSearch": {
"executable": "zathura",
"args": [
"--synctex-forward=%l:1:%f",
"%p"
]
},
"chktex": {
"onOpenAndSave": false,
"onEdit": false
},
"diagnosticsDelay": 300,
"formatterLineLength": 80,
"bibtexFormatter": "texlab",
"latexFormatter": "latexindent",
"latexindent": {
"local": null,
"modifyLineBreaks": true
}
}
}
}
}
} And here's the
I tried a lot of things from using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@JPenuchot You need to omit the {
"servers": {
"latex": {
"command": [
"texlab",
"-vvv",
"--log-file",
"/tmp/texlog.txt"
],
"settings": {
"build": {
"executable": "latexmk",
"args": [
"-pdf",
"-interaction=nonstopmode",
"-synctex=1",
"%f"
],
"onSave": true,
"forwardSearchAfter": true
},
"forwardSearch": {
"executable": "zathura",
"args": [
"--synctex-forward=%l:1:%f",
"%p"
]
},
"chktex": {
"onOpenAndSave": false,
"onEdit": false
},
"diagnosticsDelay": 300,
"formatterLineLength": 80,
"bibtexFormatter": "texlab",
"latexFormatter": "latexindent",
"latexindent": {
"local": null,
"modifyLineBreaks": true
}
}
}
}
} |
Beta Was this translation helpful? Give feedback.
@JPenuchot You need to omit the
"texlab: {"
from your configuration. It should be