Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

flat6

macrumors regular
Original poster
Oct 24, 2004
244
0
I'm trying to use BibTeX for the first time, ran into trouble.

I've got a "document.tex" file:

Code:
\input{preamble}
\begin{document}
\include{chapter1}

\bibliography{references}
\end{document}

...and a "references.bib" file:

Code:
@article{a+b,
	author =	"P. Aaaaaa, O. Bbbbbb, and K. Ccccccc",
	title =		"Toward Large of Stuff",
	journal =	"Some Letters",
	volume =	3,
	pages =	(347--351),
	year =		2003,
}

I've tried this using TeXShop's 'Typeset' command (gives "I couldn't open file references.aux") and also using texmaker's 'BibTex' command (gives "Process exited with error(s)").

So, what am I doing wrong?
 
In texShop I believe you have to typeset the document using Latex then typeset it again using BibTex. The .aux file is created when you typeset using latex.
 
In texShop I believe you have to typeset the document using Latex then typeset it again using BibTex. The .aux file is created when you typeset using latex.

If I understand you correctly, that means open up the .bib file in TeXShop, select "LaTeX" from the drop-down menu, press "Typeset", then select "BibTeX" from drop-down menu, press "Typeset" again?

I just gave that a try now, got "! LaTeX Error: Missing \begin{document}." at the first step, that is, when I press "Typeset" while in "LaTeX" mode.
 
No, you never complie the .bib file, just the .tex file.

Open up the .tex file and compile it using Latex (Shift+Apple+L) then compile it using Bibtex (Shift+Apple+B)

You might then have to compile it again using Latex to finish the process.
 
No, you never complie the .bib file, just the .tex file.

Open up the .tex file and compile it using Latex (Shift+Apple+L) then compile it using Bibtex (Shift+Apple+B)

You might then have to compile it again using Latex to finish the process.

Ah, excellent. Works beautifully, thanks for teaching me that swiftaw.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.