Your solution for \d{x} worked just fine. Is there an easy way to map \=A and \=a to the corresponding Unicode glyph? I know: using Unicode input files is the best way to go. I am trying to maintain as much compatibility with LaTeX as possible. Regards, Musa