I'm referencing items in an enumerated list from another document (requirements.tex). I can do that, but I get extraneous information I haven't been able to remove.
Requirements.tex:
\documentclass{article}
\usepackage{graphicx}
\usepackage{mathtools}
\usepackage{hyperref}
\usepackage{enumerate}
\begin{document}
\section{Engineering Requirements}
\begin{enumerate}
\item The system shall turn trees into money. \label{Req:treesToMoney}
\item The system must be able to process five trees per second. \label{Req:treeRate}
\end{enumerate}
\end{document}
design.tex:
\documentclass[hidelinks]{article}
\usepackage{graphicx}
\usepackage{geometry}
\usepackage{fancyhdr}
\usepackage{amsmath, amsthm ,amssymb}
\usepackage{graphicx}
\usepackage{xr}
\externaldocument{../requirements/Requirements}
\begin{document}
Requirement \ref{Req:treesToMoney} is a functional requirement.
\end{document}
The output from design.tex is something like:
Requirement 1Engineering RequirementsItem.1 is a functional requirement.
This output looks awful. Not only do I get the extraneous section name and Item.#, that information isn't separated by spaces.
Is there a way to format the output of \ref? Possibly to exclude the extraneous information but at-least to separate the different pieces of information by spaces.
