I am splitting a long paper latex into two parts. I intend to end up with two completely independent papers, possibly for different journals. However, the second will have many references to statements in the first, currently handled with
Code: Select all
\label
Code: Select all
\ref
I would like to have the second paper use the "aux" file of the first (or some such trick) in order to be able to keep references up-to-date as the first paper keeps being edited.
For instance, I was thinking of coding some sort of macro as follows -- but am hoping for better advice (or help coding this idea).
Let's say I have two papers "paper1.tex" and "paper2.tex". Let's assume further that in my bibtex database I gave the label
Code: Select all
my_paper1
Code: Select all
\label{cool_theorem}
Code: Select all
\specialref{cool_theorem}
Code: Select all
cool_theorem
Code: Select all
3.14
Code: Select all
\cite[3.14]{my_paper1}
Many thanks!
P.S. this is my first post here

TexTonic