编辑

编辑

一段时间以来,我一直试图将参考书目与 \footcite 一起纳入,但没有成功。我能够即兴使用 \footcite,但当涉及到参考书目时,我就是无法将其打印出来。

我将非常感激,一个解决这个问题的建议,或者我可以做些什么不同的事情,即使这意味着采用一种全新的参考方法。

%-----Tex Document:

\documentclass[12pt,twoside,a4paper]{article}
\usepackage{geometry}
\geometry{a4paper,left=3cm,right=3cm,top=2cm,bottom=1cm,bindingoffset=0cm} % or letter or a5paper or ... etc
\usepackage{layout} 
\usepackage[T1]{fontenc} 
\usepackage{uarial}
\renewcommand\familydefault{\sfdefault}
\usepackage{fancyhdr}
\usepackage{setspace}
\onehalfspacing
\usepackage{longtable}
\usepackage[acronym]{glossaries}
\usepackage{tocloft}
\usepackage{pdfpages}
\usepackage[breaklinks]{hyperref}
\pagestyle{fancy}
\fancyhf{}
\cfoot{\thepage}
\usepackage[toc,page]{appendix}
\usepackage{graphicx}
\graphicspath{ {images/}}
\usepackage[backend=biber,style=numeric]{biblatex}
\bibliography{test_temp.bib}
\ExecuteBibliographyOptions{citetracker=true,sorting=none}
\usepackage{parskip}
\setlength{\parindent}{0pt} 
\setlength{\parskip}{8pt} 
\usepackage{lipsum}
%%% BEGIN DOCUMENT
\begin{document}
\newcounter{savepage}
\pagenumbering{roman}
\includepdf[pages={1}]{Cover_PDF_T.pdf}
\tableofcontents
\addcontentsline{toc}{section}{\contentsname}
\addcontentsline{toc}{section}{\listtablename}
\addcontentsline{toc}{section}{\listfigurename}
\listoftables
\listoffigures
\newpage
\section*{List Of Abbreviations}
\label{sec:abbr}
\addcontentsline{toc}{section}{\nameref{sec:abbr}}
ID      - Identification\\
\newpage
\setcounter{savepage}{\arabic{page}}
\pagenumbering{arabic}
\section{Introduction}
\lipsum
\footfullcite{Cp. New, Guy, Old, Guy J ; Old, Guy K ( 2008)}.
These are the only qoutes \footcite{Cp. Old, Guy (2005)}
\section{Motivation}
\lipsum
\section{Research Questions}
\lipsum
\section{Research Method}
\lipsum
\section{Conceptual Framework}
The conceptual framework which is followed is that of a narrative type with graphical aids provided to help clarify in a simpler manner. 
\subsection{Theoretical Framework}
The theoretical framework below explains the aspects which are covered in this thesis.
\subsubsection{Framework1}
\lipsum 
\begin{figure}[ht]
\begin{center}
\includegraphics[width=\textwidth,height=200pt]{xyz}
\caption{xyz}
\label{xyz}
\end{center}
\end{figure}
\newpage
\subsubsection{Framework2}
\lipsum
\section{Thesis Structure}
\lipsum
\begin{enumerate}
\item Abstract
\item Introduction
\item Research Methodology
\item Conceptual Framework
\item Analysis of Qualitative and Quantitative data
\item Summary and Implications.
\end{enumerate}
\cleardoublepage
\addcontentsline{toc}{secti on}{\refname}
\pagenumbering{Roman}
\setcounter{page}{\thesavepage}
\printbibliography
%\layout
\end{document}

%---Bibtex
@article{Cp. New, Guy, Old, Guy J ; Old, Guy K ( 2008),
title = " future research directions ",
journal = "International Journal of Production Economics ",
volume = "112",
number = "2",
pages = "510 - 520",
year = "2008",
note = "Special Section",
issn = "0925-5273",
doi = "http://dx.doi.org/10.1016/",
url = "http://www.direct.com/article/pii/S0925",
author = "New, Guy, Old, Guy J ; Old, Guy K",
keywords = "Academic literature review",
keywords = "Classification framework ",
abstract = "Academic research into"
}

@online{Cp. Old, Guy (2005), 
  title = {The History of Technology},
  url = {http://www.journal.com/articles/view?111},
  abstract = {Identification has been around for decades. Learn how it evolved from its roots in  technology.},
  urldate = {2015-05-04},
  year = {2005}, 
  month = {January 16},
  journal = {Journal},
  author = {Cp. Old, Guy (2005)},
  date = {2005-01},
}

答案1

这是您的示例的最小化版本,其中包含更正的.bib文件和结果:

\documentclass[12pt,twoside,a4paper]{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
  @article{new-guy2008,
    title = " Future Research Directions ",
    journal = "International Journal of Production Economics ",
    volume = "112",
    number = "2",
    pages = "510 - 520",
    year = "2008",
    note = "Special Section",
    issn = "0925-5273",
    doi = "http://dx.doi.org/10.1016/",
    url = "http://www.direct.com/article/pii/S0925",
    author = "New, Guy and Old, Guy J  and Old, Guy K",
    keywords = "Academic literature review",
    keywords = "Classification framework ",
    abstract = "Academic research into"
  }

  @online{old-guy2005,
    title = {The History of Technology},
    url = {http://www.journal.com/articles/view?111},
    abstract = {Identification has been around for decades. Learn how it evolved from its roots in  technology.},
    urldate = {2015-05-04},
    year = {2005},
    month = jan,
    day = 16,
    journal = {Journal},
    author = {Old, Guy},
    date = {2005-01-16},
  }
\end{filecontents}
\usepackage[backend=biber,style=numeric]{biblatex}
\bibliography{\jobname}
\ExecuteBibliographyOptions{citetracker=true,sorting=none}
\begin{document}
  Some text\footfullcite{old-guy2005,new-guy2008}.
  These are the only qoutes \footcite{old-guy2005}
  \printbibliography
\end{document}

笔记:

  • .bib您在文件中使用的识别密钥不能包含奇怪的字符。这意味着没有逗号、空格、句号、括号等。
  • and多位作者必须在字段中用 隔开author
  • 标题应适当大写。

格式错误的键解释了为什么您根本得不到参考书目。作者指定不正确解释了为什么您无论如何都会得到错误(以及为什么您可能根本得不到任何参考书目,这取决于具体情况)。

您使用的 bibkey 只是一个标识符 - 它不会打印在您的最终文档中(尽管它会在biber运行之前暂时显示)。它不需要,而且在大多数情况下,它看起来不能像格式化的引文键。您填写的各个字段也是如此。例如,您指定作者的方式看起来与您希望该字段在最终文档中打印的方式不同。无论所需的格式如何,您都可以.bib以相同的方式指定文件中的数据。(无论如何,理想情况下,在大多数情况下。)

例如,

  author = {Cp. Old, Guy (2005)},

是错误的。它没有以要求的格式提供作者的详细信息,并且试图提供根本不属于该信息的内容。更正:

  author = {Old, Guy},

假设此人的名字是“Guy Old”。

同样,您也不能有,例如:

@article{Cp. New, Guy, Old, Guy J ; Old, Guy K ( 2008),

因为这不是可接受的 bibkey。例如:

@article{new-old-old2008,

是一种选择。

上述代码的输出为:

参考书目

编辑

要更改引文和参考书目的格式,您可以提供biblatex选项,并在必要时使用其他自定义命令。例如:

\documentclass[12pt,twoside,a4paper]{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
  @article{new-guy2008,
    title = " Future Research Directions ",
    journal = "International Journal of Production Economics ",
    volume = "112",
    number = "2",
    pages = "510 - 520",
    year = "2008",
    note = "Special Section",
    issn = "0925-5273",
    doi = "http://dx.doi.org/10.1016/",
    url = "http://www.direct.com/article/pii/S0925",
    author = "New, Guy and Old, Guy J  and Old, Guy K",
    keywords = "Academic literature review",
    keywords = "Classification framework ",
    abstract = "Academic research into"
  }

  @online{old-guy2005,
    title = {The History of Technology},
    url = {http://www.journal.com/articles/view?111},
    abstract = {Identification has been around for decades. Learn how it evolved from its roots in  technology.},
    urldate = {2015-05-04},
    year = {2005},
    month = jan,
    day = 16,
    journal = {Journal},
    author = {Old, Guy},
    date = {2005-01-16},
  }
\end{filecontents}
\usepackage[backend=biber, style=authoryear-ibid, autocite=footnote, firstinits=false]{biblatex}
\bibliography{\jobname}
\begin{document}
  Some text\autocite{old-guy2005,new-guy2008}.
  These are the only qoutes \autocite{old-guy2005}
  \printbibliography
\end{document}

将产生:

书目变体

请注意,引用和参考文献列表的格式不同。(好吧,我也用过\autocite{}这个 - 你可以尝试看看有什么不同。)但.bib文件是完全相同的。

还要注意,bibkeys 不会出现在最终文档的任何地方。

相关内容