引用未定义 TexWorks 无法找到我的 bib 文件

引用未定义 TexWorks 无法找到我的 bib 文件

我在 TexWorks 和 overleaf 上测试了这些文件,但我的引用始终是 [?, ?, ?]。

运行 BibTex 没有帮助,我得到信息:miktex-bibtex:警告:以管理员权限运行我无法打开文件名“bibliography.aux”

这是我的 tex 文件:

\documentclass[a4paper,twoside,12pt]{book}
\usepackage[utf8]{inputenc}                                      
\usepackage[T1]{fontenc}  
\usepackage{amsmath,amsfonts,amssymb,amsthm}
\usepackage[polish,british]{babel} 
\usepackage{indentfirst}
\usepackage{lmodern}
\usepackage{graphicx} 
\usepackage{hyperref}
\usepackage{booktabs}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{mathtools}
\usepackage{geometry}
\usepackage[page]{appendix} 

\usepackage{setspace}
\onehalfspacing


\frenchspacing

\usepackage{listings}
\lstset{
    language={},
    basicstyle=\ttfamily,
    keywordstyle=\lst@ifdisplaystyle\color{blue}\fi,
    commentstyle=\color{gray}
}


\begin{document} 


\chapter{Introduction}
 \cite{bib:article,bib:book,bib:conference})


%%%%%%%%%%% bibliography %%%%%%%%%%%%
\bibliographystyle{plain}
\bibliography{bibliography}


\end{document}

这是我的 bibliography.bib:

@Book{bib:book,
  Title                    = {Title of a book},
  Author                   = {Name Surname and Name Surname},
  Publisher                = {Publisher},
  Year                     = {2017},
  Address                  = {Hong Kong},
  ISBN                     = {83-204-3229-9-434}
}


@Article{bib:article,
  Title                    = {Title of an article in a journal},
  Author                   = {Surname, Name and Nama Surname},
  Journal                  = {Journal Title},
  Year                     = {2016},
  Number                   = {8},
  Pages                    = {1092--1113},
  Volume                   = {157}
}


@InProceedings{bib:conference,
  Title                    = {Title of a conference article},
  Author                   = {Name Surname and Surname, Name and N. Surname},
  Booktitle                = {Conference title},
  Year                     = {2006}, 
  Pages                    = {5346--5349}
}
 

相关内容