summaryrefslogtreecommitdiff
path: root/info/examples/LaTeX-Bib/02-03-1.ltx2
blob: 7cfc0d2fcc9d74de7136043370a86aff0495332d (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
%% 
%%  Ein Beispiel der DANTE-Edition
%% 
%%  Beispiel 02-03-1 auf Seite 21.
%% 
%%  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.
%% 
%% 
%% ==command bibtex kap1== 
%% ==2command bibtex kap2== 
% Show page(s) 1,3
%% 
\documentclass[]{book}
\pagestyle{empty}
\setlength\textwidth{156.40707pt}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\setlength\parindent{0pt}
\makeatletter\let\ps@plain\ps@empty\makeatother
\usepackage{url}
\let\ctanurl\url
\usepackage[paper=a6,pagesize,DIV15]{typearea}
\usepackage{filecontents}
\begin{filecontents*}{kap1.tex}
\chapter{Einf{\"u}hrung} foo % {\"u} nur wegen filecontents und fancyverb
 \ldots~\cite{lawrence04,padovani03} \ldots
 \bibliographystyle{alpha} \bibliography{buch2}
\end{filecontents*}
\begin{filecontents*}{kap2.tex}
\chapter{Grundlagen} bar
 \ldots~\cite{voss:pstricks} und \cite{voss:tabellen}
 \bibliographystyle{plainDemo} \bibliography{buch2}
\end{filecontents*}

\usepackage[sectionbib]{chapterbib}
\usepackage[ngerman]{babel}
% bibtex kap1  bibtex kap2

\begin{document}
\include{kap1}
\include{kap2}
\end{document}