TeXworks ⇒ TeXworks, bibtex, and how to do it?
Re: TeXworks, bibtex, and how to do it?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
TeXworks, bibtex, and how to do it?
Code: Select all
pdflatex latex_source_code.tex
bibtex latex_source_code.aux
pdflatex latex_source_code.tex
pdflatex latex_source_code.texCode: 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.texTeXworks, bibtex, and how to do it?
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
Re: TeXworks, bibtex, and how to do it?
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.
-
josephwright
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
TeXworks, bibtex, and how to do it?
\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.