MiKTeX and proTeXtBibliography related Errors

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
Kroesus
Posts: 4
Joined: Mon Jul 04, 2011 10:05 pm

Bibliography related Errors

Post by Kroesus »

Hey I'm brand new to this forum and to LaTeX. I got a file from a friend as a start up, the file contains:

Code: Select all

\documentclass{scrreprt} %%
\usepackage[latin1]{inputenc} %%
\usepackage{blindtext} %Nur für Minimalbeispiele geeignet, erlaubt schnelles Einfügen von Textbausteinen
\usepackage{booktabs}
\usepackage{graphicx} %Für Bilder
\usepackage{wrapfig}  %für Textumflossene Bilder
\renewcommand{\figurename}{{Abb.}}  %Ändert Namen der Bildunterschrift
\renewcommand{\tablename}{{Tab.}}  %Ändert Namen der Bildunterschrift

\begin{document}

\begin{titlepage} 		%% Deckblatt mit einigen Optionen, mehr Möglichkeiten findest du im KomaSkript

\titlehead{Kopfzeile}
\title{Titel}
\subtitle{Untertitel}
\author{Autor}
\date{Datum}
\publishers{Verlag}

\maketitle
\end{titlepage}

\tableofcontents    %% automatisiertes Inhaltsverzeichnis

\chapter{Im Wald fallen Bäume um}

\blindtext

\section{Abschnitt}

\blindtext 

\subsection{Unterabschnitt}

\blindtext

\blindtext

\subsubsection{Unterunterabschnitt}

\begin{table}[htb]
  \centering
  \caption[Kurztitel]{Tabelle größe}\label{tab:TabelleGroesse}
  \begin{tabular}{lrccc} \toprule 
    links & rehts & zentriert & 12 & 35 \\
    testertext & testertext& testertext & 12 & 35 \\
    links & rehts & zentriert & 12 & 35 
  \end{tabular}	
\end{table}

\blindtext

\listoffigures

\listoftables
\end{document}
but when I try to convert it to an PDF it says 3 Errors:
I found no \citation commands
I found no \bibdata command
I found no \bibstyle command
Any ideas and help please?
Last edited by Kroesus on Sun Jul 17, 2011 9:06 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Bibliography related Errors

Post by localghost »

Whoever gave you this "template" can't have much experience with LaTeX. Which editor do you use?


Thorsten
Kroesus
Posts: 4
Joined: Mon Jul 04, 2011 10:05 pm

Re: Bibliography related Errors

Post by Kroesus »

I'm using TeXnicCenter.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Bibliography related Errors

Post by localghost »

TeXnicCenter (TXC) by default invokes BibTeX and MakeIndex in all its build profiles. You can neglect these warnings. They don't affect the compilation of your document.

Regarding your template you should add some things to enhance it a little bit. I added some options and did some useful modifications. Since you are using a class of the KOMA Script bundle, you should study its excellent user guide. The same applies to all other involved packages.

Code: Select all

\documentclass[%
  captions=tableabove,         % Formatierung der Tabellenbeschriftungen für Platzierung oberhalb von Tabellen
  ngerman                      % Globale Sprachoption für »babel« (und möglicherweise weitere Pakete)
]{scrreprt}                    % Dokumentklasse
\usepackage[T1]{fontenc}       % Cork Encoding einschalten
\usepackage{selinput}          % Eingabecodierung für Umlaute
\SelectInputMappings{%         % Eingabecodierung mit Hilfe von Glyphen festlegen
  adieresis={ä},
  germandbls={ß},
  Euro={€}
}
\usepackage{babel}             % Sprache einstellen (mit globaler Sprachoption)
\usepackage{booktabs}          % Erstellung ansprechender Tabellen
\usepackage{graphicx}          % Einbindung externer Bilddateien
\usepackage{wrapfig}           % Textumflossene Bilder
\usepackage{blindtext}         % Nur für Minimalbeispiele, erlaubt schnelles Einfügen von Textbausteinen

\renewcaptionname{ngerman}{\figurename}{Abb.}  % Namen der Bildbeschriftungen ändern
\renewcaptionname{ngerman}{\tablename}{Tab.}   % Namen der Tabellenbeschriftungen ändern
\setkomafont{caption}{\small}                  % Schriftgröße für Bild- und Tabellenbeschriftungen verkleinern
\setkomafont{captionlabel}{\bfseries}          % Marke für Bild- und Tabellenbeschriftungen fett

%\titlehead{Kopfzeile}
\title{Titel}
\subtitle{Untertitel}
\author{Autor}
\date{Datum}
\publishers{Verlag}

\begin{document}
  \maketitle

  \tableofcontents

  \chapter{Im Wald fallen Bäume um}
    \blindtext

    \section{Abschnitt}
      \blindtext

      \subsection{Unterabschnitt}
        \blindtext[2]

        \subsubsection{Unterunterabschnitt}

          \begin{table}[!ht]
            \centering
            \caption[Kurztitel]{Tabelle größe}\label{tab:TabelleGroesse}
            \begin{tabular}{lrccc} \toprule
              links & rehts & zentriert & 12 & 35 \\
              testertext & testertext& testertext & 12 & 35 \\
              links & rehts & zentriert & 12 & 35
            \end{tabular}
          \end{table}

          \blindtext

  \listoffigures
  \listoftables
\end{document}
Kroesus
Posts: 4
Joined: Mon Jul 04, 2011 10:05 pm

Re: Bibliography related Errors

Post by Kroesus »

Thanks a lot for the fast reply, I will read the user guide.
Post Reply