BibTeX, biblatex and biberNeed help with Bibtex

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
lucianojcampos
Posts: 15
Joined: Thu Apr 07, 2011 12:49 pm

Need help with Bibtex

Post by lucianojcampos »

Hi,

I'm having problems to include bibliography in a file.tex. I use the commands:

Code: Select all

\bibliographystyle{ECONOMETRICA}
\bibliography{ACOMPAT,Multi2}
but when I convert the file.tex to pdf, the bibliography doesn't appear.

I post both file.tex and file.bib in case anyone could help me.

I appreciate your help

Regards,
Last edited by Stefan Kottwitz on Mon Jun 13, 2011 3:26 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Need help with Bibtex

Post by Stefan Kottwitz »

Hi,

you have to run bibtex on the file. Either use a feature of your LaTeX editor or do it on the command prompt:

Code: Select all

bibtex LucaMemoire
Stefabn
LaTeX.org admin
lucianojcampos
Posts: 15
Joined: Thu Apr 07, 2011 12:49 pm

Re: Need help with Bibtex

Post by lucianojcampos »

Hi Stefan,

thanks for your reply. But I don't think I'm following you. I don't know exactly what you mean by running the bibtex on the file and if I write down the command

\bibtex LucaMemoire

(if that what you suggested me to do), it is not recognized by my Latex editor.

Sorry for the inconvenience

best,
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: Need help with Bibtex

Post by Stefan Kottwitz »

It's not a command in the LaTeX document. I meant a command at the operating system command prompt, outside of the editor. (Some editors have an integrated bibtex feature though.)

Stefan
LaTeX.org admin
lucianojcampos
Posts: 15
Joined: Thu Apr 07, 2011 12:49 pm

Re: Need help with Bibtex

Post by lucianojcampos »

OK, now I think I understand what you've said and the issue is getting better, although not completely solved. This is what I do: I import the file.tex into LyX creating a file.lyx and then I insert the file.bib into the file.lyx created. When I run the file.lyx, the pdf created has all the bibliography correctly placed at the end. Nevertheless, it doesn't recognize the citations along the file: each time there's a citation, it appears "?" sign.

Do you know what might be causing this defect?

Thanks for your help

best,
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: Need help with Bibtex

Post by Stefan Kottwitz »

Why do you import it into LyX? You could run bibtex on the file and then compile the tex file to pdf, using pdfLaTeX instead of LyX.
Compile to pdf twice, to get complete cross-references and citations, respectively.

If you would like to work with LyX, have a look at its documentation regarding BiBTeX. I never used BiBTeX with LyX, but with LaTeX.

Stefan
LaTeX.org admin
lucianojcampos
Posts: 15
Joined: Thu Apr 07, 2011 12:49 pm

Need help with Bibtex

Post by lucianojcampos »

OK, I drop LyX. But even using only the tex editor, the citations still don't appear. This is what I do:

I run latex, then I run bibtex, then I run latex twice and, finally I compile to pdfLatex twice as you've suggested. References are OK at the end of the pdf, but citations still don't appear.

Maybe I'm lacking some package(s). This are the ones I'm currently using:

Code: Select all

\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{sw20elba}
\usepackage{harvard}
\usepackage{amsbsy}
\usepackage{portland}
\usepackage[pdftex]{hyperref}
\usepackage[dvips]{graphicx}
\usepackage[retainorgcmds]{IEEEtrantools}
Thanks and regards,
Last edited by Stefan Kottwitz on Mon Jun 13, 2011 3:26 pm, edited 1 time in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: Need help with Bibtex

Post by Stefan Kottwitz »

I recommend to check the log file for errors and warnings. You could also post it here as attachment.

Stefan
LaTeX.org admin
lucianojcampos
Posts: 15
Joined: Thu Apr 07, 2011 12:49 pm

Re: Need help with Bibtex

Post by lucianojcampos »

OK Stephan

thanks for your help

best
Post Reply