[texhax] automatic dependency generation for pdflatex

Steve Schwartz s.schwartz at imperial.ac.uk
Sun Mar 8 00:59:28 CET 2009


I'm not sure exactly what you want, but have you tried running latex
with a -recorder option, i.e.,

latex -recorder file.tex

? This generates a .fls file that has all the input files, etc., and
with full paths to the files. I attach a script I wrote around it to
pack up a latex file together with the various input files, graphics
files, etc., so I could ship it to someone else. Indeed, my script looks
for and throws away the files related to latex packages, which I guess
is what you want to keep!



On Sat, 2009-03-07 at 15:03 -0500, Bob Rossi wrote:
> Hi,
> I'm trying to integrate latex into my build system. I use autotools,
> along with make. I can't figure out how to have latex automatically
> generate the dependencies. The closest I have found is this,
>   http://www.ams.org/tex/snapshot.html
> the only problem with it is, it gives relative filenames, not absolute.
> Shouldn't latex provide this feature? Any user using a build system to
> build latex would require this functionality. I've found a dozen people
> asking the same question over the years. Any thoughts on how I can solve
> this problem?
> Thanks,
> Bob Rossi
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
Professor Steven J Schwartz        Phone: +44-(0)20-7594-7660
Head, Space & Atmospheric Physics  Fax:   +44-(0)20-7594-7900
The Blackett Laboratory            E-mail: s.schwartz at imperial.ac.uk
Imperial College London            Office: Huxley 711A 
London SW7 2AZ, U.K.               Web: www.sp.ph.ic.ac.uk/~sjs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: packngotex.sh
Type: application/x-csh
Size: 2668 bytes
Desc: not available
Url : http://tug.org/pipermail/texhax/attachments/20090307/c60843ee/attachment.csh 

More information about the texhax mailing list