1

I'm using natbib with a modified plainnat style to produce references while formatting authors' last names before first names. Specifically, I modified line 222 of plainnat.bst to be

{ s nameptr "{vv~}{ll,~}{ff~}{, jj}" format.name$ 't :=

There is a technical report with no author I would like to cite. I try to use the institution name as the author with double braces. The tex code is as follows.

\begin{filecontents*}{references.bib}
@techreport{lng2018,
    Author = {{The International Gas Union}},
    Institution = {The International Gas Union},
    Title = {{IGU World Gas LNG Report--2018 Edition}},
    Year = {2018}}

@techreport{kajiwara2001crude,
    Author = {Kajiwara, Shigeki},
    Institution = {The Institute of Energy Economics, Tokyo, Japan},
    Month = {July},
    Title = {Crude oil procurement by {Japanese} oil companies},
    Year = {2001}}    
\end{filecontents*}

\documentclass[11pt]{article}
\usepackage[round, colon]{natbib}
\begin{document}
Here's a reference with an institutional author \citep{lng2018}. Note that the author's last name is followed by a comma before the first name, for example, \citet{kajiwara2001crude}.
\bibliographystyle{plainnat}
\bibliography{references.bib}
\end{document}

However, there is always a comma behind the institutional author because of the format of authors. The output references are as follows.

Kajiwara, Shigeki. Crude oil procurement by Japanese oil companies. Technical report, The Institute of Energy Economics, Tokyo, Japan, July 2001.

The International Gas Union, . IGU World Gas LNG Report-2018 Edition. Technical report, The International Gas Union, 2018.

The comma behind the institutional author is annoying. I try to modify the bst file following the answer in Formatting of institution as author with natbib and numbered references, but I can't find \xfnm in my bst file, i.e., plainnat.bst. Is there any solution to this problem?

  • 1
    Welcome to TeX.SE! Please add a short compilable tex code showing how you build your bibliography. – Mensch Jan 22 at 15:57
  • Thanks for your guidance. The tex code is already added. – April Ai Jan 23 at 3:38
  • I am unable to reproduce the issue you report getting, i.e., I cannot generate a comma immediately after "The International Gas Union". – Mico Jan 23 at 10:25
  • Off-topic: The @techreport entry type does not seem appropriate for either of the two sample entries you provided. – Mico Jan 23 at 10:27
2

This is from “Tame the BeaST” (texdoc tamethebeast)

enter image description here

Change the line to read

{ s nameptr "{vv~}{ll}{,~ff}{, jj}" format.name$ 't :=

enter image description here

  • That's a really clever way. Thank you for your answer. – April Ai Jan 24 at 4:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.