Latex generates references and cannot generate references for reasons

Source: Internet
Author: User
Tags manual hash

Latex Generation References

BibTeX is a database-using approach to managing reference procedures for coordinating the reference processing of latex.

The suffix name for the BibTeX file is. Bib. Let's look at an example:

@article {GETTYS90,
Author = {Jim Gettys and Phil Karlton and Scott McGregor},
title = {The {X} Window System, Version 11},
Journal = {Software Practice and Experience},
Volume = {20},
Number = {S2},
Year = {1990},
Abstract = {A Technical Overview of the X11 functionality. This is a update of the X10 TOG paper by Scheifler \& Gettys.}
}

Description

The first line @article tells BibTeX that this is an article type of reference. There are other formats, such as article, book, booklet, Conference, Inbook, Incollection, inproceedings, Manual, Misc, Mastersthesis, phdthesis , Proceedings, Techreport, unpublished and so on.
The next "Gettys90" is the name of the entry you refer to in the body.
The other is the specific content in the reference document.


Using BibTeX in Latex
In order to use the BibTeX database in LaTeX, you must first do the following three things:

1) Set the type of reference (bibliography style). Standard for Plain:

\bibliographystyle{plain}

Other types include unsrt– basically the same as the plain type, except that the reference entries are numbered in the order in which they are quoted, rather than in alphabetical order by the author.
alpha– is similar to the plain type when the reference entry number is based on the author's name and the Order of the year of publication.
abbrv– abbreviated format.
2) tag reference (make citations). When you want to use a reference in a document, insert the latex command

\cite{referencing the article name}

"Reference article name" is the name that precedes the definition @article.

3) Tell LaTeX to generate a list of references. Enter before the end of LaTeX

\bibliography{bibfile}

Here Bibfile is your BibTeX database file bibfile.bib.

Running BibTeX is divided into four steps below

1. Build your. tex file with Latex, which is to generate a. aux file, which tells BibTeX to use those references.
2. Compile the. bib file with BibTeX.
3. Once again build your. tex file with Latex, this time the reference is already included in the document, but the reference number may be incorrect at this point.
4. Finally, build your. tex file with LaTeX, and if everything goes well, it's all in normal.


Example: Save an example of the above BibTeX as a bibfile.bib.

\documentclass{article}
\begin{document}
We cite \cite{name1} and \cite{name2}.
\bibliography{bibfile}
\bibliographystyle{plain}
\end{document}

Save the above content as Bibtex-example.tex.

Latex compiles once, BibTeX compiles once, then uses latex compiles two times to be accomplished!

Get bib File

The Springer document format can be converted to BibTeX using the following URLs:

http://www.it.usyd.edu.au/~niu/cgi-bin/springer.cgi

About document Type: (from Texguru's latex2e user's manual)
@article entry is an article in a journal or magazine.
No less domain author, title, Journal, year.
You can omit the domain volume, number, pages, month, note.

@article {name,
Author = {A and B},
title = {Title},
Journal = {journal name},
Volume = {42},
Number = {1},
Year = {2008},
ISSN = {0110-0101},
Pages = {1--8},
doi = {http://doi.xxx.org},
Publisher = {ACM},
Address = {New York, NY, USA},
};


@book entry for books with definite publishing houses.
No less domain author or editor, title, publisher, year.
can omit domain volume or number, series, address, edition, month, note.


@booklet articles are printed, but there is no name of the publisher or sponsoring agency.
No less domain title.
Can omit domain author, howpublished, address, month, year, note.


The @conference is the same as the @inproceedings below.


@inbook entry is part of a book (chapters, sections or some pages).
No less domain author or editor, title, chapter and/or pages, Publisher,year.
You can omit the domain volume or number, series, type, address, edition, Month,note.


@incollection entry is part of a book that has its own title.
No less domain author, title, BookTitle, publisher, year.
Can omit domain editor, volume or Number,series, type, chapter, pages,address, edition, month, note.


@inproceedings entry is an article focused on the conference papers.
No less domain author, title, BookTitle, year.
Can omit domain editor, volume or number, series, pages, address, month,
Organization, Publisher, note.

@InProceedings {b07name,
Author = {A and B},
title = {Title},
BookTitle = {Proceedings of the Conference},
Address = {Sydney, Australia},
month = Nov,
Year = 2008,
Pages = {1-2},
Affiliation = {uni-name, country},
URL = {http://url/}
};


@manual entry is a scientific document.
No less domain title.
Can omit domain author, organization, address, edition, month, year, note.


@mastersthesis entry for Master's thesis.
No less domain author, title, school, year.
You can omit the field type, address, month, note.


@misc entry is a work that does not belong to any other type.
No fewer domains are not available.
Can omit domain author, title, howpublished, month, year, note.

@misc {name,
Author = "A",
title = "title",
howpublished = "Website",
Year = {2008},
Note = {\url{https://www.mysite.org}}
};


@phdthesis article for doctoral dissertation.
No less domain author, title, school, year.
You can omit the field type, address, month, note.


@proceedings entry is the proceedings of the Conference.
No less domain title, year.
can omit domain Editor,volume or number, series, address, month,
Organization, Publisher, note.


@techreport articles are reports published by schools or other research institutes.
No less domain author, title, institution, year.
You can omit the field type, number, address, month, note.

@techreport {name,
Author = {A and B}
title = {Title},
Institution = {Institution rpt No.}
Year = {2008}
};

@unpublished entries are unpublished works with authors and titles.
No less domain author, title, note.
You can omit the domain month, year.
There can also be omitted domain key and crossref in each entry

Unable to generate reference reason

Editing and using the reference is really a headache, if careless negligence, the list of documents written more, the results are not quoted in the text, such errors are not tolerated. And in the process of writing, I often do not clear the format, conferences, books, URLs and other formats, more cumbersome. Fortunately, a lot of periodical meetings will provide templates. I use the Ctex editing tools, here specifically to use the bib file to write references, its advantage is that you can write a lot of references in the bib file, and then refer to the time is more convenient, if you use a document, then it will be shown in the text, instead, it appears in the bib,  The article does not appear. and editing references in this way, the order of references is arranged alphabetically, and the difficulty of collating references is eliminated.  1. Because the template is different, the format written in the text is not the same. As required by the IEEE: \bibliographystyle{ieeetran} \bibliography{ieeeabrv,bare_conf} The first line represents the BST file used, which does not need to be managed. The first parameter of the second line represents the bib file used, and the second parameter is the bib file you wrote yourself.
If it's another template: \bibliographystyle{ownbib} Just this sentence, the parameter is your bib file name.
2. The compilation process first  latex then  bib the last  latex so that it compiles, and also generates BBL and aux files   3. Bib files are usually written in several formats, such as conferences, books, and papers. In general, the website will provide the reference format of the paper, export citation, select bib format download. Then open it with Notepad, stick all the found in a notepad, and then change the suffix to bib. Summarize the usual format: @INPROCEEDINGS {8, Author={carbunar, B. and Grama, A. and Vitek, J.}, Booktitle={parallel and distributed System S, 2004. Icpads 2004. Proceedings. Tenth International Conference on}, title={distributed and dynamic Voronoi overlays for coverage detection and distributed Hash tables in Ad-hoc networks}, year={2004}, Month={july}, volume={}, number={}, pages={549-556}, keywords={Voronoi Diagram ad hoc network; Ad-hoc wireless network; Coverage detection; Coverage-boundary detection; Distributed Voronoi overlays; Distributed algorithm; Distributed hash table; Dynamic Voronoi overlays; ad hoc networks; Computational geometry; Distributed algorithms; file organisation;}, doi={10.1109/icpads.2004.1316137}, issn={1521-9097},} @INPROCEEDINGS is the format type. The first argument that follows is the one that you refer to in the text.Label. For example,/cite{8} in the text. Other formats include: @ARTICLE   @book
Finally, note that the bib file, the BST file, and your own paper are to be in a folder directory or to give a clear path to the bib file no need and the article in a folder, tell the path on the line, for example

\bibliography{e:/xxx/bib_name}. (Thanks to Zhao Huanhua's supplement)
Re-recommend Zhao Huanhua a blog post, very good hope to be able to write for everyone to help. http://bbs.sciencenet.cn/home.php?mod=space&uid=117412&do=blog&id=288385 find a clear description of a URL http. www.csse.monash.edu.au/documents/bibtex/


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.