下面我附上了我正在编写的报告的代码以及它给出的错误代码和我正在使用的“lab2bib.bib”文件。我在使用参考书目时遇到了很多问题......请帮忙。当我运行 .bib 文件时,它说找不到 lab2bib.aux 文件。
以下代码显示了(大部分)文档的序言以及包含指令的段落的摘录\cite
。
\documentclass[letterpaper,10pt]{article}
\input kvmacros % For Karnaugh Maps (K-Maps)
\usepackage{apacite}
\usepackage{graphicx} % For images
\usepackage{amsmath}
\usepackage{indentfirst}
\usepackage{gensymb}
\usepackage[nottoc]{tocbibind}
\usepackage{varwidth}
\usepackage{float} % For tables and other floats
\usepackage{verbatim} % For comments and other
\usepackage{amsmath} % For math
\usepackage{amssymb} % For more math
\usepackage{fullpage} % Set margins and place page numbers at bottom center
\usepackage{listings} % For source code
\usepackage{subfig} % For subfigures
\usepackage[usenames,dvipsnames]{color} % For colors and names
\usepackage{hyperref} % For hyperlinks and indexing the PDF
\hypersetup{ % play with the different link colors here
colorlinks,
citecolor=blue,
filecolor=blue,
linkcolor=blue,
urlcolor=blue % set to black to prevent printing blue links
}
\begin{document} % START THE DOCUMENT!
The capillary action of \dots\ in greater surface tension. \cite{Nobody06}
\bibliographystyle{plain}
\bibliography{lab2bib}
\end{document}
lab2bib.bib
文件:
@misc{ Nobody06,
author = "Nobody Jr",
title = "My Article",
year = "2006"
}