question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PDF Preview not working

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:22 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
James-Yucommented, Apr 16, 2018

Should be fixed in the above commit.

1reaction
James-Yucommented, Jul 4, 2017

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enable thumbnail preview of PDFs in Windows Explorer
Open Acrobat or Acrobat Reader. · In the Preferences dialog box, choose General in the Categories list, and then select the Enable PDF...
Read more >
PDF Previews Not Showing In Windows 10 File Explorer
PDF Previews Not Showing In Windows 10 File Explorer · Open the reader, · Go to Edit · Then Preferences · Go to...
Read more >
[Fix] PDF Thumbnail and Preview Not Showing Up in File ...
Open Adobe Reader, click Edit, Preferences. Under “General”, enable the option Enable PDF thumbnail previews in Windows Explorer . adobe pdf ...
Read more >
How to Fix Outlook PDF Preview Handler Error?
Corruptions and alike issues with the temporary or cache files could be the reason behind the Outlook PDF preview handler error. So, you...
Read more >
Preview Pane Not Working in Windows 10? 8 Ways to Fix It
1. Ensure the Preview Pane Isn't Disabled · 2. Rule Out the File Specific Issues · 3. Restart Windows Explorer · 4. Tweak...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found