参考文献の印刷エラー

参考文献の印刷エラー

コンパイル後のPDFに参考文献が印刷されません。誰か問題を指摘してもらえますか?以下は私のLaTeXコードです

\documentclass{article}

% Page setup
\usepackage[a4paper, margin=2cm]{geometry}

% Math packages
\usepackage{amsmath}    % Enhanced math functionality
\usepackage{amssymb}    % Additional mathematical symbols
\usepackage{amsfonts}   % Mathematical fonts
\usepackage{mathtools}  % Enhancements to amsmath

% Commutative diagrams
\usepackage{tikz-cd}

% Bibliography
\usepackage[style=authoryear, backend=biber]{biblatex}
\addbibresource{references.bib}  % Specify the bibliography file

% Document starts here
\begin{document}
    
\title{Notes on Lie-Triple systems and Lie-Yamaguti algebras}
\date{}
\maketitle
\vspace{-0.5in}

\begin{abstract}
    This is the abstract.
\end{abstract}
    
\section{Introduction}

\section{Bibliography}
Citations can be managed using \texttt{biblatex}. Here is a sample citation \parencite{author2020}.

% Print the bibliography
\printbibliography

\end{document}

これが私の.bibファイルです

@article{author2020,
  author    = {Author, A.},
  title     = {Title of the Article},
  journal   = {Journal Name},
  year      = {2020},
  volume    = {1},
  number    = {2},
  pages     = {123-145},
  doi       = {10.1234/journal.2020.12345},
}

エラーメッセージ:

「ビルドと表示」ボタンをクリックした後、次のエラー メッセージが表示されました。

Process started: bibtex "notes_LYA".aux

This is BibTeX, Version 0.99d (TeX Live 2022/dev/Debian)
The top-level auxiliary file: notes_LYA.aux
I found no \citation commands---while reading file notes_LYA.aux
I found no \bibdata command---while reading file notes_LYA.aux
I found no \bibstyle command---while reading file notes_LYA.aux
(There were 3 error messages)
Process exited with error(s)


Process started: pdflatex -synctex=1 -interaction=nonstopmode "notes_LYA".tex

Process exited normally

答え1

以下の手順に従うことで問題を解決できました。

TeX Studio では、次の手順に従って参考文献ツールを設定できます。

TeX Studio を開きます。

  1. メニューバーに移動し、「オプション」->「TeX Studio の設定」を選択します。

  2. 左側のサイドバーで、「ビルド」を選択します。

  3. 「デフォルトの参考文献ツール」ドロップダウン メニューで、「BibTeX」ではなく「Biber」を選択します。

  4. 「OK」をクリックして変更を適用します。

これらの変更を行った後、LaTeX ドキュメントを再度コンパイルできます。これで、TeX Studio は Biblatex による参考文献の処理に Biber を使用するようになります。

関連情報