BibTex 错误,无 \bibdata 命令

BibTex 错误,无 \bibdata 命令

我正在寻找解决方案,并在互联网上阅读了很多资料,但并没有提供进一步的帮助。

这是我的乳胶

\documentclass[a4paper, 12pt]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{times}
\usepackage{geometry}
\usepackage{setspace}

%\usepackage[nottoc]{tocbibind}
%\usepackage{url}

%Mathepackages
\geometry{left=4cm,right=3.5cm,top=4cm,bottom=4cm}
\usepackage{amsfonts}%mathepacket
\usepackage{amsmath}%ebenfalls mathepacket
\usepackage{graphicx}
%\setcounter{secnumdepth}{5}
\usepackage[backend=biber,style=alphabetic,]{biblatex}
\addbibresource{Literatur.bib}
%\def\UrlBreaks{\do\/\do-}

\setstretch{1.5}
\begin{document}
\tableofcontents
text
\newpage

\printbibliography

\end{document}

我的文学.bib

@Online{SchengenVisa,
  author = {SchengenVisaInfo},
  note   = {Aufgerufen am 08.09.2022},
  title  = {Informationen über das Schengen-Visum},
  url    = {https://www.schengenvisainfo.com/de/},
}

如果先使用 pdfLatex 翻译,然后再使用 bibTex 翻译,则会收到以下错误消息。

This is BibTeX, Version 0.99d (MiKTeX 2.9.7140 64-bit) The top-level auxiliary file: Masterbericht.aux I found no \citation commands---while reading file Masterbericht.aux I found no \bibdata command---while reading file Masterbericht.aux I found no \bibstyle command---while reading file Masterbericht.aux (There were 3 error messages)

有人可以帮帮我吗?

答案1

% test.tex
\documentclass[a4paper, 12pt]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{times}
\usepackage{geometry}
\usepackage{setspace}
\geometry{left=4cm,right=3.5cm,top=4cm,bottom=4cm}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[backend=biber,style=alphabetic,]{biblatex}
\addbibresource{Literatur.bib}
\setstretch{1.5}
\begin{document}
\tableofcontents
text
\cite{SchengenVisa}
\newpage
\printbibliography
\end{document}
pdflatex test
biber test
pdflatex test

在此处输入图片描述

相关内容