summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-bib-ex/02-03-2.ltx2
blob: a13350accc5ea17cb31a3903874ac67be3c37498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
%% 
%%  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}