Skip to main content
Became Hot Network Question
deleted 238 characters in body
Source Link
wsmith
  • 155
  • 5

I have been trying to understand what is behind this warning:

Package biblatex Warning: Patching footnotes failed. (biblatex) Footnote detection will not work. 

which is produced by, for example, this code:

% !TeX program = lualatex   \begin{filecontents}{example.bib} @article{example, author = {example}, title = {example}, journal = {example}, year = {2026} } \end{filecontents} \DocumentMetadata{ uncompress, lang=en, tagging=on, pdfstandard=UA-2, pdfstandard=A-4f, tagging-setup={math/setup={mathml-SE,mathml-AF}, extra-modules={verbatim-mo, verbatim-af}} } \documentclass[12pt]{report} \usepackage{setspace} \usepackage{biblatex} \addbibresource{example.bib} \begin{document} \cite{example} \printbibliographyExample. \end{document}   

Searching on this forum for similar issues, I am led to believe this has to do with the (re)definition of \@footnotetext. What confounds me, however, is that I can only produce this warning if I simultaneously set up the \DocumentMetadata, include setspace, and use biblatex. In other words, if I remove either the \DocumentMetadata or setspace then I no longer get this warning.

(I don't know if this is worth mentioning, but for what it's worth, I originally also use hyperref in the document where I found this issue-- its inclusion seems to have no bearing on this behavior).

I have been trying to understand what is behind this warning:

Package biblatex Warning: Patching footnotes failed. (biblatex) Footnote detection will not work. 

which is produced by, for example, this code:

% !TeX program = lualatex   \begin{filecontents}{example.bib} @article{example, author = {example}, title = {example}, journal = {example}, year = {2026} } \end{filecontents} \DocumentMetadata{ uncompress, lang=en, tagging=on, pdfstandard=UA-2, pdfstandard=A-4f, tagging-setup={math/setup={mathml-SE,mathml-AF}, extra-modules={verbatim-mo, verbatim-af}} } \documentclass[12pt]{report} \usepackage{setspace} \usepackage{biblatex} \addbibresource{example.bib} \begin{document} \cite{example} \printbibliography \end{document} 

Searching on this forum for similar issues, I am led to believe this has to do with the (re)definition of \@footnotetext. What confounds me, however, is that I can only produce this warning if I simultaneously set up the \DocumentMetadata, include setspace, and use biblatex. In other words, if I remove either the \DocumentMetadata or setspace then I no longer get this warning.

(I don't know if this is worth mentioning, but for what it's worth, I originally also use hyperref in the document where I found this issue-- its inclusion seems to have no bearing on this behavior).

I have been trying to understand what is behind this warning:

Package biblatex Warning: Patching footnotes failed. (biblatex) Footnote detection will not work. 

which is produced by, for example, this code:

% !TeX program = lualatex \DocumentMetadata{ uncompress, lang=en, tagging=on, pdfstandard=UA-2, pdfstandard=A-4f, tagging-setup={math/setup={mathml-SE,mathml-AF}, extra-modules={verbatim-mo, verbatim-af}} } \documentclass[12pt]{report} \usepackage{setspace} \usepackage{biblatex} \begin{document} Example. \end{document}   

Searching on this forum for similar issues, I am led to believe this has to do with the (re)definition of \@footnotetext. What confounds me, however, is that I can only produce this warning if I simultaneously set up the \DocumentMetadata, include setspace, and use biblatex. In other words, if I remove either the \DocumentMetadata or setspace then I no longer get this warning.

(I don't know if this is worth mentioning, but for what it's worth, I originally also use hyperref in the document where I found this issue-- its inclusion seems to have no bearing on this behavior).

Source Link
wsmith
  • 155
  • 5

DocumentMetadata + setspace + biblatex: yields: "Patching footnotes failed"

I have been trying to understand what is behind this warning:

Package biblatex Warning: Patching footnotes failed. (biblatex) Footnote detection will not work. 

which is produced by, for example, this code:

% !TeX program = lualatex \begin{filecontents}{example.bib} @article{example, author = {example}, title = {example}, journal = {example}, year = {2026} } \end{filecontents} \DocumentMetadata{ uncompress, lang=en, tagging=on, pdfstandard=UA-2, pdfstandard=A-4f, tagging-setup={math/setup={mathml-SE,mathml-AF}, extra-modules={verbatim-mo, verbatim-af}} } \documentclass[12pt]{report} \usepackage{setspace} \usepackage{biblatex} \addbibresource{example.bib} \begin{document} \cite{example} \printbibliography \end{document} 

Searching on this forum for similar issues, I am led to believe this has to do with the (re)definition of \@footnotetext. What confounds me, however, is that I can only produce this warning if I simultaneously set up the \DocumentMetadata, include setspace, and use biblatex. In other words, if I remove either the \DocumentMetadata or setspace then I no longer get this warning.

(I don't know if this is worth mentioning, but for what it's worth, I originally also use hyperref in the document where I found this issue-- its inclusion seems to have no bearing on this behavior).