Fix Okular forward search command in docs

See #768.
This commit is contained in:
Patrick Förster 2022-09-20 21:21:33 +02:00
parent f42b02b57a
commit 51d201b2f0

View file

@ -97,13 +97,15 @@ Add the following lines to your editor config:
```json
{
"texlab.forwardSearch.executable": "okular",
"texlab.forwardSearch.args": ["--editor-cmd": "code -g \"%%f\":%%l", "--unique", "file:%p#src:%l%f"]
"texlab.forwardSearch.args": ["--unique", "file:%p#src:%l%f"]
}
```
### Inverse Search
Change the editor of Okular (Settings -> Configure Okular... -> Editor) to "Custom Text Editor" and set the following command:
Change the editor of Okular (Settings -> Configure Okular... -> Editor) to "Custom Text Editor"
and set the editor command.
For Visual Studio Code, you can use the following command:
```bash
code -g "%f":%l