The extras layout is patching \underline with \bbl@sreplace\underline{$\@@underline}{\bbl@nextfake$\@@underline}, but \underline was robustified a few years back.
I think this patch fails as \bbl@sreplace is not really aware of robustified commands (and the output they give in \meaning).
The extras layout is patching
\underline
with\bbl@sreplace\underline{$\@@underline}{\bbl@nextfake$\@@underline}
, but \underline was robustified a few years back.I think this patch fails as
\bbl@sreplace
is not really aware of robustified commands (and the output they give in\meaning
).Here is a small example to demonstrate the error
With
\xpatchcmd
it seems to work:or maybe redefinition would be preferable:
Related post from TeX.SE