[texhax] Specifying a default path for text in the inputted file

Sumit Rangwala srangwal at usc.edu
Sat Nov 29 05:27:20 CET 2008


Hi,

Is it possible to tell latex to input files such that the
paths within those files are appended with a given path.

The situation is as follows:

My directory structure is

allproject
    project1
        fig
    project2
        fig

Each project* directory has a file writeup.tex which has
commands like \includegraphics{fig/example.ps}


Now I am trying to create a summary of all the projects
by having a file allproject/summary.tex as

\input{project1/writeup}
\input{project2/writeup}


But compilations fails as the compiler is not able to find
the figures in allproject/fig.

Is there a way to specify that all paths in the inputted
file should "projectx" appended to it?


Thanks.

-- 
Sumit Rangwala
PhD Candidate
University of Southern California
http://enl.usc.edu/~srangwal


More information about the texhax mailing list