0

I'm using bibtex for my bibliography in LaTeX. I would like to use URL's and I need to cite. How do I add URLs into the .bib file. Also, I am using chicago as a bibliographystyle. I wrote the following code, but It does not show up in my refreneces. How can I fix it?

 \begin{filecontents*}{mybib1.bib}
 @misc{bworld,
 author = {Ingo Lütkebohle},
 title = {{BWorld Robot Control Software}},
 howpublished = "\url{http://aiweb.techfak.uni-bielefeld.de/content/bworld-
 robot-control-software/}",
 year = {2008}, 
 }
\end{filecontents*}

\usepackage{url}
\begin{document}

 The information is available in \citep{bworld}. 

\bibliographystyle{chicago} 
\bibliography{mybib1}
\end{document}
  • 1
    You should use \citep{bworld} not \citep{Ingo Lütkebohle}, since the citekey that you've defined is bworld. Does that fix it? – Adam Liter Mar 14 '14 at 3:06
  • Thnaks for your comment, but it does not solve the orblem. – rose Mar 14 '14 at 3:11
  • Are you using a package for citing things? If I add, for example, \usepackage{natbib}, your MWE compiles just fine for me. – Adam Liter Mar 14 '14 at 3:12
  • 3
    Have you run latex, bibtex, latex, latex on your document? If you are seeing something like ??, that usually means you have not run the full sequence of commands. (Either that, or you are citing an entrykey that does not exist in your .bib file, as Adam suggested.) – jon Mar 14 '14 at 3:16
  • 4
    Please always post complete code. That is much more useful that a fragment as the discussion in these comments is demonstrating. People should need to guess you are using natbib or whatever. Why make it difficult for people to help you? Note that complete need not be large. Just enough to show your issue when compiled. But it should compile unless failure to compile is the problem you are asking about! For example, the document class and other packages are clearly relevant here. – cfr Mar 14 '14 at 3:43
2

Too long for a comment and needed markup

Compile the following code (saved as myfile.tex) with

pdflatex myfile
bibtex myfile
pdflatex myfile
pdflatex myfile

Contents of myfile.tex:

\documentclass{article}
\usepackage{filecontents}
 \begin{filecontents*}{mybib1.bib}
 @misc{bworld,
 author = {Ingo Lütkebohle},
 title = {{BWorld Robot Control Software}},
 howpublished = "\url{http://aiweb.techfak.uni-bielefeld.de/content/bworld-
 robot-control-software/}",
 year = {2008},
 }
\end{filecontents*}
\usepackage{natbib}

\usepackage{url}
\begin{document}

 The information is available in \citep{bworld}.

\bibliographystyle{chicago}
\bibliography{mybib1}
\end{document}

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.