Bibliografie (authoryear) - Reihenfolge bei gleichen Autoren

Erstellung eines Literaturverzeichnisses mit BibTeX, Biber, BibLaTeX und Co.


seb1848
Forum-Newbie
Forum-Newbie
Beiträge: 3
Registriert: Mi 10. Feb 2016, 17:42

Bibliografie (authoryear) - Reihenfolge bei gleichen Autoren

Beitrag von seb1848 »

Hallo zusammen,
ich habe eine sehr dringende Frage da morgen Abgabetermin meiner Arbeit ist und ich den letzte Teil der Bibliography nicht hinbekomme.
Wäre unendlich dankbar wenn mir jemand (leider sehr kurzfristig)
helfen könnte!

Es geht darum folgende Vorgaben der Fakultät umzusetzten:
1. Alphabetisch Autoren-Nachname, wenn identisch dann Initialen
2. Wenn beides identisch Jahr in chronologischer Reihenfolge
3. Wenn auch das Jahr identisch dann a/b Nummerierung.
(andere Vorgaben sind bereits umgesetzt)

Das Problem betrifft Punkt 2 und ist im angehängten pdf deutlich.
Bei gleichen Autorennamen + Initialen wird scheinbar wahrlos statt nach Jahr sortiert..

Tausend dank!

Folgendes Minimalbeispiel:
\documentclass[10pt]{article}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}

@Article{Sakaguchi2008,
  author               = {Sakaguchi, Shimon and Yamaguchi, Tomoyuki and Nomura, Takashi and Ono, Masahiro},
  title                = {Regulatory T cells and immune tolerance.},
  journal              = {Cell},
  year                 = {2008},
  volume               = {133},
  pages                = {775--787},
  issue                = {5},
  journal-abbreviation = {Cell},
}

@Article{Sakaguchi1995,
  author               = {Sakaguchi, S and Sakaguchi, N and Asano, M and Itoh, M and Toda, M},
  title                = {Immunologic self-tolerance maintained by activated T cells expressing IL-2 receptor alpha-chains (CD25). Breakdown of a single mechanism of self-tolerance causes various autoimmune diseases.},
  journal              = {Journal of immunology (Baltimore, Md. : 1950)},
  year                 = {1995},
  volume               = {155},
  pages                = {1151--1164},
  issue                = {3},
  journal-abbreviation = {J Immunol},
}

@Article{Sakaguchi2009,
  author               = {Sakaguchi, Shimon and Wing, Kajsa and Onishi, Yasushi and Prieto-Martin, Paz and Yamaguchi, Tomoyuki},
  title                = {Regulatory T cells: how do they suppress immune responses?},
  journal              = {International immunology},
  year                 = {2009},
  volume               = {21},
  pages                = {1105--1111},
  issue                = {10},
  journal-abbreviation = {Int Immunol},
}

@Article{Sakaguchi2009a,
  author               = {Sakaguchi, Shimon and Wing, Kajsa and Yamaguchi, Tomoyuki},
  title                = {Dynamics of peripheral tolerance and immune regulation mediated by Treg.},
  journal              = {European journal of immunology},
  year                 = {2009},
  volume               = {39},
  issue                = {9},
  journal-abbreviation = {Eur J Immunol},
}

@Article{Sakaguchi2013,
  author               = {Sakaguchi, Shimon and Vignali, Dario A A and Rudensky, Alexander Y and Niec, Rachel E and Waldmann, Herman},
  title                = {The plasticity and stability of regulatory T cells.},
  journal              = {Nature reviews Immunology},
  year                 = {2013},
  volume               = {13},
  pages                = {461--467},
  month                = {06},
  issue                = {6},
  journal-abbreviation = {Nat Rev Immunol},
}
\end{filecontents}

\usepackage[utf8]{inputenc}
\usepackage[babel,autostyle=true]{csquotes} 

% - Stil der Zitate und Bibliographie
\usepackage[backend=biber,
			citestyle=numeric, bibstyle=authoryear,
			giveninits=true,	%all first and middle names as initials (old: firstinits)
			useprefix=true,		%Präfixe werden bei Sortierung nach Nachnamen berücksichtigt
			maxbibnames=1000, 	%displaying all authors
			dashed=false,		%kein Querstrich bei identischen Autoren
			sortcites=true,		%Aufsteigende order innerhalb der Klammer bei mehreren Autoren
			sorting=nyt,
			uniquename=init,	%Letters Disambiguierung selber Autor, nicht für Autoren mit demselben Familiennamen
			isbn=false,doi=false,url=false 		
			]{biblatex}

% - Bibliography options I: reference list
	\setlength{\bibitemsep}{6pt} %Vertikaler Abstand zwischen den einzelnen Einträgen

%	% Change Sorting scheme in reference list for multiple authors of same name (siehe biblatex manual S.172)
	\DeclareNameAlias{default}{last-first} % Change order: Last name, then first name
	\DeclareNameAlias{sortname}{last-first} % to change also last author when using approach for reordering year

%	% change citations in the reference list text from brackets to parentheses 
	\DeclareFieldFormat{labelnumberwidth}{\mkbibparens{#1}} 
	\DeclareFieldFormat{shorthandwidth}{\mkbibparens{#1}}
	
	\renewcommand*{\bibinitdelim}{} % no spaces between author initials
	\renewcommand*{\bibinitdelim}{\,} %Alternative: adds a non-breakable thin space between author initials

	\AtEveryBibitem{
	\clearfield{note}	% clears notes 
	\clearfield{number} % clears Heftnummern
	}  
	\DeclareFieldFormat{pages}{#1}	% no prefix for the `pages` field in the bibliography
	\renewbibmacro{in:}{%
  	\ifentrytype{article}{}{\printtext{\bibstring{in}\intitlepunct}}}   % Suppress “In:”ONLY before Journal name(not book)
	\DeclareFieldFormat[article,book]{title}{#1} % remove quotes around title
	\DeclareFieldFormat{journaltitle} {#1} %journal title not italicized

	% remove number (Heftnummer) and electronic identifier (eid)
	\renewbibmacro*{volume+number+eid}{%
    \printfield{volume}%
    \setunit*{\adddot}%
    }

	% Print year after author in biblatex' numeric style
	\defbibenvironment{bibliography}
  	{\list
     {\printtext[labelnumberwidth]{%
	\printfield{prefixnumber}%
	\printfield{labelnumber}}}
     {\setlength{\labelwidth}{\labelnumberwidth}%
      \setlength{\leftmargin}{\labelwidth}%
      \setlength{\labelsep}{\biblabelsep}%
      \addtolength{\leftmargin}{\labelsep}%
      \setlength{\itemsep}{\bibitemsep}%
      \setlength{\parsep}{\bibparsep}}%
      \renewcommand*{\makelabel}[1]{\hss##1}}
  {\endlist}
  {\item}
  
% - Bibliography options II: in text

%% change citations in the text from brackets to parentheses (in main text; only for citations)
\DeclareCiteCommand{\cite}[\mkbibparens]
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
   \usebibmacro{cite}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\DeclareCiteCommand{\parencite}[\mkbibparens]
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
   \usebibmacro{cite}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\addbibresource{\jobname.bib}

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

\end{document}
Dateianhänge
testrefs.pdf
Fehlerhafte Referenzlist (Order nach Jahren falsch!)
(32.32 KiB) 197-mal heruntergeladen

Gast

Beitrag von Gast »

Dein Literaturverzeichnis ist numerisch (von der Art), obwohl Dein Zitierstil und auch Deine Sortiervorgaben ganz klar Autor-Jahr-Stil sind. Soll das wirklich so?

Die Sortierung ist insofern korrekt und nicht zufällig, dass beim Sortieren nach Punkt 1 alle Autorinnen berücksichtigt werden. Stimmt der erste Name überein, wird der zweite herangezogen etc. Die Zweitautorinnen beginnen mit S, V, W und Y, daher wird auch so sortiert.

Es ist also alles wie es soll. Willst Du nur nach dem ersten Namen sortieren?

seb1848
Forum-Newbie
Forum-Newbie
Beiträge: 3
Registriert: Mi 10. Feb 2016, 17:42

Beitrag von seb1848 »

Genau im Text sollen die Referenz in der form "(1)" erscheinen und die Liste aber alphabetisch sortiert sein.

Nach Rücksprache mit der Fakultät geht wohl nun doch auch die Sortierung
nach allen Autoren. Allerdings habe ich nun festgestellt, dass es nicht immer mit dem Code funktioniert, z.B. bei folgenden (Da der Zweit-Autor Moroni vs. Cianflone ist sollte die Ordnung umgekehrt sein):
Oder übersehe ich etwas?

[code]
@Article{Ammirati2015,
author = {Ammirati, E and Moroni, F and Magnoni, M and Camici, P G},
title = {The role of T and B cells in human atherosclerosis and atherothrombosis.},
journal = {Clinical and experimental immunology},
year = {2015},
volume = {179},
pages = {173--187},
groups = {Immunity, Tregs and CVD},
issue = {2},
journal-abbreviation = {Clin Exp Immunol},}

@Article{Ammirati2010,
author = {Ammirati, Enrico and Cianflone, Domenico and Banfi, Michela and Vecchio, Viviana and Palini, Alessio and De Metrio, Monica and Marenzi, Giancarlo and Panciroli, Claudio and Tumminello, Gabriele and Anzuini, Angelo and Palloshi, Altin and Grigore, Liliana and Garlaschelli, Katia and Tramontana, Simona and Tavano, Davide and Airoldi, Flavio and Manfredi, Angelo A and Catapano, Alberico Luigi and Norata, Giuseppe Danilo},
title = {Circulating CD4+CD25hiCD127lo regulatory T-Cell levels do not reflect the extent or severity of carotid and coronary atherosclerosis.},
journal = {Arteriosclerosis, thrombosis, and vascular biology},
year = {2010},
volume = {30},
pages = {1832--1841},
groups = {Immunity, Tregs and CVD},
issue = {9},
journal-abbreviation = {Arterioscler Thromb Vasc Biol},}
[/code]

Vielen Dank,
Sebastian

Gast

Beitrag von Gast »

Für biblatex sind Ammirati, E und Ammirati, Enrico zwei unterschiedliche Autoren, daher werden sie unterschiedlich sortiert - auch wenn der ganze Vorname in der Bibliographie nicht auftaucht.

seb1848
Forum-Newbie
Forum-Newbie
Beiträge: 3
Registriert: Mi 10. Feb 2016, 17:42

Beitrag von seb1848 »

Oh ja, na klar. Im Endspurt werden leider so manche Sachen nicht mehr ganz offensichtlich. Danke für die Geduld! :D

Antworten