Difference between revisions of "Bibliography mkii"

From Wiki
Jump to navigation Jump to search
(Example added)
Line 12: Line 12:
  
 
== Example ==
 
== Example ==
Can someone give a '''complete working example''' on how to use it with bibtex
+
 
 +
Save this bit of code as bibdemo.tex:
 +
<texcode>
 +
\usemodule[bib]
 +
\setupbibtex[database=xampl]
 +
\starttext
 +
As \cite[article-full]\ already indicated, bibtex is a \LaTeX-centric program.
 +
\completepublications
 +
\stoptext
 +
</texcode>
 +
 
 +
Then run the following three commands:
 +
 
 +
<pre>
 +
texexec --once bibdemo
 +
bibtex bibdemo
 +
texexec bibdemo
 +
 
 +
</pre>

Revision as of 10:18, 29 July 2005

< 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

Save 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 run the following three commands:

texexec --once bibdemo
bibtex bibdemo
texexec bibdemo