GeneralProblem using BibTex in TexnicCenter

General information and discussion about TeXnicCenter
Post Reply
mich3lag9
Posts: 1
Joined: Tue Feb 03, 2015 1:54 pm

Problem using BibTex in TexnicCenter

Post by mich3lag9 »

Good Morning everyone,

I am writing a Master Thesis and I finally arrived at the last step: bibliography. I have read through the web that using BibTex is easier and more rapid but everytime I try to insert the biblio.bib file in MG.tex one nothing appears and I cannot understand why.

Code: Select all

\documentclass[12pt,a4paper,openamy]{book}\setlength\textheight{247mm}

\usepackage[utf8]{inputenc}
\usepackage{enumitem}
\usepackage[square]{natbib}
\bibliographystyle{plainnat}

\begin{document}

All the stuff


\bibliography{biblio}
\bibliographystyle{plainnat}

\end{document}
Once I build the output file there is one error message display like the one attached. Does anyone know why??

Thanks in advance!
Attachments
latex.png
latex.png (23.66 KiB) Viewed 4168 times
Last edited by Stefan Kottwitz on Tue Feb 03, 2015 5:22 pm, edited 1 time 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.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Problem using BibTex in TexnicCenter

Post by Johannes_B »

Hi and welcome, it seems you are using two different \bibliographystyle commands, which confuses BibTeX quite a bit. Choose one of them.

But on the other hand, using bibliographystyles will feel like getting the flintstones to build airplanes when it comes to changing the output. It involves changing files written in a weird language. If you want to stay up to date, use the more modern package biblatex in conjunction with the bibtex replacement biber. If you want to change the appearance there, this is quite easy using just LaTeX commands. Of course, you need a bit of time there as well.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10340
Joined: Mon Mar 10, 2008 9:44 pm

Problem using BibTex in TexnicCenter

Post by Stefan Kottwitz »

Welcome to the forum!

Did Johannes' advice help? I also support the tipp to use biblatex with biber. It's not harder, but much more flexible. We could help with first steps. BibTeX is just the classic, but still ok to use, of course. At an early stage of the bibliography, it's the best time to choose the way. ;-)

Stefan
LaTeX.org admin
Post Reply