I have been searching all over and I do not understand how to reference a block of text in an external document.
I am using the memoir documentclass.
I am trying to use the XR package and the \externaldocument{filename} command. To store chunks of text that will be included in various documentation. My goal is to store all of this in an external file, but include portions of it in my writing. Most of this is boilerplate info, so it doesn’t change much. I would like to reference it so that when it does change, it only has to be changed once.
I am getting very frustrated as most of the examples I found are leveraging pre-existing knowledge of LaTex. I am trying to use the \ref{} command to call the chunk of text.
\includerather than thexrpackage – cmhughes Apr 05 '12 at 20:51\refcommand or one of the more advanced commands, such as\autorefand/or\cref, that are provided by thehyperrefandcleverefpackages, respectively? Lastly, your question isn't clear about your objective: Are you trying to create cross-references to items (e.g., sections and equations) contained in an external document, or are you looking to include chunks of text stored in an external document? – Mico Apr 05 '12 at 20:52catchfilebetweentagspackage. Search this site for that keyword, or perhaps start with \input only part of a file using catchfilebetweentags package. It would be helpful if you provided a mock up of the external file and some examples of how you want to reference/include it, so that we can more directly answer your question. – Peter Grill Apr 05 '12 at 21:10