%% %% Ein Beispiel der DANTE-Edition %% %% 1. Auflage %% %% Beispiel 11-05-17 auf Seite 579. %% %% Copyright (C) 2012 Herbert Voss %% %% It may be distributed and/or modified under the conditions %% of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. %% %% See http://www.latex-project.org/lppl.txt for details. %% %% %% ==bibtex== % Show page(s) 1,2 %% %% \documentclass[openany]{exabook} \pagestyle{empty} \setlength\textwidth{172.40709pt} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage[babel]{csquotes} \usepackage[paper=a5,pagesize,DIV15]{typearea} \StartShownPreambleCommands \usepackage[style=authortitle]{biblatex} \makeatletter \def\citeCat{\@ifnextchar<\citeCat@i\citeCat@iv} \def\citeCat@i<#1>{\@ifnextchar[{\citeCat@ii{#1}}{\citeCat@iii{#1}}} \def\citeCat@ii#1[#2]#3{\addtocategory{#1}{#3}\footcite[#2]{#3}} \def\citeCat@iii#1#2{\addtocategory{#1}{#2}\footcite{#2}} \newcommand*\citeCat@iv[2][]{\cite[#1]{#2}} \makeatother \DeclareBibliographyCategory{prim} \DeclareBibliographyCategory{sec} \bibliography{examples} \StopShownPreambleCommands \begin{document} \chapter{Referenzen nach Kategorien} Der Mensch Aristoteles\citeCat{aristotle:anima} und der Nussbaum\citeCat{nussbaum}, sowie dieser Artikel\citeCat{averroes/bland} und ein weiter Artikel\citeCat{hyman}. Die Physik von Aristoteles\citeCat{aristotle:physics} ist im Artikel\citeCat{moraux} und im Artikel\citeCat{pines} beschrieben. Nach demselben Prinzip wie die \texttt{keywords}-Unterscheidung funktioniert auch eine Unterteilung nach Typen, wenn man beispielsweise Internetquellen separat angeben möchte. Die Anweisung lautet in diesem Fall \texttt{type} bzw. \texttt{nottype}: \defbibheading{prim}{\section*{Primärquellen}} \defbibheading{sec}{\section*{Sekundärquellen}} \chapter*{Bibliografie} \bibbycategory \end{document}