andrewrynhard / atom-latex-plus

16 stars 13 forks source link

compile sync doesn't act on new tex file #84

Open rhaynes74 opened 7 years ago

rhaynes74 commented 7 years ago

Hi folks, I have a .tex file in an atom project. I compile and sync it using latex-plus. I get the appropriate output. Then I click on a different .tex file in my project. I try to run compile and sync from the latex-plus file and it shows the wrong pdf - the pdf created from the previous file. Choosing edit in the latex-plus menu shows the .json file and indeed it indicates root in the previous tex file. It must be possible to compile multiple .tex files within a project ?

To recreate, create a new directory two latex files, add that directory to atom as a project folder. Then click on one of the files and compile,sync with latex-plus, you get the intended output. Then click on file 2 and compile/sync with latex-plus, the pdf output doesn't change, it recompiles the first latex file.

martinzh commented 7 years ago

Same here, it would be nice to have different projects in the same folder, I find myself constantly modifying the root folder in the .json file