[texhax] Is there a way to instruct a (la)tex where to find /include files?
Schwartz, Steven J
s.schwartz at imperial.ac.uk
Fri Jul 15 16:35:03 CEST 2011
> Rather, a user should create a separate directory and build the package in that directory instead.
So why not have autotools copy the .tex files to the build directory, build it there, then cleanup by deleting what you don't want. Or copy to a templet directory, build, move the dvi or PDF or whatever to the desired destination and then delete the temporary directory? This isn't much in the way of shell commands, eg
cp ../../source/*.tex .
mv *.pdf ..
(untested but pretty simple). Easily extended to more complicated cases, eg with subdirectories and can only really go wrong (?) if there's not enough disk space for both the copy and build.
Space and Atmospheric Physics
Imperial College London
Tel 020 7594 7660
More information about the texhax