Zitate sortieren

Zitate sortieren

In meiner Abschlussarbeit muss ich meine Referenzen so sortieren, dass zwar alles in der Reihenfolge seines Auftretens sortiert wird, die URL-Links jedoch am Ende sortiert werden.

Wie ist das mit einer BST-Datei möglich?


Eigentlich nicht. Ich brauche zum Beispiel ein Lätzchen wie;

[1] Artikel [2] Artikel [3] URL

auch wenn die URL vor den Artikeln im Text steht.

Antwort1

Dies ist ganz einfach durch die Verwendung von Kategorien mit Biblatex/Biber möglich.

\documentclass{scrartcl}

% some bib entries for test purposes:
\begin{filecontents}{bibfile.bib}
@ARTICLE{art1,
  TITLE = {Test 1},
  AUTHOR = {Doe, John},
  JOURNAL = {Journal of unreproducible Results},
  YEAR = {2015},
}

@ARTICLE{art2,
  TITLE = {Test 2},
  AUTHOR = {Doe, Jane},
  JOURNAL = {Journal of unreproducible Results},
  YEAR = {2015},
}

@ONLINE{web1,
  TITLE = {Google},
  URL = {www.google.com},
}

@ONLINE{web2,
  TITLE = {Wikipedia},
  URL = {en.wikipedia.org},
}
\end{filecontents}

% sorting = none means same order as the appearance in the document
% biber is the modern backend for biblatex, replacement for bibtex    
\usepackage[backend=biber, sorting=none]{biblatex}
\addbibresource{bibfile.bib}

% create a new category for web sources
\DeclareBibliographyCategory{web}
% add the web entries to the category
\addtocategory{web}{web1,web2}

\begin{document}

\section{Test}
See \cite{art1}, \cite{web1}, \cite{art2}, and \cite{web2}!

% one bibliography for the non-web soruces
\printbibliography[notcategory=web, title={Print References}]
% and another one for the websources
\printbibliography[category=web, title={Internet References}]

\end{document}

Kompilieren Sie mit latex document.tex, biber document.bcf, latex document.tex wobei Latex der Compiler Ihrer Wahl ist.

Ergebnis: Ergebnis

verwandte Informationen