0

I have a main tex file which includes many import statements. I'm compiling with pdflatex to generate a PDF.

I'd like to create a new .tex file that includes all the content from the main .tex file, and includes all the content from the imported .tex files to create one master version with all content.

I was wondering if someone knew whether this was possible, or had some experience with it?

Many thanks in advance!

Simon
  • 1
  • Welcome! I've done this kind of thing, take a look at lines 296-304 of the following file for a demonstration : https://github.com/cmhughes/latexindent.pl/blob/main/.github/workflows/build-documentation-and-executables.yaml – cmhughes Nov 22 '22 at 12:31
  • Thanks for the super fast responses and help! Those really helped me out. – Simon Nov 22 '22 at 13:26

0 Answers0