Suppose I am creating, say, 50 individual LaTeX files (one for each lecture).
I wish to label all my theorems/propositions in the first file as 1.1, 1.2, etc. but then in the second file I want them all labelled as 2.1, 2.2, etc., up until the 50th lecture, where everything would be labelled as 50.1, 50.2 etc.
In other words, each individual LaTeX file has everything numbers consecutively, but (apart from the first file), the numbering won't start at 1. What is the easiest way to accomplish this?
Second question: at the end of the semester I will glue the 50 files together (so the students get one combined file). Ideally the solution to the previous question will involve minimal fuss when the files are pasted together.