%% 
%%  Ein Beispiel der DANTE-Edition
%% 
%%  Beispiel 02-03-2 auf Seite 22.
%% 
%%  Copyright (C) 2010 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== 
%% ==command bibtex kap3== 
%% ==2command bibtex kap4== 
% Show page(s) 1,3,5
%% 
\documentclass[]{book}
\pagestyle{empty}
\setlength\textwidth{126.88268pt}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\setlength\parindent{0pt}
\usepackage[paper=a6,pagesize,DIV15]{typearea}
\usepackage{url}
\let\ctanurl\url
\usepackage{filecontents}
\begin{filecontents*}{kap3.tex}
\chapter{Einf{\"u}hrung} Ein Wort \ldots  % {\"u} nur wegen filecontents und fancyverb
 \ldots~\cite{lawrence04,padovani03} \ldots
 \bibliographystyle{alpha} \bibliography{buch2}
\end{filecontents*}
\begin{filecontents*}{kap4.tex}
\chapter{Grundlagen} Das Prinzip \ldots
 \ldots~\cite{voss:pstricks} und \cite{voss:tabellen}
 \bibliographystyle{plainDemo} \bibliography{buch2}
\end{filecontents*}

\usepackage[sectionbib,duplicate]{chapterbib}
\usepackage[ngerman]{babel}
\bibliographystyle{plainDemo}
% bibtex datei, bibtex kap3,  bibtex kap4

\begin{document}
\include{kap3}
\include{kap4}
\bibliography{}
\end{document}
