biblatex
issues the following warning when used with the linguex
package.
Package biblatex Warning: Patching footnotes failed.
(biblatex) Footnote detection will not work.
This is because the linguex
redefines \footnotetext
in order to support numbered examples in footnotes and endnotes.
However, redefining \footnotetext
makes it impossible (difficult?) for biblatex
to patch footnotes in order to support ibid and ibidem citations.
According to an answer (here), this is a warning we can safely ignore as long as we're not using an ibid citation style.
But what if a user wants to use both linguex
and some ibid citation style? Is there a way to make biblatex override whatever has been done to \footnotetext
?
MWE:
\documentclass{article}
\usepackage{linguex}
\usepackage
[
backend = biber,
style = authoryear-ibid,
]
{biblatex}
\begin{document}
\end{document}
linguex
thus:\let\svfootnotetext\footnotetext\usepackage{linguex}\let\footnotetext\svfootnotetext
. This will restore the definition of\footnotetext
to that which preexisted the loading oflinguex
.\let
works with a pointer to\footnotetext
, whereas those packages redefine whatever that pointer points to.\let
does not work with a pointer, but makes an actual copy. Now the problem may be that what gets changed is not\footnotetext
, but subsidiary routine(s). In that case, this procedure needs to be applied to the actual routine(s) that are changed bylinguex
.linguex
redefines\@footnotetext
. So, the following should go after loading it:\makeatletter \let\@footnotetext\predefinedfootnotetext \makeatother