LaTeX-Workshop: [Bug] Conflict when working in two TeX projects
Imagine I have 2 multi .tex projects and Paper.tex and Thesis.tex both with \begin{document}. Then for exemple if have Paper.tex and ThesisChapter1.tex open and I tell vscode to do latex-workshop.build or latex-workshop.tab or latex-workshop.clean when I have ThesisChapter1.tex focused in the editor, then it builds/shows/cleans the Paper.tex and not Thesis.tex . I have all tex files with the correspondent % !TeX root = ../rootTeX.tex magic command.
My workspace:
RootWorkspace
│ (some Mathematica .nb to export plot to both Figures/ folders )
│ Bibliography.bib
│
└───Thesis
│ │ Thesis.tex
│ │ ...
│ │
│ └───Chapters
│ │ │ ThesisChapter1.tex
│ │ │ ...
│ │
│ └───Figures
│ │ ...
│
└───Paper
│ │ Paper.tex
│ │ ...
│ │
│ └───Sections
│ │ │ PaperSection1.tex
│ │ │ ...
│ │
│ └───Figures
│ │ ...
Simply put, if I have only ThesisChapter1.tex and PaperSection1.tex open in the editor, if I do latex-workshop.build on either it will not build the one that it’s focused on the editor but, I believe, the one that was build last.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 23 (12 by maintainers)
Commits related to this issue
- (#95) Respect both `TEX` and `TeX` in magic comment — committed to James-Yu/LaTeX-Workshop by James-Yu 7 years ago
- update from original (#1) * Report Latex Log errors as diagnostics per file * Start overhaul * Fix wrong subtitle for citations * Add command autocomplete * Add env and ref autocompletion... — committed to MrYann/LaTeX-Workshop by MrYann 7 years ago
The comment is
TEXinstead ofTeX. Please correct and check again.edit: there is a mistake in the readme. I will update it immediately.