Generate Bibliography using Bibtex:
You can generate bibliography using the Bibtex. It is recommended to use Bibtex for creating bibliography. You are suggested to follow some hints given below:
First create a file having an extension bib. This file contains all the references in a specific format e.g. the bibliography file ref.bib contains. Out of the various known types for bibliography some common types available are plain, ieeetr, named, acm etc. References should be entered in a very specific format containing all the necessary fields in the file having an extension bib (e.g. ref.bib). For an example, if you want to enter the details of an article and a book, it should be entered in the format given below.
@article{SIE
,title = "A New Approach for Parallel Simulation of VLSI circuits on a
Transistor level"
,author = "Norbert Frohlich and Bernhard M. Riess and Utz A. wever and Qinghau
Zheng"
,journal = "IEEE Transaction on Circuits and system -1:Fundamental Theory and
Applications"
,volume = 45
,number = "6"
,pages = "601-613"
,year = 1998
}
@book{HN
,author = "H. Narayanan"
,title = "Submodular Function and Electrical Networks, Annals of Discrete
Mathematics"
,volume = 54
,publisher = "North Holland, Amsterdam, The Netherlands"
,year = 1997
} For these formats you can refer Latex Manual or view the given template
file (
Note: Whenever a reference has more than one author, separate their names by an and. The same is shown as an example above in the format of an article.
Some sites are given for the help on bibliographic references in the section Really Useful Links.
Add the following command after \begin{document}
\bibliographystyle{Style_You_Want}
e.g. I used the command in the way given below as I wanted bibliography in the ACM format. There are many formats given, you can choose a format you want.
\bibliographystyle{acm}
Now add the command \bibliography{Bibliography_File_Name_having_extension_bib} where you want to put the references. For an example, I put the references in the end of the document or chapter. I used the command \bibliography{ref} as my bibliographic file name is ref.bib.
Now compile the Main Latex File with the following command:
latex Main_Latex_File_Name
e.g. My main Latex file is Report.tex, so I compiled the file in following way:
latex Report.tex
In the first compilation error messages start flushing on the computer screen. It prompts that the citation keys (e.g. SIE in the above example of the article format) are not defined. It is because of the absence of the bibliographic database during first time of compilation of main Latex file. So ignore all the error messages regarding references. The bibliographic database in a suitable format will be generated now. In the first compilation an auxiliary file having an extension aux (e.g. Report.aux) is created. It is used to generate the bibliographic database. Run the following command to generate the bibliographic database:
bibtex Name_Of_Auxiliary_File
e.g. I used the command bibtex Report to generate my bibliographic database.
Now run the command latex Main_Latex_File_Name e.g latex Report.tex once more so that it will update the citation information. If you are using the cross references then run it two time more (recommended) so that all the changes have been taken care of.