
Ich habe folgendes Problem, das ich an einem einfachen Beispiel illustriere: Wenn ich in meinem Dokument die Arbeit des Autors T. Coven zitiere, ist das Ergebnis „Coven (2004b)“. Wenn ich den Anhang dieser Arbeit zitiere, ist das Ergebnis „Coven (2004a)“. Da der Anhang nun viel seltener vorkommt als die Originalarbeit, möchte ich die Reihenfolge umkehren (in den Zitaten „a“ und „b“ austauschen). Ist das möglich?
Ich verwende Biblatex. Hier ist die Bib-Datei des obigen Beispiels (mit dem Namen: lib.bib):
@article{co:2004,
author = {T. Coven},
title = {Title A},
journaltitle = {The X Journal},
date = {2004}
}
@article{coapp:2004,
author = {T. Coven},
title = {Appendix to Title A},
journaltitle = {The X Journal},
date = {2004}
}
MWE:
\documentclass[a4paper, 12pt, headsepline, headings=small,]{scrreprt}
\usepackage[backend=bibtex8,
style=authoryear-icomp,
dashed=false,
autocite=footnote,
maxcitenames=3,
mincitenames=1,
maxbibnames=100,
firstinits=true,
sorting=nty
]{biblatex}
\bibliography{lib}
\begin{document}
\cite{co:2004} and \cite{coapp:2004}
\end{document}
Antwort1
Nun, Sie müssen die Sortierung manuell anpassen, indem Sie eine Art sort...
Feld für angeben biblatex
, damit es weiß, wie die Einträge sortiert werden sollen.
Sie verwenden einen authoryear
Stil, aber eine nty
Sortierung (Sortierung „Name-Titel-Jahr“), die seltsam erscheint. Wenn Sie dabei bleiben möchten, gehen Sie mit dem sorttitle
Feld und machen Sie etwas wie
@article{coapp:2004,
author = {T. Coven},
title = {Appendix to Title A},
journaltitle = {The X Journal},
date = {2004},
sorttitle = {Title A/Appendix},
}
MWE
\documentclass[a4paper, 12pt, headsepline, headings=small,]{scrreprt}
\usepackage{filecontents}
\usepackage[backend=biber,
style=authoryear-icomp,
dashed=false,
autocite=footnote,
maxcitenames=3,
mincitenames=1,
maxbibnames=100,
firstinits=true,
sorting=nty,
]{biblatex}
\begin{filecontents*}{\jobname.bib}
@article{co:2004,
author = {T. Coven},
title = {Title A},
journaltitle = {The X Journal},
date = {2004},
}
@article{coapp:2004,
author = {T. Coven},
title = {Appendix to Title A},
journaltitle = {The X Journal},
date = {2004},
sorttitle = {Title A/Appendix},
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\begin{document}
\nocite{co:2004,coapp:2004}
\printbibliography
\end{document}
Eine natürlichere Sortierung für einen Autor-Jahr-Stil wäre sorting=nyt
oder sogar sorting=nyvt
(Sortierung nach „Name-Jahr-Titel“ bzw. „Name-Jahr-Band-Titel“). In diesem Fall könnten Sie Folgendes wählen:
@article{co:2004,
author = {T. Coven},
title = {Title A},
journaltitle = {The X Journal},
date = {2004},
sortyear = {2004-1},
}
@article{coapp:2004,
author = {T. Coven},
title = {Appendix to Title A},
journaltitle = {The X Journal},
date = {2004},
sortyear = {2004-2},
}
oder (nochmals vielen Dank an Lockstep)
@article{co:2004,
author = {T. Coven},
title = {Title A},
journaltitle = {The X Journal},
date = {2004},
}
@article{coapp:2004,
author = {T. Coven},
title = {Appendix to Title A},
journaltitle = {The X Journal},
date = {2004},
sortyear = {2004/1},
}
MWE
\documentclass[a4paper, 12pt, headsepline, headings=small,]{scrreprt}
\usepackage{filecontents}
\usepackage[backend=biber,
style=authoryear-icomp,
dashed=false,
autocite=footnote,
maxcitenames=3,
mincitenames=1,
maxbibnames=100,
firstinits=true,
sorting=nyt,
]{biblatex}
\begin{filecontents*}{\jobname.bib}
@article{co:2004,
author = {T. Coven},
title = {Title A},
journaltitle = {The X Journal},
date = {2004-1},
}
@article{coapp:2004,
author = {T. Coven},
title = {Appendix to Title A},
journaltitle = {The X Journal},
date = {2004},
sortyear = {2004-2},
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\begin{document}
\nocite{co:2004,coapp:2004}
\printbibliography
\end{document}
Beide Methoden ergeben
Antwort2
Verwenden Sie das Feld. Weitere Einzelheiten sorttitle
finden Sie im Abschnitt 2.2.3 des Handbuchs.biblatex
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{co:2004,
author = {T. Coven},
title = {Title A},
journaltitle = {The X Journal},
date = {2004}
}
@article{coapp:2004,
author = {T. Coven},
title = {Appendix to Title A},
sorttitle = {Title A/Appendix},
journaltitle = {The X Journal},
date = {2004}
}
\end{filecontents}
\usepackage[backend=bibtex8,
style=authoryear-icomp,
dashed=false,
sorting=nty
]{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
\cite{co:2004} and \cite{coapp:2004}
\printbibliography
\end{document}