I need to combine two main latex files (one is the paper with the implemented comments from the reviewers, and the other is the response to the reviewers). They want a single pdf file with the letter first and the paper second.
How can I combine them using latex without generating the pdf? (Overleaf does not save the pdf in the main folder)
I tried to make a separate "Merge.tex" file including both "paper.tex" and "letter.tex" but it doesn't work.
The two files are in the same folder, and they are standalone files (with their \documentclass, \begin{document} ...)
documentclass, it's almost impossible to do that... Much better to create the PDFs and join them.pdftk A.pdf B.pdf cat output C.pdfto join A and B in C.