Bibtex:\Makeuppercase 作者 har2nat Bibtex

Bibtex:\Makeuppercase 作者 har2nat Bibtex

TeX发行版:MiKTeX 21.2

我正在使用bibtex& 作为我的参考书目\usepackage{har2nat}。更改了agsm-style(将其重命名为agsm-my& 更改\bibliographystyle{agsm-my})。

我做的两个改变agsm-my

  1. 删除标题中的引文,就像这里一样微调 agsm 书目样式,并添加链接.这给了我预期的结果

不带引号的标题

  1. 我想让所有作者都大写。为此,我插入了agsm-my(根据BST 文件的大写作者姓名(基于 APA)

s

FUNCTION {makeuppercase}     
{duplicate$ empty$
{pop$ "" }
{ "{\MakeUppercase{" swap$ * "}" * }
if$
}


FUNCTION {format.authors}
{ author empty$
    { "" }
    { "{vv~}{ll}{, jj}{, f.}" author makeuppercase format.names }
  if$
}

FUNCTION {makeuppercase}位于之后FUNCTION {emphasize}{ [...]})但我得到了额外的结果介于名称之间(参见 Ojovan, MI)&我不想要它们:

问题

什么原因导致发生这种情况?我该如何解决?或者还有其他方法可以将作者姓名全部改为大写吗?

答案1

这可能不是您想要的答案,但是这里有一个使用 BibLaTeX 仅为您提供大写姓氏的 MWE:

%dummy bib - just use your own external file for the real thing
\RequirePackage{filecontents}
\begin{filecontents*}{abib.bib}
@Article{Fuller.2018.A,
  author  = {Mark E. Fuller and Richard H. West and C. Franklin Goldsmith},
  title   = {A Computational Investigation into the Combustion Byproducts of a Liquid Monopropellant},
  journal = {Proceedings of the Combustion Institute},
  year    = {2019},
  volume  = {37},
  number  = {4},
  pages   = {5671--5677},
  doi     = {10.1016/j.proci.2018.05.175},
}
\end{filecontents*}
% dummy bib ends here

\documentclass{article}
\usepackage[
    %backend=biber,  % optional, but I think biber is the future
    style=apa,  % this style seems to be mostly what you want
    %doi=true, % set true/false to show/hide doi (options also for ISBN, etc.)
]{biblatex}

%here's how you could put that annoying "AND" in or change it to somethign else
%\renewcommand*{\multinamedelim}{\addspace\bibstring{AND}\space} 

%new author name convention
\renewcommand*{\mkbibnamefamily}[1]{\MakeUppercase{#1}} %makes names uppercase
\renewcommand*{\mkbibnamegiven}[1]{} %blank field wipes out given name
%\renewcommand*{\mkbibnameprefix}[1]{} %prefix name field
%\renewcommand*{\mkbibnamesuffix}[1]{} %suffix name field

\addbibresource{abib.bib}

\begin{document}

\autocite{Fuller.2018.A}

\printbibliography  
\end{document}

相关内容