
轉發:我是 TeXSE 的新手,收到了關於我應該如何發布完整範例的評論,所以就在這裡。感謝任何指出這一點的人。
因此,我將 texmaker 與 Miktex 一起使用,並且 6 個引用中只有 2 個顯然未定義,並顯示錯誤訊息「Y 頁上的引用 X 未定義」。我不知道這些資訊是否有幫助,但我首先在 4 中寫入了 bib 文件,然後在我的主文檔中引用了它(即 \addbibresouce 和 \printbibliography)。然後我又添加了 2 個引用到我的 bib 文件,保存它,運行 pdflatex→bibtex→pdflatex*2,但仍然有警告。順便說一句,texmaker 會自動填入所有 6 個條目,所以我認為 texmaker 可以識別引用,但編譯器不能…也許這是我寫的方式,所以以下是 bib 檔案。最後2個不行。
@Book{Abel1824,
title = {Mémoire sur les équations algébraiques où on démontre l'impossibilité de la résolution de l'équation générale du cinquième dégré},
publisher = {Groendahl},
author = {Abel, Niels Henrik},
year = {1824}
}
@misc{Knill2004,
url = {http://www.math.harvard.edu/archive/21b_fall_04/exhibits/2dmatrices/ index.html},
journal = {Eigenvalues and Eigenvectors of 2x2 matrices },
author = {Knill, Oliver},
year = {2004}
}
@misc{Sanderson2019,
url = {https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab},
publisher = {YouTube},
author = {Sanderson, Grant},
year = {2019},
month = {3}
}
@Book{Taylor1715,
place = {Londini},
title = {Methodus incrementorum: directa \& inversa},
publisher = {Apud Gul. Innys},
author = {Taylor, Brook},
year = {1715}
}
@Book{Arfken1999,
title = {Mathematical methods for physicists},
publisher = {American Association of Physics Teachers},
author = {Arfken, George B and Weber, Hans J},
pages = {217--229},
year = {1999}
}
@Book{Strang1993,
title = {Introduction to linear algebra},
author = {Strang, Gilbert},
volume = {3},
year = {1993},
publisher = {Wellesley-Cambridge Press Wellesley, MA}
}
主要文件:
\documentclass[12pt, a4paper, onecolumn, leqno, oneside, titlepage]{article}
\usepackage[backend=bibtex, style=numeric, sorting=nyt]{biblatex}
\usepackage[nottoc,numbib]{tocbibind}
\addbibresource{bib}
\begin{document}
\cite{Taylor1715}
\cite{Knill2004}
\cite{Abel1824}
\cite{Sanderson2019}
\cite{Arfken1999}
\cite{Strang1993}
\section{References}{
\nocite{*}
\printbibliography[heading=none]
}
\end{document}
如果你們能幫助我,我將非常感激。 「我後來添加的僅 2 個不起作用」的事情確實讓我煩惱。
答案1
非常感謝@Ross 幫我解決這個問題!我將在這裡發布我所做的事情。
首先,正如他告訴我的那樣,我刪除了 aux 檔案(為了更好地衡量,我刪除了所有不是 .tex、.bib 或 .bcf 的檔案),並運行了 pdf Latex 一次。然後,所有圍兜條目都會出現警告,但沒有一個條目被確認。然後運行bibtex,出現錯誤,說找不到bib檔。
所以我將 bib 檔案中寫入的所有內容複製到一個新檔案中。同名保存,基本上替換了原來的bib檔。
運行 pdflatex→bibtex→pdflatex*2。然後瞧,所有條目都被辨識了。
老實說,我不知道為什麼會這樣,但確實如此。