我试图在我的论文(共 5 章)中引用 Lotif A. Zadeh 所做的工作。以下是 Bibtex 条目:
@article{Zadeh1965,
author = {Zadeh, L. A.},
journal = {Information and Control},
number = {3},
pages = {338--353},
title = {{Fuzzy Sets}},
volume = {8},
year = {1965}
}
我的原始代码如下:
\documentclass[a4paper]{report}
\usepackage[pdftex]{graphicx}
\DeclareGraphicsExtensions{.pdf,.jpeg,.png}
\usepackage{amsthm,amssymb} % for mathematical formulas
\usepackage{rotating} %used to have landskape figures
\usepackage{graphicx}
\usepackage{enumerate}
\usepackage{epsfig}
\usepackage{imakeidx}
\usepackage{longtable}
\usepackage{multirow}
\usepackage{hhline}
%\usepackage{algorithms}
%\usepackage{makeidx}
%\usepackage{array}
\usepackage{ragged2e,array,booktabs}
\usepackage{float}
\usepackage[square]{natbib}
\usepackage[american]{babel}
\usepackage{csquotes}
\let\bibhang\relax
\let\citename\relax
\let\bibfont\relax
\let\Citeauthor\relax
\expandafter\let\csname [email protected]\endcsname\relax
\makeglossary
\usepackage[style=mla, firstlonghand=false, backend=bibtex, showmedium=false, guessmedium=false]{biblatex}
% to have links to figures and citations in PDF version.
\usepackage{hyperref}
%\usepackage{setspace}
\renewcommand{\baselinestretch}{1.5}
\renewcommand{\bibname}{Bibliography}
\renewcommand{\arraystretch}{1.5}
\pagestyle{headings} % to get running heads
\makeindex
\bibliography{BibPhdNew}
%------------------------- Document settings ------------------------
\setlength{\textheight}{245mm}
\setlength{\textwidth}{160mm}
\setlength{\headheight}{3mm}
\setlength{\headsep}{12mm}
\setlength{\topmargin}{15mm}
% left side empty space on odd- & even-numbered pages
\if@twoside
\typeout{Two side is true}
\setlength{\oddsidemargin}{30mm} % for two side printing
\setlength{\evensidemargin}{20mm}
\else
\typeout{Two side is false}
\setlength{\oddsidemargin}{30mm} % for one side printing
\setlength{\evensidemargin}{30mm} % odd side margin = even side margin
\fi
\setlength{\hoffset}{-1in} % already accounted for in the margins
\setlength{\voffset}{-1in} % already accounted for in the margins
% line, paragraphs indent & spacing
\setlength{\parindent}{5ex} % indentation 5 characters approx.
%------------------------- Definitions ------------------------------
\renewcommand{\theenumi}{\alph{enumi}} % to get alphabets in enumerated lists
\renewcommand{\theenumii}{\arabic{enumii}} % to get numbers in level-2 enumerated lists
%\renewcommand{\thetable}{\Roman{table}} % to get table numbers in capital roman
\renewcommand{\chaptername}{Chapter}
\renewcommand{\textwidth}{6in}
\newcommand{\pic}[2]{\setlength{\epsfysize}{#1} \epsffile{#2}}
%------------------------- document ---------------------------------
\begin{document}
% --------- Title and abstract etc the front matter -----------
\pagenumbering{roman}
%\input{coverpages}
%\begin{singlespace}
\tableofcontents
\listoftables
\listoffigures
\newpage
\addcontentsline{toc}{chapter}{Abbreviations}\label{Abbreviations}
\input{Abbreviations}
%\end{singlespace}
\pagenumbering{arabic}
% ----------------- thesis chapters -----------
\flushbottom
\include{Chapter1}
\flushbottom
%-------------------------------------------------------------------------
\flushbottom
\include{Chapter2}
\flushbottom
%-------------------------------------------------------------------------
\flushbottom
\include{Chapter3}
\flushbottom
%------------------------------------------------------------------------
\flushbottom
\include{Chapter4}
\flushbottom
%------------------------------------------------------------------------
\flushbottom
\include{Chapter5}
\flushbottom
%------------------------------------------------------------------------
\flushbottom
\include{Chapter6}
\flushbottom
% ------------ Bibliography---------------
\newpage
\addcontentsline{toc}{chapter}{\bibname}
\printbibliography
\newpage
\addcontentsline{toc}{chapter}{Index}
\printindex
% ------------ Appendix ----------------
%\appendix
%%------------------------------------------------------------------------
%\flushbottom
%\include{AppendixA}
%\flushbottom
%%------------------------------------------------------------------------
%\flushbottom
%\include{AppendixB}
%\flushbottom
%------------------------------------------------------------------------
\end{document}
%\cite{label}
我想使用上述参考书目的文本出现在第 2 章中,并且模糊逻辑的概念是由加州大学伯克利分校的 Lotfi Zadeh 博士于 1965 年提出的\cite{Zadeh1965}。
引文在 pdf 中显示为 Zadeh,“模糊集”。我尝试了不同的组合,发现如果我将作者的名字拼写错误为 Zade、Zadet 和 Hadeh,那么引文在 pdf 中会完美显示。只有当我使用“Zadeh”的拼写时,我才会在 pdf 中得到错误的引文。这在我的 pdf 中重复了两次。请帮我纠正错误。
答案1
您正在使用biblatex-mla
。如果您没有 Zadeh 的其他作品,那么您得到的输出只是“Zadeh”。只要有至少两部同一位作者的作品,您就会得到标题来消除两个来源的歧义。
考虑以下 MWE
\documentclass{article}
\usepackage[style=mla, firstlonghand=false, backend=bibtex, showmedium=false, guessmedium=false]{biblatex}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{Zadeh1965,
author = {Zadeh, L. A.},
journal = {Information and Control},
number = {3},
pages = {338--353},
title = {{Fuzzy Sets}},
volume = {8},
year = {1965}
}
@online{bronto,
author = {Anne Elk},
title = {Towards a Unified Theory on Brontosauruses},
date = {1972-11-16},
url = {http://example.edu/~elk/bronto.pdf},
urldate = {2015-09-07},
}
@book{title,
author = {Elk, Anne},
title = {Title},
volume = {1},
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\begin{document}
\cite{bronto}
\cite{Zadeh1965}
\cite{title}
\printbibliography
\end{document}
其中,埃尔克 (Elk) 的两部作品通过标题可以消除歧义,而扎德 (Zadeh) 的一部作品只有一部没有标题。
这是您使用的样式不可或缺的一部分。如果您不想要这样,您应该认真考虑使用其他样式。