\footcite 参照セクションの番号が失われる

\footcite 参照セクションの番号が失われる

ここで見つけた footcite ハックを使用しています:Biblatex、脚注引用と参考文献の番号(かなり古いですが…)

具体的には、次のとおりです (次のページにあります):

\usepackage[backend=bibtex,citestyle=authortitle-icomp,bibstyle=numeric,sorting=none]{biblatex}

\renewbibmacro*{cite:full}{%
  \usebibmacro{cite:full:citepages}%
  \printtext[bibhypertarget]{%
    \usedriver
      {\DeclareNameAlias{sortname}{default}}
      {\thefield{entrytype}}}%
%  \usebibmacro{shorthandintro}}% DELETED
  \usebibmacro{shorthandintro}% NEW
  \csxdef{cbx@\thefield{entrykey}@footnotenumber}{\the\value{footnote}}% NEW
}% NEW

脚注部分は問題なく動作しますが、(a) 次のエラーが発生します: 「パッケージ biblatex 警告: マクロ 'cite:full' が未定義です。\newbibmacro を使用しています」これは自動的に修正されるものだと思います。より重要な問題 (b) は、参照に番号がないことです。 ママ見てよ、参照番号がないの!

ご協力をよろしくお願いいたします。

MRE コードは次のとおりです。

blah.tex:

\documentclass{article}

\usepackage[backend=bibtex,citestyle=authortitle-icomp,bibstyle=numeric,sorting=none]{biblatex}

\renewbibmacro*{cite:full}{%
  \usebibmacro{cite:full:citepages}%
  \printtext[bibhypertarget]{%
    \usedriver
      {\DeclareNameAlias{sortname}{default}}
      {\thefield{entrytype}}}%
  \usebibmacro{shorthandintro}%
\csxdef{cbx@\thefield{entrykey}@footnotenumber}{\the\value{footnote}}%
}% NEW

\DeclareFieldFormat{prefixnumber}{}
\DeclareFieldFormat{labelnumber}{\csuse{cbx@\thefield{entrykey}@footnotenumber}}

\bibliography{blah.bib}
\title{blah blah}

\begin{document}

\maketitle

``blah blah blahblah blah blah''\footcite{AT50Mind}

\section{blah blah}
blah blah blah.\footcite[25-30]{C&G64}
\section{blah blah}
blahblah blah blahblah blah blahbla\footcite[12]{BBNHistory}

blah blahblah blah blahblah blah blahblah blah blahblah blah blahblah blah blah\footcite[25-30]{AT50Mind}

\printbibliography
\end{document}

blah.bib:

@misc{ADA43,
  author = {Ada Augusta, Countess of Lovelace},
  title = {Notes on L. F. Menabrea’s “Sketch of the Analytical Engine Invented by Charles Babbage”},
  journal = {Scientific Memoirs},
  month = 9,
  year = {1843},
  howpublished = {\url{http://imaginaryinstruments.org/lovelace-analytical-engine/}},
  note = {Accessed 2022-11-04}
}

@article{ARSTech2022Alexa,
  title = {Amazon Alexa is a “colossal failure,” on pace to lose \$10 billion this year},
  journal = {Ars Technica},
  howpublished = {\url{https://arstechnica.com/gadgets/2022/11/amazon-alexa-is-a-colossal-failure-on-pace-to-lose-10-billion-this-year/}},
  note = {Accessed 2022-11-27}
}

@article{AT50Mind,
  author = {Turing, A},
  title = {Computing Machinery and Intelligence},
  journal = {Mind},
  volume = {49},
  pages = {433-460},
  year = {1950}
}

@book{BBNHistory,
  editor = {Walden, D and Nickerson, R},
  title = {A Culture of Innovation: Insider Accounts of Computing and Life at BBN},
  publisher = {Waterside Publishing},
  year = {201},
  note = {A Sixty Year Report 18 October 1948 to 1 July 2010}
}

@article{C&G64,
  author = {Colby, KM and Gilbert, JP},
  title = {Programming a computer model of neurosis},
  journal = {J. Math Psych},
  volume = {1},
  pages = {405-416},
  year = {1964}
}

関連情報