I am writing my thesis in Latex, and I have the references in an own thesis.bib file which look as follows
@Article{xxx, author = "D.A. Reinhard", title = "Case Study", year = "1985", }
and I reference them in my main document as ~\cite{xxx}
When I compile then the main document with: pdflatex main.tex than it shows me question marks instead of the proper references to the bibliography. Do I also need to compile the bib source on its own? If yes, can somebody please tell me the command for Linux
Many thanks!
If you already have a bibliography file that you need to use in a Overleaf project, you can upload it. Click the Upload icon located on top of the left panel. A dialog box will appear, you can either drag and drop the . bib file(s), or choose select from your computer to upload file(s) from your device.
You can do this in TeXstudio, as well. If you select Options> Configure TeXstudio..., and select Build from the lefthand menu, you'll see a screen (below) that explains the default commands that are run for the various menu buttons and/or keyboard shortcuts.
Basic LaTeX comes with a few . bst style files; others can be downloaded from the web • To insert a citation in the text in the specified output style - insert the \cite command e.g. command e.g. \bibliography{references} where your reference details are stored in the file references.
You need to compile the bibtex file.
Suppose you have article.tex
and article.bib
. You need to run:
latex article.tex
(this will generate a document with question marks in place of unknown references)bibtex article
(this will parse all the .bib files that were included in the article and generate metainformation regarding references)latex article.tex
(this will generate document with all the references in the correct places)latex article.tex
(just in case if adding references broke page numbering somewhere)If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With