GeneralUsing Bibetex

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
tarektarek
Posts: 30
Joined: Fri Nov 23, 2007 12:56 am

Using Bibetex

Post by tarektarek »

Hi;
I am new to the bibtex tool, I do not know how to use it. I want to add the references automatically since I was coping the references into sty file and then reading from it.


Thanks in advance

Recommended reading 2024:

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

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

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Using Bibetex

Post by gmedina »

You can read the documentation of BiBTeX ([1] and [2], for example).

However, I'll explain the basic idea:
1) You store all your bibliographic items in one (or several) databases (files with extension .bib). Here you can find an example of a typical database.

2) In your .tex main file you use the commands

Code: Select all

\bibliographystyle{style}
in the preamble, using one of the multiple valid styles (some of them described in the package documentation) to inform BiBTeX how to format the bibliographic entries; and

Code: Select all

\bibliography{database}
to inform BiBTeX which databases must be searched to resolve citations. This command should be placed in the body of the document where the bibliography must appear. In its argument you must specify the names of the databases you want to use, without the .bib extension and separated by commas (if you are going to use more than one database).

3) You must process your .tex file in the following way:
(pdf)LaTeX+BiBTeX+(pdf)LaTeX
1,1,2,3,5,8,13,21,34,55,89,144,233,...
tarektarek
Posts: 30
Joined: Fri Nov 23, 2007 12:56 am

Re: Using Bibetex

Post by tarektarek »

Thanks a lot for your helo
vest79
Posts: 1
Joined: Sun Feb 24, 2008 2:40 pm

Using Bibetex

Post by vest79 »

Hi

What command is needed in the .bib file?
I use: \begin{bibliography} and \end{bibliography} but it does not seam to work and according to the web page http://www.xm1math.net/texmaker/faq.html it is necessary to change a default command in order to make BiBTeX work, but I don't know how.

Some help would be very usefull

Thanks
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Using Bibetex

Post by gmedina »

There's no need for a command in the .bib file. Please read the Using BibTeX document and the BibTeXFAQ.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply