Latex referencing with bibtex is not working

3,416 views
Skip to first unread message

Vinay Shekhar

unread,
Jul 7, 2012, 11:05:01 AM7/7/12
to latexus...@googlegroups.com
I am not sure what i am doing wrong, but i can't seem to get the referencing to show up. I am using the book format and my main report file is built from a series of smaller .tex files for each chapter.

I have created a file called mybib.bib, which contains all the references, and i have cited the sources in the document using \cite[p. 21]{citename}.

But when i run the document the space where the citation is supposed to be appears with: (? ?, p. 21)

We are required to use the APA referencing system, and i have installed the APA citation style file.

This is how i am calling the bibliography in the main document:

%inside the main report file
\newpage
\bibliographystyle{apacite}
\addcontentsline{toc}{chapter}{References}
\bibliography{mybib}

Could someone tell me what i am doing incorrectly, and how i should go about correcting it.

Thanks
Vinay

Peter Flynn

unread,
Jul 7, 2012, 11:49:15 AM7/7/12
to latexus...@googlegroups.com

You need to run BiBTeX on your document (just the name, not the tex extension) and then run LaTeX again.

--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To view this discussion on the web visit https://groups.google.com/d/msg/latexusersgroup/-/UtRHeJGqUZ8J.
To post to this group, send email to latexus...@googlegroups.com.
To unsubscribe from this group, send email to latexusersgro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/latexusersgroup?hl=en.

Sumit Adhikari

unread,
Jul 7, 2012, 11:49:39 AM7/7/12
to latexus...@googlegroups.com
run the bibtex once


Vinay

--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To view this discussion on the web visit https://groups.google.com/d/msg/latexusersgroup/-/UtRHeJGqUZ8J.
To post to this group, send email to latexus...@googlegroups.com.
To unsubscribe from this group, send email to latexusersgro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/latexusersgroup?hl=en.



--
Sumit Adhikari,
Institute of Computer Technology,
Faculty of Electrical Engineering,
Vienna University of Technology,
Gußhausstraße 27-29,1040 Vienna

Vinay Shekhar

unread,
Jul 8, 2012, 8:24:46 AM7/8/12
to latexus...@googlegroups.com
Thanks,
It is working properly now.

Peter Flynn

unread,
Jul 8, 2012, 9:52:05 AM7/8/12
to latexus...@googlegroups.com
On Sun, Jul 8, 2012 at 1:24 PM, Vinay Shekhar <shekha...@gmail.com> wrote:
Thanks,
It is working properly now

Excellent. It would be very useful to those of us who write and edit documentation if you could say where you looked for information about using BiBTeX. Some of the documentation has bits missing, which is why you might not have found the right explanation, and if you could point us at where you looked, we can see if the documentation can be updated or made clearer.

///Peter

Vinay Shekhar

unread,
Jul 9, 2012, 12:24:26 AM7/9/12
to latexus...@googlegroups.com
I had tried reading the following .pdf files:
LaTeX Tutorial - Jeff Clark

It was my fault primarily, cause i didn't realize that this document was not referring to BIBTeX, but rather the LaTeX bibliography function. Still thanks so much for the assist.

Vinay
Reply all
Reply to author
Forward
0 new messages