I have a repository with one document, but I think of splitting it into two documents, whereas I want to cross-reference from one to eachother.
Is there a way, to "rewrite"
\ref to automatically expand to the chapter number (or whatever) if the current document contains the label, or to expand to something like
"<chapter name> in the document \someDocumentNameConstant" and if yes, how to?
All document names can be retreived via variables/constants.
Of course you cannot \ref to a chapter number in another document, as the chapter number gets generated. I also know that the chapter name of the referenced chapter wouldn't be in the current translation unit, but maybe someone knows a trick to do this kind of setup!
I hope this question isn't to dumb!