Bibliography mkii

From Wiki
Revision as of 10:20, 29 July 2005 by Taco (talk | contribs) (Bibtex example)
Jump to navigation Jump to search

< Modules

The bib module provides the \cite and \placepublications commands, in addition to some setup commands, for collecting and referencing bibliography. Single references can be supplied by special commands, or by using BibTeX databases.

As of Context 2005.01.13, this module is part of the standard distribution.

The manual can be downloaded from [Taco's Page]

Example of use with bibtex

Bibtex support is not integrated in texexec (yet), so you have to run bibtex by hand.

Assuming you have saved this bit of code as bibdemo.tex:

\usemodule[bib]
\setupbibtex[database=xampl]
\starttext
As \cite[article-full]\ already indicated, bibtex is a \LaTeX-centric program.
\completepublications
\stoptext

Then you have to run the following three commands:

texexec --once bibdemo
bibtex bibdemo
texexec bibdemo

To get the typeset result. (xampl.bib comes with the bibtex distribution, it should be on your harddisk somewhere already)