0

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.

  • 2
    Welcome to TeX.SE! This is what \include accomplishes. Using \includeonly you could only include some part of the document while keeping the counters "intact". – user121799 Jan 2 '19 at 1:27
  • Although @marmot is correct, it might be useful to clarify that you need to include all files at least once to generate the labels (see, e.g., tex.stackexchange.com/a/87011) – Marijn Jan 3 '19 at 16:28
  • Thank you - \include only does the trick indeed. – Milosz Jan 4 '19 at 20:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.