Das hier ist mein Latex-Dokument. Ich bin jetzt die ganze Zeit schon am überlegen warum die \cite nicht bei dem hier klappt. Die Dateien sind im selben Ordner und compiliert habe ich es auch schon öfters. Als Fehler meldet mir Tex das hier:
LaTeX Warning: Citation `DBLP:books/aw/Knuth86' on page 1 undefined on input line 28.
LaTeX Warning: Empty `thebibliography' environment on input line 3.
Wisst ihr vielleicht weiter?
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{cite}
\bibliographystyle{plain}
\begin{document}
\section{Another \LaTeX example}
\subsection{Bibliography}
You will find the required the Bib\TeX snippets to create the references [Knu86] and [Tan13], with a simple search on \u http://dplp.uni-trier.de/db/.
\subsection{Euclid's Proof of the Infinitude of Primes}
$\textbf{Theorem}$~~ There are infinitely many primes.
\\$\textbf{Proof}$~~by contradiction. Assuming the set $\mathcal{P}$ of primes would be finite, let $\mathcal{P}$ = $\lbrace p_{1},p_{2},\ldots,p_{n}\rbrace$.
\\Now we use the product of all primes: $$ q:= 1+\prod^{n}_{i=1}p_{i}=1+\lbrace p_{1},p_{2},\ldots,p_{n}\rbrace$$
\\Now $\textit{q}$ is a new prime number not in $\mathcal{P}$. So there's a prime $\textit{r}$ that divides $\textit{q}$. But $\textit{r}\epsilon$ $\mathcal{P}$ either, since
$$ \forall \textit{r}, \textit{r} ~\epsilon~\mathcal{P} \Rightarrow q ~mod~ \textit{r} = 1$$
\\ So $\textit{r}$ is a $\textit{new}$ prime number not in $\mathcal{P}$, contradicting the assumption.
\begin{minipage}{.45\linewidth}
\begin{flushright}
$\square$
\end{flushright}
\end{minipage}
\bibliography{References}
\cite{DBLP:books/aw/Knuth86}
\end{document}