I want to cross-reference between different chapters. For example I have chap2.tex and chap3.tex as files containing all the theorems and methods, respectively. The following chapters 4,5...7 will extensively rely on cross-referencing from these two chapter.
I am using the thesis template from here and I have tried following the solution provided for a similar problem using the xr package, but it is not working.
Can somebody point out the error I am making? Is there something with the template?
xr. A simple\labeland corresponding\refwould suffice. – Werner Jul 22 '15 at 18:17\labeland\refworks perfectly fine within a chapter on a singlechap.texfile. – Nitya Jul 22 '15 at 18:22\includeeachchapX.texas part of a master document, then you can still use\label-\ref, even though the\labelis in one file and\refis in another. – Werner Jul 22 '15 at 18:30\includethem into the master document as\include{chap1.tex},\include{chap2.tex}......Trying to use\refis not giving me any option to include in another chapter as it gives in the same chapter. – Nitya Jul 22 '15 at 18:38\refmight not show up, but you can certainly use them. – Werner Jul 22 '15 at 19:17\input{chap2}in the begining of later chapters which provides me the option for label selection. And even after I remove the\input{chap2}, they can retain their values. – Nitya Jul 23 '15 at 10:00