Closed Dirivian closed 6 years ago
How do you compile the new file? The pdf viewer previews the pdf file corresponding to the current root file.
I press CTRL + S to compile. What do you recommend?
Either split your projects into separate atom "projects" or Use the "Build LaTeX from current editor" function of the package.
ctrl
+ s
with the "Build on save" option will build the currently set LaTeX root file - and hence you don't get an preview - cause it never builds the new file.
That works. Do you want to close this issue or I can document this somewhere.
Hmm, this is kinda how most TeX editors work - but if you think it needs an explicit note - go ahead and open a PR :-)
When the user complies and runs a Tex file, the pdf viewer previews the document as it should.
Now, when compiling a new Tex file without restarting Atom, the pdf viewer keeps previewing the old pdf instead of the new one.