Using AAP with LaTeX

Adriaan de Groot <adridg-FlD2LfDziEhmR6Xm/[email protected]> Mon, 29 Mar 2004 16:00:39 +0200 (MEST)
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
So, after dealing with things other than AAP for some while (Bram: Jos
told me you were concerned), I've decided to try to pick it up again for
compiling my thesis. I need to read the manual again, desperately, since
I've forgotten most stuff already. However, there's a couple of tricks
that I'd like to know about before really starting on this:

Ideally, I'd write:

main.dvi : main.tex $chapter1 $chapter2 $chapter3 $appendix

and be done with it. However, the action required for this is manyfold:

* run "latex main.tex"
* if main.idx has changed, run "makeindex" and then "latex main.tex" again
* if main.toc has changed, run "latex main.tex" again
* ... several more rules like that

Can I do this cleanly? Or is a big icky :action build .dvi default going
to be the only option?



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click