# latex2latex without \ref

I want to submit a manuscript to an academic journal (my first article). Obviously, I created a beautiful pdf using latex with figures, equations, an appendices and cross-references (package: hyperref).

Unfortunately, the journal only accepts .tex files with certain constraints. For example, the main document needs to be a separate file from the appendix. The journal will do the final compiling.

The main issue is that I have many cross-references going back-and-forth between the main body and the appendix. Can I convert my latex2latex such that all Equation~\ref{LabelToEquation3.2} are converted to the text Equation~3.2 etc.?

• If all they need is a separate PDF, one would simply copy and paste the pages into two files. If all they need is a separate .tex file, use \include or \includeonly. – John Kormylo Feb 10 '16 at 14:57
• They need a tex for the main body (or, at least, an editable document). Could you elaborate on the last part of your comment? – LBogaardt Feb 10 '16 at 15:04
• One can split your source into 2 or more files and join them together using \input or \include (\include forces a page break before and after). \includeonly can be used to not print all the files but still include references (aux files). – John Kormylo Feb 10 '16 at 15:08
• Wouldn't I then still have a main-body-tex file with \ref{AppendixLabel} commands? If I send this tex file to the journal, without the appendix, it wouldn't make sense. – LBogaardt Feb 10 '16 at 15:15
• If you use the xr package you should be able to make \label/\ref work across the documents – David Carlisle Feb 10 '16 at 15:48