The document is split into files
\input{f1}
\input{f2}
\input{f3}
I would like to have f2 processed into .aux so that f1 and f3 can refer to f2 equation labels, but with no pages of f2 included in the output. I could set other counters (page etc.) by hand in f3 to obtain continuous numeration in f1+f3.
\includeaccomplishes. Using\includeonlyyou could only include some part of the document while keeping the counters "intact". – Jan 02 '19 at 01:27