Biblatex 仅显示参考文献名称?

Biblatex 仅显示参考文献名称?

我在 overleaf 中有一个乳胶文档,它仍然相当简单:

\usepackage{datetime}
\documentclass{article}
\usepackage{graphicx}

\usepackage[top=1in, bottom=1in, headheight=35.4pt, footskip=35.4pt,textwidth=16cm,]{geometry}

\usepackage{eso-pic} 
\usepackage[T1]{fontenc}
\usepackage{tgcursor}
\usepackage{biblatex}
\usepackage{kpfonts,baskervald}
\addbibresource{references.bib}



\usepackage{lipsum}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{titling}
\pagestyle{fancy}
\fancypagestyle{fancy}{%
   \fancyheadoffset[loh,ro]{20}
  \fancyhead[R0]{\includegraphics[width=4cm]{figures/itu.jpeg}}
  \fancyhead[LO,RE]{{\fontfamily{cmr}\selectfont  Johnny John}}
  \fancyfoot[R]{\thepage}
  \fancyhead[C]{{\fontfamily{cmr}\selectfont  [email protected]}}
  
  
  \renewcommand{\footrulewidth}{1pt}}




\fancyfoot[C]{{\fontfamily{cmr}\selectfont \today} }
\title{Ethical Hacking Project Report }
\begin{document}
\pagestyle{fancy}


       \vspace*{0.5cm}



\section*{IDX 2021 : Individual reflexive report}

Here should be a reference \cite{TeamworkSecrets}


\printbibliography

{\fontfamily{fvs}\selectfont  }



\end{document}

我的文件“references.bib”如下所示:

@article{TeamworkSecrets,
  title={The secrets of great teamwork},
  author={Martine Haas & Mark Mortensen},
  journal={Harvard Business review},
 url = {https://hbr.org/2016/06/the-secrets-of-great-teamwork}
  year={2016},
  publisher={Harvard Business review}
}

但在我的pdf中,参考显示如下:

在此处输入图片描述

并且没有印刷参考书目。

我的文档中有以下步骤:

\addbibresource{references.bib}

然后:\addbibresource{references.bib} 然后打印它:

\printbibliography

为什么这不起作用?

更新

我现在把所有的文本放到一个引用可以正常工作的文档中,然后慢慢地把所有的文本粘贴到那里。现在它可以正常工作了,我不知道为什么,它几乎和以前一样:

\documentclass[11pt, a4paper]{article}

\usepackage{datetime}
\usepackage{graphicx}

\usepackage[top=1in, bottom=1in, headheight=35.4pt, footskip=35.4pt,textwidth=16cm,]{geometry}

\usepackage{eso-pic} 
\usepackage[T1]{fontenc}
\usepackage{tgcursor}
\usepackage{biblatex}
\usepackage{kpfonts,baskervald}
\addbibresource{references.bib}



\usepackage{lipsum}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{titling}


\font\myfont=cmr14 at 40pt
\title{\centering sample}

\fancypagestyle{fancy}{%
   \fancyheadoffset[loh,ro]{20}
  \fancyhead[R0]{\includegraphics[width=4cm]{figures/itu.jpeg}}
  \fancyhead[LO,RE]{{\fontfamily{cmr}\selectfont  Ask H. Sejsbo :18655}}
  \fancyfoot[R]{\thepage}
  \fancyhead[C]{{\fontfamily{cmr}\selectfont  [email protected]}}
  
 
  \renewcommand{\footrulewidth}{1pt}}


\date{November 2021}

\begin{document}
\pagestyle{fancy}
 \vspace*{0.5cm}
\section*{IDX 2021 : Individual reflexive report}


\subsection*{Working as a team}
Here should be a reference \cite{semtech}



\printbibliography

\end{document}

相关内容