James-Yu / LaTeX-Workshop

Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.
MIT License
10.72k stars 535 forks source link

[question] Synctex and Okular (Evince) #122

Closed domenicozambella closed 7 years ago

domenicozambella commented 7 years ago

I am just experimenting with VScode and with LaTeX Workshop.

  1. I use Okular (similar to Evince) as PDF viewer. For inverse search to work an editor specific command is required. For example kile --line %l works with kile. Simply replacing kile with /usr/share/code/code does not work (of course): the correct source is opened in VScode but the prompt is not at the right line. What should I write?

  2. If forward seach (for source to PDF) implemented in LaTeX Workshop?

Thank you.

James-Yu commented 7 years ago

There is no current plan to support external PDF viewer. So you may need to research a little bit on vscode to achieve your objectives, if possible.

celliern commented 6 years ago

I know, this issue is closed, but for the one wondering:

code --goto %f:%l%c

will achieve inverse search for vscode and okular.

domenicozambella commented 5 years ago

Thank you. Your hint brought me back to vscode.

It did not work right away (it finds the right file but goes to the eof). The following works

 code --goto %f:%l
Feromrk commented 5 years ago

thanks a lot guys!

versions:

search: