Generalize the text replacer, move biblio replacing to after the others.