Converts common LaTeX/BiBTeX escaped characters into UTF-8 encoding. For
instance, {'{e}}
will be translated in é
.
replace_tex_tags(x)
A vector of characters.
replace_tex_tags("H{\\'{e}}t{\\'{e}}rog{\\'{e}}n{\\'{e}}it{\\'{e}}")
#> [1] "Hétérogénéité"
replace_tex_tags(c("Mon c{\\oe}ur", "El Ni{\\~{n}}o"))
#> [1] "Mon coeur" "El Niño"