I am using Texmaker 3.2 on Ubuntu 12.04. I have just started using LaTex, and am trying to cite references in a scientific paper. I am not sure as to what configuration settings I should be using, or if I am missing some code, but after trawling the internet for slutions, I can't seem to get it to work when I compile a pdf.
I tried the whole F1 F11 F1 F1 thing with no joy. Nothing seems to happen in fact. I also tried the same from the command line. When I do press F11 on it's own I get:
Code: Select all
Error : could not start the command
I tried making a .bbl file, but it just prints exactly what's in the file (ignoring curly brackets). It still prints this info even when I change the filename. I don't know whats going on there.
Anyway, this is my Latex code (I have removed 5 pages of non-necessary detail):
Code: Select all
\documentclass[11pt]{article}
\usepackage{natbib}
\begin{document}
I want to enter citation here: \citep{webb}
I want to list references here:
\bibliography{mybib}
\bibliographystyle{plain}
\end{document}
Code: Select all
@article{webb,
author = "webb",
publisher = "somebody",
title = "{something}"
YEAR = 1980,
}
@article{yoyo,
author = "yoyo,
publisher = "yoyo",
title = "{yoyo}"
YEAR = yoyo,
}
Code: Select all
NameOfPaper".aux.
[1] [2] [3] [4] [5]
Package natbib Warning: Citation `webb' on page 6 undefined on input line 58.
[6]
No file "
NameOfPaper".bbl.
I haven't a clue to be honest, and would really like to find an easier way to reference things, so any help/advice would be greatly appreciated.
Thanks a lot,
Philip