I use the letter
X in my document. When I convert the *.tex to *.pdf, I want all occurrences of
X to be replaced with
Y, akin to if I opened the "search and replace" function in the text editor and replaced
There is a certain letter in Russian language known as Yo (ё) which is a cause of a long-running holywar. Some people use it everywhere where it is appropriate in accordance with the rules of orthography. Some people replace it with the letter Ye (е) everywhere where it is still possible to understand the word. And some people simply do not use it at all. Sadly, many scientific journals (for whatever reason) fall in the last category.
I want to write proper, grammatically correct text using ё everywhere it is needed, and still be able to easily tell LaTeX to compile the "umlautless" version of the document.