[Tugindia] Using variable definitions from another auxiliary file
Nina Mazumdar
nina.mazumdar at gmail.com
Sat Aug 23 10:11:02 CEST 2008
On Sat, Aug 23, 2008 at 1:31 PM, Kannan Moudgalya <kannan at iitb.ac.in> wrote:
> Duvvuri Venu Gopal wrote:
>> I assume it is possible. Keep both your books in one .tex file using
>> the \includeonly and \include commands.
>> First compile the Part I of the book. (at this run use \includeonly
>> and include all the Part I .tex files)
>>
>> During the second run use \includeonly and include the .tex files of Part II.
>
> I do not want to do this. The source file for the book is quite
> complicated with several subdirectories and so on. I would not want to
> change it.
>
> My original question remains: How do I use an existing .aux file from a
> different source for the current compilation.
xr.sty is what you are looking for.
Suppose, if you want to include references from an external document,
myfile.tex, you may kindly provide:
\externaldocument{myfile}
Now you can \ref and \pageref the labels in myfile.tex.
Happy TeXing and best regards
--
Nina
More information about the tugindia
mailing list