BibTeX, biblatex and bibernatbib | Question Mark instead of Citation

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
Skywalker187
Posts: 1
Joined: Thu Mar 22, 2012 7:27 pm

natbib | Question Mark instead of Citation

Post by Skywalker187 »

Dear all,

I've spend hours already trying to get natbib running. Im using Texmaker on Windows XP and just cannot find the problem:
  1. I made sure the link to the .bib file is correct
  2. I changed the bibliography style to a "natbib" compatible one
  3. I'm compiling document, bibtex, document, document
Is there any problem with my code?

Code: Select all

\documentclass[12pt,oneside,a4paper]{article}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1.15ex plus 0.4ex minus 0.2ex}
\usepackage{graphicx}
\graphicspath{{./figures/}}
\usepackage{hyperref}
\usepackage{float}
\usepackage{microtype}
\usepackage[doublespacing]{setspace}
\usepackage{amsmath}
\usepackage[utf8]{inputenc} 
\usepackage[left=4cm, right=2cm, top=1cm, bottom=1cm, includeheadfoot]{geometry}
\usepackage{natbib}
\usepackage{fancyhdr}

\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}
\renewcommand{\headrulewidth}{0pt}
\rfoot{\thepage}

\begin{document}
\section{Introduction}
For 2011, OECD reports the total public debt-to-GDP ratio of its member countries will be higher than 100\%  \citet{oecd11} 

\bibliographystyle{plainnat}
\bibliography{ba-thesis.bib}
\end{document}
Thanks a lot in advance!
Lukas
Last edited by localghost on Thu Mar 22, 2012 8:13 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.

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

natbib | Question Mark instead of Citation

Post by localghost »

Just for information to other users to be aware of possibly already existing solutions. The question has also been posted to the {TeX} SE (with accepted answer).

Next time when asking your questions where else, please inform so that users here are prevented from waste of time. I was about to propose a solution here when I saw your posting on {TeX} SE. This is contra-productive.
Post Reply