Closed wehro closed 3 years ago
The new \babel@texpdf command is defined as:
\def\babel@texpdf#1#2#3#4{% \ifx\texorpdfstring\@undefined \textormath{#1}{#2}% \else \texorpdfstring{\textormath{#1}{#3}}{#2}% % \texorpdfstring{\textormath{#1}{#3}}{\textormath{#2}{#4}}% \fi}
If \texorpdfstring is undefined, the second argument is used as math code, if the command is defined, the third argument is the math code, which is obviously inconsistent.
\texorpdfstring
Must be \textormath{#1}{#3}, indeed.
\textormath{#1}{#3}
The new \babel@texpdf command is defined as:
If
\texorpdfstring
is undefined, the second argument is used as math code, if the command is defined, the third argument is the math code, which is obviously inconsistent.