Uso de BibTeX na Wiki

De MediaWiki do Campus São José
Revisão de 10h50min de 17 de setembro de 2007 por Moecke (discussão | contribs)
Ir para navegação Ir para pesquisar

Informações Bibliograficas em arquivos BibTeX

BibTeX é um formato de arquivo tipo texto, para organização de listagens de bibliografia, tais como artigos, livros, teses. Os arquivos de bibliografia na Wiki devem começar com <bibtex> e terminar com </bibtex>.

Cada entrada bibliografica pode conter um subconjunto das seguintes tipos:

  • address: Publisher's address (usually just the city, but can be the full address for lesser-known publishers)
  • annote: An annotation for annotated bibliography styles (not typical)
  • author: The name(s) of the author(s) (in the case of more than one author, separated by and)
  • booktitle: The title of the book, if only part of it is being cited
  • chapter: The chapter number
  • crossref: The key of the cross-referenced entry
  • edition: The edition of a book, long form (such as "first" or "second")
  • editor: The name(s) of the editor(s)
  • eprint: A specification of an electronic publication, often a preprint or a technical report
  • howpublished: How it was published, if the publishing method is nonstandard
  • institution: The institution that was involved in the publishing, but not necessarily the publisher
  • journal: The journal or magazine the work was published in
  • key: A hidden field used for specifying or overriding the alphabetical order of entries (when the "author" and "editor" fields are missing). Note that this is very different from the key (mentioned just after this list) that is used to cite or cross-reference the entry.
  • month: The month of publication (or, if unpublished, the month of creation)
  • note: Miscellaneous extra information
  • number: The "number" of a journal, magazine, or tech-report, if applicable. (Most publications have a "volume", but no "number" field.)
  • organization: The conference sponsor
  • pages: Page numbers, separated either by commas or double-hyphens
  • publisher: The publisher's name
  • school: The school where the thesis was written
  • series: The series of books the book was published in (e.g. "The Hardy Boys")
  • title: The title of the work
  • type: The type of tech-report, for example, "Research Note"
  • url: The WWW address
  • volume: The volume of a journal or multi-volume book
  • year: The year of publication (or, if unpublished, the year of creation)

In addition, each entry contains a key that is used to cite or cross-reference the entry. This key is the first item in a BibTeX entry, and is not part of any field.

Tipos de bibliografias

Bibliography entries included in a <bibtex> ... </bibtex> are split by types. The following types are understood by virtually all BibTeX styles:

article
An article from a journal or magazine.
Required fields: author, title, journal, year
Optional fields: volume, number, pages, month, note, key
book
A book with an explicit publisher.
Required fields: author/editor, title, publisher, year
Optional fields: volume, series, address, edition, month, note, key
booklet
A work that is printed and bound, but without a named publisher or sponsoring institution.
Required fields: title
Optional fields: author, howpublished, address, month, year, note, key
conference
The same as inproceedings, included for Scribe (markup language) compatibility.
Required fields: author, title, booktitle, year
Optional fields: editor, pages, organization, publisher, address, month, note, key
inbook
A part of a book, which may be a chapter (or section or whatever) and/or a range of pages.
Required fields: author/editor, title, chapter/pages, publisher, year
Optional fields: volume, series, address, edition, month, note, key
incollection
A part of a book having its own title.
Required fields: author, title, booktitle, year
Optional fields: editor, pages, organization, publisher, address, month, note, key
inproceedings
An article in a conference proceedings.
Required fields: author, title, booktitle, year
Optional fields: editor, pages, organization, publisher, address, month, note, key
manual
Technical documentation.
Required fields: title
Optional fields: author, organization, address, edition, month, year, note, key
mastersthesis
A Master's thesis.
Required fields: author, title, school, year
Optional fields: address, month, note, key
misc
For use when nothing else fits.
Required fields: none
Optional fields: author, title, howpublished, month, year, note, key
phdthesis
A Ph.D. thesis.
Required fields: author, title, school, year
Optional fields: address, month, note, key
proceedings
The proceedings of a conference.
Required fields: title, year
Optional fields: editor, publisher, organization, address, month, note, key
techreport
A report published by a school or other institution, usually numbered within a series.
Required fields: author, title, institution, year
Optional fields: type, number, address, month, note, key
unpublished
A document having an author and title, but not formally published.
Required fields: author, title, note
Optional fields: month, year, key

Exemplo de uso

Veja o exemplo de uso (retirado de uma base de dados BibTeX)

<bibtex>
 @article{lin1973,
    author = "Shen Lin and Brian W. Kernighan",
    title = "An Effective Heuristic Algorithm for the Travelling-Salesman Problem",
    journal = "Operations Research",
    volume = 21,
    year = 1973,
    pages = "498-516"
 }
 </bibtex>

Este exemplo será transformado através da Wiki no estilo abaixo:

<bibtex> @article{lin1973,

   author = "Shen Lin and Brian W. Kernighan",
   title = "An Effective Heuristic Algorithm for the Travelling-Salesman Problem",
   journal = "Operations Research",
   volume = 21,
   year = 1973,
   pages = "498-516"
}
</bibtex>

No lugar de aspas duplas pode-se usar também chaves {}.

<bibtex> 
@article{lin1973,
    author = {Shen Lin and Brian W. Kernighan},
    title = {An Effective Heuristic Algorithm for the Travelling-Salesman Problem},
    journal = {Operations Research},
    volume = 21,
    year = 1973,
    pages = "498-516"
 }
 </bibtex>