Ralf Angeli <angeli <at> caeruleus.net> writes: > M-x query-replace-regexp-eval RET k RET (if (texmathp) "f" "k") RET > > This will still find all appearances of "k" but only replace those > which are in math constructs (unless `texmathp', the function to check > that, fails).
Thank you very much! _______________________________________________ auctex mailing list auctex@gnu.org http://lists.gnu.org/mailman/listinfo/auctex