LaTeX forum ⇒ BibTeX, biblatex and biberusing apacite

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
brown
Posts: 2
Joined: Mon Jan 26, 2009 12:28 am

using apacite

Postby brown » Mon Jan 26, 2009 12:38 am

I'm pretty new to using LaTex still... I'm using MikTex with the LaTex Editor (LED).

I've installed apacite and apa for a paper I have to write. My problem is getting my bibliography to work, I think the apa style is fine. I had problems with english.apc file, but found the file and installed it.

So I have the following code Test.tex:
  1. \documentclass{article}
  2.  
  3. \usepackage{apacite}
  4.  
  5. \begin{document}
  6. Sometimes people wonder how to cite things \cite{milgram1970elc}
  7.  
  8. \bibliographystyle{apacite}
  9. \bibliography{TestBib}
  10.  
  11. \end{document}


and the following TestBib.bib:
  1. @article{milgram1970elc,
  2. title={{The Experience of Living in Cities}},
  3. author={Milgram, S.},
  4. journal={Science},
  5. volume={167},
  6. number={3924},
  7. pages={1461--1468},
  8. year={1970}
  9. }


And I get a warning that "Citation `milgram1970elc' undefined on input line 6."

Is this a problem with my code? Or with LED?

Thanks for your time.
Attachments
Test.log
(2.71 KiB) Downloaded 358 times

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Mon Jan 26, 2009 12:54 am

Perhaps you didn't run BibTeX on your document. Your editor should support that with a button or something else. Refer to the help function or to other resources on the homepage.


Best regards and welcome to the board
Thorsten¹
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

brown
Posts: 2
Joined: Mon Jan 26, 2009 12:28 am

Postby brown » Mon Jan 26, 2009 3:04 am

Thanks for the help. I tried TeXnicCenter as it has a built in Bibtex command. Apparently LED needed me to create a batch file, which I do not know how to do.

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Mon Jan 26, 2009 10:14 am

brown wrote:Thanks for the help. I tried TeXnicCenter as it has a built in Bibtex command. Apparently LED needed me to create a batch file, which I do not know how to do.

Feel free to report about your success with TeXnicCenter (TXC). I'm sure others are also interested in that.
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 4 guests