TeXworks ⇒ TeXworks, bibtex, and how to do it?
Re: TeXworks, bibtex, and how to do it?
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
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.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
TeXworks, 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.
-
- 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.