[x] The issue is not related to compiling a document, or the document can be successfully compiled in the OS terminal but not in Visual Studio Code with this extension.
Environment*
Operating System: Ubuntu 22.04
Visual Studio Code Version: 1.88.1
LaTeX Workshop Version: 9.20.0
TeX Distribution Version: TeX Live 2021
The Issue*
When source files are in different directories, I get the error message "Cannot view file PDF file. File not found"
Pre-checks*
Environment*
The Issue*
When source files are in different directories, I get the error message "Cannot view file PDF file. File not found"
Reproduction Steps
in TeX files
doc1
, thendoc2
doc1
, click on the icon "View LaTeX PDF file" (orCtrl
+Alt
+V
)At this point, the file cannot be found as if it was looking at
doc1.pdf
inside thefile2
directory.Expected Behavior
It should display in a vscode tab or in the browser the pdf of
doc1
.Logs
LaTeX Workshop Output*