Why is line b) working, but not line d), if compiled the with lualatex?
In Line b) the r (U+0072) is followed by ̈ (U+0308). This compiles without errors.
In Line d) the r (U+0072) is followed by ̙ (U+0319). This produces (if %
removed) the error “\textbar̙ … Undefined control sequence. …”
\documentclass{article}
\usepackage{fontspec}
\usepackage{dejavu-otf}
\begin{document}
a) r̙ r̈ \$̈ \$̙
b) \textbar̈
c) \textbar{}̙
d) % \textbar̙
\end{document}
This is LuaHBTeX, Version 1.12.0 (TeX Live 2020/Debian)
\textbar̙
is undefined. The U+0319 has the catcode of a letter, and so continues the command name, you get an error for the same reason why you would get an error from\textbarx
: the command name simply isn't defined.\show\textbar̈
shows\textbar
with the diacritic following, as if it were catcode 12 ?