We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b54029 commit 1463870Copy full SHA for 1463870
src/index.ts
@@ -335,7 +335,13 @@ function activateLatexPlugin(
335
return Promise.resolve(void 0);
336
}
337
pending = true;
338
- return latexBuildRequest(texContext!.path, synctex, serverSettings)
+
339
+ /** Get the local file path without any drive prefix potentially added by
340
+ * other extensions like jupyter-collaboration
341
+ */
342
+ const localPath = app.serviceManager.contents.localPath(texContext!.path);
343
344
+ return latexBuildRequest(localPath, synctex, serverSettings)
345
.then(() => {
346
// Read the pdf file contents from disk.
347
pdfContext ? pdfContext.revert() : findOpenOrRevealPDF();
0 commit comments