Clarification: I am looking for a way to automatically run pdflatex on multiple .tex files to produce multiple separate .pdf files when I click the Recompile button in Overleaf.
I have multiple .tex files, which have different document classes in Overleaf. Because they have different document classes, I don't believe that the subfiles
package is a viable solution.
I have currently been compiling them separately and uploading the result back into Overleaf, but this solution is not the best if you forget to compile one file that you updated.
I believe that maybe latexmk
can be used for this.
An alternative solution to this, and possibly a better solution: is there a way of nesting different document classes? If so, I can just use \input
on the subfiles.
Thank you in advance!
latexmkrc
.