Is there a way to set up LaTeX such that the variants of accented letters that result from using separate Unicode characters for the accents, like U+0308 for umlaut/diaeresis, will work automatically?
When integrating text from different sources generated on different platforms, such variants come in and generate the error Unicode character ̈ (U+0308) not set up for use with LaTeX. Or is replacement by 'proper' accented characters the only choice?
\documentclass{article}
\begin{document}
äöü% actually six characters, with U+0308 after each letter
should be
äöü
\end{document}
Beware: Some editors modify the characters when cut/pasting them. vi does not modify the pasted characters, emacs does.
pdflatex generates the error
! Package inputenc Error: Unicode character ̈ (U+0308)
(inputenc) not set up for use with LaTeX.
lualatexandxelatexwork. I know you prefer, for such simple things, comments instead of answers, but your hint is not among the answers in the other thread, and for many applications the engine does not matter. So would you mind copying your comment to the answer field? – gernot Nov 12 '21 at 12:37