LaTeX-Workshop: PDF Preview not working

Hello! I have unfortunately some issues with the PDF preview of the LaTeX Workshop plugin for VS Code.

The latex-workshop plugin output reads as (I have shortened the path for readability and privacy):

[15:57:48] Initializing LaTeX Workshop.
[15:57:48] Creating LaTeX Workshop http and websocket server.
[15:57:48] LaTeX Workshop initialized.
[15:57:48] Found root file by magic comment: [...]/Notes/notes.tex
[15:57:48] Root file changed from: undefined. Find all dependencies.
[15:57:48] Instatiating new file watcher for [...]/Notes/notes.tex
[15:57:48] Parsing [...]/Notes/notes.tex
[15:57:48] Adding [...]/Notes/structure.tex to file watcher.
[15:57:48] Parsing [...]/Notes/structure.tex
[15:57:48] Adding [...]/Notes/chapters/chapter1.tex to file watcher.
[15:57:48] Parsing [...]/Notes/chapters/chapter1.tex
[15:57:48] Adding [...]/Notes/chapters/chapter2.tex to file watcher.
[15:57:48] Parsing [...]/Notes/chapters/chapter2.tex
[15:57:48] Found .bib file [...]/Notes/references.bib
[15:57:48] Creating file watcher for .bib files.
[15:57:48] Parsing .bib entries from [...]/Notes/references.bib
[15:57:48] Parsed 8 .bib entries from [...]/Notes/references.bib.
[15:57:48] Linter for root file started.
[15:57:48] Linter for root file running command chktex with arguments -wall,-n22,-n30,-e16,-q,-f%f:%l:%c:%d:%k:%n:%m
,[...]/Notes/notes.tex
[15:57:48] Linter for root file failed with exit code 1 and error:
  
[15:57:48] Linter log parsed with 88 messages.
[15:57:48] Default environments loaded
[15:57:48] Parsing [...]/Notes/notes.tex
[15:57:48] Parsing [...]/Notes/structure.tex
[15:57:48] Parsing [...]/Notes/chapters/chapter1.tex
[15:57:48] Parsing [...]/Notes/chapters/chapter2.tex
[15:57:48] Default commands loaded
[15:57:48] Default unimathsymbols loaded
[15:57:51] BUILD command invoked.
[15:57:51] Found root file by magic comment: [...]/Notes/notes.tex
[15:57:51] Root file remains unchanged from: [...]/Notes/notes.tex.
[15:57:51] Building root file: [...]/Notes/notes.tex
[15:57:51] Build root file [...]/Notes/notes.tex
[15:57:51] Toolchain step 1: latexmk, -synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,[...]/Notes/notes
[15:57:56] LaTeX log parsed with 1 messages.
[15:57:56] Toolchain of length 1 finished.
[15:57:56] Successfully built [...]/Notes/notes.tex
[15:57:56] No PDF viewer connected for [...]/Notes/notes.pdf
[15:57:56] Found root file by magic comment: [...]/Notes/notes.tex
[15:57:56] Root file remains unchanged from: [...]/Notes/notes.tex.
[15:57:56] File cleaned: [...]/Notes/notes.aux
[15:57:56] File cleaned: [...]/Notes/notes.bbl
[15:57:56] File cleaned: [...]/Notes/notes.blg
[15:57:56] File cleaned: [...]/Notes/notes.out
[15:57:56] File cleaned: [...]/Notes/notes.toc
[15:57:56] File cleaned: [...]/Notes/notes.fls
[15:57:56] File cleaned: [...]/Notes/notes.log
[15:57:56] File cleaned: [...]/Notes/notes.fdb_latexmk

[15:58:00] ACTIONS command invoked.
[15:58:03] VIEW command invoked.
[15:58:03] Found root file by magic comment: [...]/Notes/notes.tex
[15:58:03] Root file remains unchanged from: [...]/Notes/notes.tex.
[15:58:03] No PDF viewer connected for [...]/Notes/notes.pdf
[15:58:03] Cannot establish server connection.

[15:58:05] ACTIONS command invoked.
[15:58:07] TAB command invoked.
[15:58:07] Found root file by magic comment: [...]/Notes/notes.tex
[15:58:07] Root file remains unchanged from: [...]/Notes/notes.tex.
[15:58:07] No PDF viewer connected for [...]/Notes/notes.pdf
[15:58:07] Cannot establish server connection.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 22 (10 by maintainers)

Commits related to this issue

Most upvoted comments

Should be fixed in the above commit.

You can access it through Help -> Toggle Develop Tools. If no console-like things show up, press ESC.