Yue Wu wrote: > Another question arises, I try to let TeX not expand macros at all for a > \write ... Look at the e-TeX primitives intended for exactly such a situation : http://tex.loria.fr/moteurs/etex_ref.html Philip Taylor