I am trying to use a modified (German) bibstyle from the American Economic Review (The original version can be downloaded from http://mirrors.ctan.org/biblio/bibtex/contrib/economic/aer.bst. I have simply replaced "and" by "und", "Vol." by "Bd.", "eds."/"ed." by "Hrsg." and normal quotes with German ones. ). The references appear in the format:
"Lastname, Firstname" for the first author and "Firstname Lastname" for all others.
The ordering of the references should be by the authors' last names; however if I have two papers written by three authors with the same first author Bibtex arranges them in an incorrect order:
E.g. using Bibtex I get
Felbermayr, Gabriel J., Julien Prat und Hans-Jörg Schmerer ….
Felbermayr, Gabriel J., Mario Larch und Wolfgang Lechthaler ….
That is given that the first author is identical, Bibtex sorts the papers by the second author's first name. However, I would like it to show up as
Felbermayr, Gabriel J., Mario Larch und Wolfgang Lechthaler ….
Felbermayr, Gabriel J., Julien Prat und Hans-Jörg Schmerer ….
Moreover, I get a similar problem if there is one paper written by two authors and those very same authors have written another paper together with a third author. For instance, I get:
Helpman, Elhanan, Oleg Itskhoki und Stephen J. Redding… in front of
Helpman, Elhanan, und Oleg Itskhoki…, which is the wrong order.
Can anyone help me with this?
MWE
Test.tex
:
\documentclass[%
fontsize=12pt, % Schriftgr??e (12pt, 11pt (Standard))
titlepage, % Titelei auf eigener Seite
headings=small, % Überschriften etwas kleiner (smallheadings)
]{scrartcl}
\usepackage{setspace}
\usepackage{amsmath}
\usepackage{pdfpages}
%% Deutsche Anpassungen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{geometry}
\geometry{a4paper, top=25mm, left=40mm, right=20mm, bottom=20mm}
\usepackage{mathptmx}
\usepackage{mathspec}
\setromanfont{Times New Roman}
\addtokomafont{disposition}{\rmfamily}
\usepackage{graphicx} %%Zum Laden von Grafiken
\usepackage{color}
\makeatletter
\usepackage{titlesec}
\usepackage{hyperref}
%% Bibliographiestil %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{natbib}
\bibliographystyle{aer_german3}
\renewcommand*{\bibfont}{\footnotesize}
\setlength{\bibsep}{0.0pt}
\setlength{\footskip}{1cm}
\setmainfont[Mapping=tex-text]{Times New Roman}
\usepackage{unicode-math} \setmathfont{XITS Math}
\makeatother
\makeatletter
\renewcommand{\@makefntext}[1]{\setlength{\parindent}{0pt}%
\begin{list}{}{%
\setlength{\topsep}{0pt}%
\setlength{\partopsep}{0pt}%
\settowidth{\labelwidth}{00\@thefnmark}%
% ^^ Anzahl_Nullen =df. Abstand
\setlength{\labelsep}{0.7pt}%
\setlength{\leftmargin}{\labelwidth}%
\addtolength{\leftmargin}{\labelsep}%
\footnotesize}\item[\@makefnmark\hfill]#1%
\end{list}}
\makeatother
\begin{document}
TEXT \citep{Felbermayr.2011} \citep{Felbermayr.2013} \citep{HELPMAN.2010} \citep{Helpman.2010c}
\bibliography{BA2-MWE}
\end{document}
The files aer-german3.bst
and BA2-MWE.bib
can be found here.
ADDITIONAL COMMENT: Using the original English bibstyle resolves the latter problem, but not the first one.
By the way, I am using Texmaker together with MikTex
Best Answer
I had a look to your given files and found several errors there.
I will only list some of the errors here:
bib
file you wrote several timesyear = {2011a},
or simular. There is only a number allowed, the year. Thea
should you better write in the key, for example@article{Felbermayr.2011a,
\cite
commands to use the corresponding cite keys.pdflatex
(inputenc
) andxelatex
(\setmainfont
). I commented the first one.bst
file version are so much errors I changed the style to the english style. My answer here is late so I do not correct the germanbst
file if there is no need for that work. One remark: not all "and" can be changed to "und". Only the one enclosed with " " ... Most of the errors you got are caused in the faulty german version of thebst
file ...filecontents
to add the corrrectedbib
file into the mwe.bst
file uses old commands\bf
etc.hyperref
to be the last called package. You should rework the order of package calls ...The following MWE compiles without error and only one warning (comming from
filecontents
, that's okay!):