你能用清晰的文字定义一下参考文献应该表达什么吗?

你能用清晰的文字定义一下参考文献应该表达什么吗?

当您使用该包创建一个参考列表(使用命令\bibliography{x})时apacite,是否有任何方法可以劫持该列表,并定义各个条目应该以明文形式显示的内容?

例如,如果我想引用一幅画,我正在使用门德利作为我的论文数据库,要让所有内容都正确显示出来可能会有点棘手。在这里,与其试图破解样式和 BibTeX 文件,不如直接用明文清楚地说明参考文献应该说些什么,这样会方便得多。

答案1

在 下biblatex,您可以像下面一样覆盖书目驱动程序。但是我可能不会以这种方式处理问题。书目驱动程序使您不必担心过多的格式、换行、间距和标点符号。它们还确保相同类型的条目设置一致,并且可以灵活地处理书目数据。考虑到这一点,我可能会重新表述这个问题或提出一个新问题,提供一个有问题的条目和您想要实现的输出的示例。

\documentclass{article}
\usepackage{filecontents}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=apa,backend=biber]{biblatex}
\DeclareLanguageMapping{american}{american-apa}

% Identify bib entries that must be manually set
\makeatletter
\AtEveryBibitem{%
  \ifthenelse{\iffieldequalstr{entrykey}{7.01:1}%
              \OR\iffieldequalstr{entrykey}{7.01:2}}
    {\def\abx@field@entrytype{customa}}
    {}}
\makeatother

% Provide text for manual entries
\DeclareBibliographyDriver{customa}{%
  \iffieldequalstr{entrykey}{7.01:1}
    {Entry 7.01:1 --- Herbst-Damm and Kulik. \mkbibemph{Volunteer Support...}}
    {}%
  \iffieldequalstr{entrykey}{7.01:2}
    {Entry 7.01:2 --- Gilbert et al. \mkbibemph{Effects of...}}
    {}}

\begin{filecontents}{\jobname.bib}
@ARTICLE{7.01:1,
  AUTHOR         = {K. L. Herbst-Damm and J. A. Kulik},
  TITLE          = {Volunteer Support, Marital Status, and the Survival Times of Terminally Ill Patients},
  JOURNALTITLE   = {Health Psychology},
  VOLUME         = {24},
  PAGES          = {225--229},
  YEAR           = {2005},
  DOI            = {10.1037/0278-6133.24.2.225},
  URL            = {http://some.url}
}
@ARTICLE{7.01:2,
  AUTHOR         = {D. G. Gilbert and J. F. McClernon and N. E. Rabinovich and C. Sugai and L. C. Plath and G. Asgaard and D. Dickinson and N. Botros},
  TITLE          = {Effects of Quitting Smoking and {EEG} Activation and Attention Last for More Than 31 Days and are More Severe With Stress, Depedence, {DRD2 A1} Allele, and Depressive Traits},
  JOURNALTITLE   = {Nicotine and Tobacco Research},
  VOLUME         = {6},
  PAGES          = {249--267},
  YEAR           = {2004},
  DOI            = {10.1080/14622200410001676305}
}
@ARTICLE{7.01:3a,
  AUTHOR         = {T. J. Sillick and N. S. Schutte},
  TITLE          = {Emotional Intelligence and Self-esteem Mediate Between Perceived Early Parental Love and Adult Happiness.},
  JOURNALTITLE   = {E-Journal of Applied Psychology},
  VOLUME         = {2},
  NUMBER         = {2},
  PAGES          = {38--48},
  YEAR           = {2006},
  URL            = {http://ojs.lib.swin.edu.au/index.php/ejap}
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
\nocite{*}
\printbibliography
\end{document}

在此处输入图片描述

相关内容