[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*
Please write exact version numbers instead of descriptors such as latest.
Operating System: [mac OS]
Visual Studio Code Version: [1.87.1 (Universal)]
LaTeX Workshop Version: [9.19.0]
TeX Distribution Version: [TeX Live 2023]
The Issue*
Please briefly describe the issue you come across.
The plugin can't open the correct PDF file for me.
Reproduction Steps
Please list out the steps to reproduce your bug. Include relevant environmental variables or any other configuration.
Compile a.tex in the integrated terminal and press the View LaTeX PDF file button in the upper right corner, then a.pdf can be opened as expected.
Create a tex file b.tex with plain tex format
world
\bye
Compile b.tex in the integrated terminal and press View LaTeX PDF file button, b.pdf can't be opened.
Create another file c.tex with latex format and the generated PDF can be opened as expected.
Expected Behavior
What were you expecting to see? Include any relevant examples or documentation links.
I hope the PDF generated from plain tex format .tex file can be opened successfully.
Logs
LaTeX Workshop Output*
Please paste the whole log messages below, not parts of ones. The log should start with New log placeholder %WS1% registered.
[Paste the log here. Do not remove the surrounding backquotes (`).]
Developer Tools Console
Please paste the whole log messages below, not parts of ones. This console logs can sometimes be very important in many cases. To access the log, click Help -> Toggle Developer Tools -> Console.
[Paste the log here. Do not remove the surrounding backquotes (`).]
The extension doesn't support plain TeX document. It uses \documentclass[]{} (or latex-workshop.latex.rootFile.indicator) to determine the root file. There is no plan to support plain TeX.
Pre-checks*
Environment*
The Issue*
The plugin can't open the correct PDF file for me.
Reproduction Steps
Note: I'm using external PDF viewer
skim
app.test
a.tex
with latex formatCompile
a.tex
in the integrated terminal and press theView LaTeX PDF file
button in the upper right corner, thena.pdf
can be opened as expected.b.tex
with plain tex formatb.tex
in the integrated terminal and pressView LaTeX PDF file
button,b.pdf
can't be opened.c.tex
with latex format and the generated PDF can be opened as expected.Expected Behavior
I hope the PDF generated from plain tex format
.tex
file can be opened successfully.Logs
LaTeX Workshop Output*
Developer Tools Console
Anything Else?