BibTeX, biblatex and biberBibtex in Texmaker

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
owthlitt
Posts: 4
Joined: Sun Dec 12, 2010 5:20 pm

Bibtex in Texmaker

Post by owthlitt »

Hello, after much searching I have decided that I'm unable to extract the information I need to make my bibtex file work. Now I have included the following lines in my document

Code: Select all

\bibliographystyle{plain}
\bibliography{Articles}
Where Articles.bib is my bibtex file containing my references. When I input a \cite{reference} it produces a number in the document and then in the bibliography but nothing more than a number, i.e. no title, author.
Where my references in the .bib file are all of the form

Code: Select all

@Article{frohlich08,
author = {Jochen Frohlich, Dominic von Terzi},
title = {Hybrid LES/RANS methods for the simulation of turbulent flows},
journal = {Progress in Aerospace Sciences},
year = {2008}
}
What needs to be done to ensure the articles show up correctly in the bibliography. And is there a way of making all articles show without citing them?

Thank you

Recommended reading 2024:

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

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

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Bibtex in Texmaker

Post by frabjous »

Can you post the .blg file that is created here?
owthlitt
Posts: 4
Joined: Sun Dec 12, 2010 5:20 pm

Re: Bibtex in Texmaker

Post by owthlitt »

It does not allow me to upload files with the extension .blg unfortunately (The forum)
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Bibtex in Texmaker

Post by frabjous »

Forgot about that. I hope they fix it. You could put it in a .zip file, or just rename the file to something it accepts (.tex, .log, etc.).
owthlitt
Posts: 4
Joined: Sun Dec 12, 2010 5:20 pm

Re: Bibtex in Texmaker

Post by owthlitt »

I've zipped it, see file.
Attachments
Initial search report.zip
(492 Bytes) Downloaded 236 times
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Bibtex in Texmaker

Post by frabjous »

Well that you could have just posted in a code box. Here is the entire file:

Code: Select all

This is BibTeX, Version 0.99d
The top-level auxiliary file: Initial search report.aux
The style file: plain.bst
Database file #1: Articles.bib
I was expecting a `,' or a `}'---line 16 of file Articles.bib
 : 
 : author = {T.J.Craft, A.V.Gerasimov, B.E.Launder, C.M.E.Robinson},
(Error may have been on previous line)
I'm skipping whatever remains of this entry
Warning--to sort, need author or key in craft06
Warning--empty author in craft06
Warning--empty title in craft06
Warning--empty journal in craft06
Warning--empty year in craft06
(There was 1 error message)
There's an error in craft06 entry of your bib file. The error is probably in the line right above the author line, e.g., a missing comma at the end. I guess the first thing to do would be to fix that and see if it helps.

It might not. But just to be clear, do you always get this problem, even with a truly minimal document, such as:

Code: Select all

\documentclass{article}
\begin{document}
Let us cite \cite{frohlich08}.

\bibliographystyle{plain}
\bibliography{sample}
\end{document}
With sample.bib consisting only of a single entry, e.g.:

Code: Select all

@Article{frohlich08,
author = {Jochen Frohlich, Dominic von Terzi},
title = {Hybrid LES/RANS methods for the simulation of turbulent flows},
journal = {Progress in Aerospace Sciences},
year = {2008}
}
owthlitt
Posts: 4
Joined: Sun Dec 12, 2010 5:20 pm

Re: Bibtex in Texmaker

Post by owthlitt »

Ah excellent, I have it working thank you. It was me being silly, I managed to select the only article where I had messed up the entry and missed a comma. It works now thank you.

Now what I want to ask is; is it possible to have all entries show for the references but only citing some of them?

I have 39 articles which I need to have in the bibliography, but I only want to cite 16 which I want to highlight. Is this possible, or must I cite all of them and then cite the 16 I'm interested in?

Thank you
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Bibtex in Texmaker

Post by localghost »

owthlitt wrote:[…] Now what I want to ask is; is it possible to have all entries show for the references but only citing some of them? […]
A simple command will do.

Code: Select all

\nocite{*}

Best regards and welcome to the board
Thorsten
Post Reply