summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-bib2-ex/03-09-2.ltx2
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-bib2-ex/03-09-2.ltx2')
-rw-r--r--Master/texmf-dist/doc/latex/latex-bib2-ex/03-09-2.ltx2101
1 files changed, 101 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-bib2-ex/03-09-2.ltx2 b/Master/texmf-dist/doc/latex/latex-bib2-ex/03-09-2.ltx2
new file mode 100644
index 00000000000..47b3b87c728
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-bib2-ex/03-09-2.ltx2
@@ -0,0 +1,101 @@
+%%
+%% Ein Beispiel der DANTE-Edition
+%% Bibliografie mit LaTeX
+%% 2. Auflage
+%% Beispiel 03-09-2 auf Seite 81.
+%% Copyright (C) 2016 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.
+%%
+%% ==runAllAuxFiles==
+% Show page(s) 1,2
+%%
+%%
+\documentclass[]{exaarticle}
+\pagestyle{empty}
+\setlength\textwidth{352.81416pt}
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\setlength\parindent{0pt}
+\usepackage[ngerman]{babel}
+\usepackage[paper=a6,pagesize,DIV15]{typearea}
+\usepackage{filecontents}
+\begin{filecontents*}{books.bib}
+@book{ColBenh:93,
+ editor = "Fr{\'e}d{\'e}ric Benhamou and Alain Colmerauer",
+ title = "Constraint {Logic} programming, {Selected} {Research}",
+ publisher = "MIT Press",
+ year = 1993
+}
+@book{Munt:93,
+ author = {Tra{\"\i}an Muntean},
+ title = {Puces tr{\`e}s performantes},
+ publisher = {Hatier},
+ address = {Paris},
+ series = {Terres du futur, Les Editions UNESCO},
+ year = 1993,
+}
+@Book{Bechtolsheim:TP93a,
+ author = {{Stephan von} Bechtolsheim},
+ title = {{\TeX} in {P}ractice: {B}asics},
+ publisher = {Springer-Verlag},
+ year = 1993,
+ ISBN = {0-387-97595-0},
+ LCCN = {Z253.4.T47 B4 1993},
+ volume = {1},
+ address = {Berlin, Heidelberg, Germany~/ London, UK~/ etc.},
+}
+\end{filecontents*}
+\begin{filecontents*}{articles.bib}
+@incollection{RouxSmart:95,
+ author = "M. Roux and J. Smart",
+ title = "A Model of Medical Knowledge Representation, Application
+ to the Reports Analysis of Descriptive Pathology",
+ booktitle = "Methods of Information in Medecine",
+ note = {{\`A} para{\^{\i}}tre},
+ publisher = "Schattauer",
+ address = "Holland",
+ year = 1995
+}
+@Article{Kehr:xindy,
+ author = "Roger Kehr",
+ title = "{\texttt{xindy}---{A} flexible indexing system}",
+ journal = "Cahiers GUTenberg",
+ year = 1998,
+ volume = "28--29",
+ pages = "223--230",
+ month = mar,
+}
+\end{filecontents*}
+%StartShownPreambleCommands
+\usepackage[unitcntnoreset]{bibtopic}
+\usepackage[numbers]{natbib} \usepackage{url}
+% bibtex \jobname1 bibtex \jobname2 bibtex \jobname3
+%StopShownPreambleCommands
+\begin{document}
+\bibliographystyle{plainnat}
+\begin{btUnit}% Beginn erste btUnit
+Wir zitieren zwei Bücher: \cite{Bechtolsheim:TP93a} und \cite{Munt:93} und
+auch einen Artikel: \cite{RouxSmart:95}.
+\begin{btSect}{books}
+\section{Literatur -- Bücher} \btPrintCited
+\section{Nicht-zitierte Artikel} \btPrintNotCited
+\end{btSect}
+
+\begin{btSect}[plain]{articles}
+\section{Literatur -- Artikel} \btPrintCited
+\end{btSect}
+\end{btUnit}% Ende erste btUnit
+
+Jetzt endet die erste \texttt{btUnit} und die zweite beginnt sogleich \ldots
+
+\begin{btUnit}% Beginn zweite btUnit
+Das Zitieren von~\cite{RouxSmart:95} gibt jetzt keine Warnung ‘multiple defined
+citations’ von \LaTeX, weil sie innerhalb einer anderen "'btUnit"` erscheint.
+\begin{btSect}{books} \section{Alle Bücher} \btPrintAll \end{btSect}
+\begin{btSect}{articles}\section{Alle Artikel} \btPrintAll \end{btSect}
+\end{btUnit}% Ende der zweiten btUnit
+\end{document}