0

We are collaborating on a project, each member is responsible for a topic.

enter image description here

The file structure is like this. Aiac-paper is the main file, and I added every file with \include{...}. My question is, is something like that possible? I compile only Abstract.tex another one compiles only Data.tex. There are lots of text which is not my business, and vice versa.

  • I'm not quite understanding what you mean by "I compile only Abstract.tex another one compiles only Data.tex". Usually, the only thing compiling is the main file. If that has \include{Abstract}, then it will do so. If you want to be able to compile Abstract.tex on its own, you can try the subfiles package, but I don't know how well that will work with Overleaf. – Teepeemm Jul 28 '23 at 20:21
  • I just want this, for example, we have 2 files, a.tex, and b.tex. I only want to see the preview of a.tex, and another person wants to see b.tex, but still, there will be a main.tex file that includes a.tex and b.tex – Barbaros Teoman Kosoglu Jul 28 '23 at 20:27
  • if you use \include you are always making the pdf of the main document not your chapter – David Carlisle Jul 28 '23 at 20:54
  • For example in a python workspace, there is also a main file that can include other files, but I can also run a file which is not main – Barbaros Teoman Kosoglu Jul 28 '23 at 21:08
  • Try the subfiles package: https://www.overleaf.com/learn/latex/Multi-file_LaTeX_projects#The_subfiles_package – Teepeemm Jul 28 '23 at 21:43
  • See this simple example. It is for a beamer presentation, but the strategy is exactly the same for another document classes. The docmute package simply ignore the preambles of the subdocuments. Therefore the contents of every part must be compatible with the main preamble, but the subdocuments could have even different formats (margins, etc.) for the part previews. – Fran Jul 29 '23 at 08:50

0 Answers0