Dear all,

a question on a general problem with no specific reference to particular data.

Suppose you're running regressions in a loop and want to export results using eststo and esttab (ssc des estout) within the loop. You aim for a single tex-formatted pdf file containing the many tables, so you use append and tex (or booktabs or fagment). Is there any (even better, a quick and easy) way to introduce a page break in the tex file, after the code of each table is appended?

It's not clear to me that longtable or width() can help - but I rarely use LaTex and happy to be corrected. I also saw tex3pt (ssc des tex3pt) which seems to have been written pecisely to improve the esttab-to-tex path, but I can't make it work within the very same loop producing regressions, as it seems to me that options required to introduce LaTex code to initialize and eventually close a document, on the one hand, and the clearpage option to introduce the page break cannot be used in the same instance of the command - and the help file exemplifies multiple tables by running the command twice, with no loop (yes a more complex loop with conditions switching the content of some locals for options is conceivable but contrived). Am I missing something about what's feasible with these two commands? I know there are many other commands (although I also think outreg2 (ssc des outreg2) wouldn't do what I want), but I'd like to understand what's feasible in this case. Thanks