TeXworks ⇒ TeXworks, bibtex, and how to do it?
Re: TeXworks, bibtex, and how to do it?
Solved. My bib file did not have .bib extension. Adding that solved the issue!
NEW: TikZ book now 40% off at Amazon.com for a short time.
TeXworks, bibtex, and how to do it?
Hello, I happen to have the same problem you had in TexWorks, and my file does have the .bib extension. I have compiled the file adding the command lines:
and the bibliography still doesn't appear. I'll add the code that I'm using in case anyone can help me.
Code: Select all
pdflatex latex_source_code.tex
bibtex latex_source_code.aux
pdflatex latex_source_code.tex
pdflatex latex_source_code.tex
Code: Select all
\documentclass [letterpaper, 12pt, oneside] {report}
\begin{document}
\chapter{Chaptertitle}
\section{Greetings}
\textsf{Hello}
\bibliographystyle{plain}
\bibliography{Bibliografía}
\end{document}
Code: Select all
pdflatex latex_source_code.tex
bibtex latex_source_code.aux
pdflatex latex_source_code.tex
pdflatex latex_source_code.tex
Last edited by cgnieder on Fri Jan 18, 2013 11:59 am, edited 1 time in total.
TeXworks, bibtex, and how to do it?
Hi ichy_ban,
Welcome to the LaTeX community.
your code does note cite anything so naturally you'll get an empty bibliography. Add at least one
BTW: it is better not to ask new questions at the end of already solved threads but to open a new topic thread. One can always link to the other one for reference.
Regards
Welcome to the LaTeX community.
your code does note cite anything so naturally you'll get an empty bibliography. Add at least one
\cite{<bib key>}
to get the entry for <cite key>
into the bibliography or add \nocite{*}
to add every entry to the bibliography.BTW: it is better not to ask new questions at the end of already solved threads but to open a new topic thread. One can always link to the other one for reference.
Regards
site moderator & package author
Re: TeXworks, bibtex, and how to do it?
Hello, I appreciate that you answered since this is my first time in a forum and I'll follow your advice about opening a new forum in future occassions.
I tried inserting the commands that you suggested but the bibliography still doesn't appear. I think the problem is that when I write the commands:
pdflatex latex_source_code.tex
bibtex latex_source_code.aux
pdflatex latex_source_code.tex
pdflatex latex_source_code.tex
Texworks doesn't recognize them, because it appears a "?" when it is running that line. I suppose that as this lines are not being run, the auxiliary archives are not being created and so nothing appears. I even tried writing:
latex latex_source_code.tex
bibtex latex_source_code.aux
latex latex_source_code.tex
latex latex_source_code.tex
dvi latex_source_code.dvi
But it still does not recognize the command. I'm not sure if I need a special package or something else, but I'll appreciate any counsel you could offer. Thanks for the help.
I tried inserting the commands that you suggested but the bibliography still doesn't appear. I think the problem is that when I write the commands:
pdflatex latex_source_code.tex
bibtex latex_source_code.aux
pdflatex latex_source_code.tex
pdflatex latex_source_code.tex
Texworks doesn't recognize them, because it appears a "?" when it is running that line. I suppose that as this lines are not being run, the auxiliary archives are not being created and so nothing appears. I even tried writing:
latex latex_source_code.tex
bibtex latex_source_code.aux
latex latex_source_code.tex
latex latex_source_code.tex
dvi latex_source_code.dvi
But it still does not recognize the command. I'm not sure if I need a special package or something else, but I'll appreciate any counsel you could offer. Thanks for the help.
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
TeXworks, bibtex, and how to do it?
You should have
\bibliography{XX}
rather than \bibliography{XX.bib}
in you LaTeX file. TeXworks (and other editors) work perfectly well for most people in running BibTeX, so we need to know a bit more about your set up to help.Joseph Wright