Hi all,
Right, I was actually using the code in the patch I submitted, so it worked. Regarding multifile documents, do I understand correctly that this is the job of reftex? I know about its internals at all... do you have a recommended style/*.el files which plugs into reftex that I should look at as an example? It would indeed be nice to avoid regexing the whole document each time you do \includegraphics. But, if somebody goes back and edits their previous \graphicspath command, a re-parse would be needed... I don't know what is the best way to handle this.
Best
Leo