question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Conflict when working in two TeX projects

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:23 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
James-Yucommented, Apr 7, 2017

The comment is TEX instead of TeX. Please correct and check again.

edit: there is a mistake in the readme. I will update it immediately.

0reactions
James-Yucommented, Apr 7, 2017

Then the browser-viewer users will be annoyed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

wrapfigure - Wrapfig used in conflicting environment - TeX
I am using Overleaf for the project. And the chapter is just a separate file that is included in the main script via...
Read more >
Warning: Found conflicts between different versions of the ...
This warning means that two projects reference the same assembly (e.g. System.Windows.Forms ) but the two projects require different ...
Read more >
Git merge conflicts | Atlassian Git Tutorial
A conflict arises when two separate branches have made edits to the same line in a file, or when a file has been...
Read more >
How to resolve a git merge conflict - Opensource.com
Sometimes two developers will change the same line of code in two ... Git gives a clue to resolving conflicts in its error...
Read more >
How to Resolve Merge Conflicts in Git – A Practical Guide with ...
It helps you manage your project files easily using local branching, ... In the case of Git merge, we need to be aware...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found