1\startcomponent macbenbibliography
2
3\enablemode[**enus]
4
5\project macb
6
7\startchapter[title=Bibliography]
8
9\index{bibliography}
10\index{\BIBTEX}
11
12\Command{\tex{setuppublications}}
13\Command{\tex{placepublications}}
14\Command{\tex{setupbibtex}}
15
16\CONTEXT\ support the \BIBTEX\ way of managing article and book references. The data
17is stored in a \type{.bib} file. A data entry in a \BIBTEX\ data file could be:
18
19\startbuffer
20@INBOOK{book01,
21 author = "Jonker, J.",
22 title = "From Hasselt to America",
23 publisher = "Bookplan Publishers",
24 year = "2012",
25 chapter = "1.2",
26}
27\stopbuffer
28
29\typebuffer
30
31After loading the database with \type{\setupbibtex[database=hasseltbook]} the following
32command is available:
33
34\setupbibtex[database={hasseltbook},sort=author]
35\setuppublications[refcommand=authoryear]
36
37\startbuffer
38Please refer to \cite[book01] for more information on famous people
39that were born in Hasselt.
40\stopbuffer
41
42\typebuffer
43
44Which would produce:
45
46\getbuffer
47
48In an appendix you can place the complete book list with:
49
50\startbuffer
51\placepublications[criterium=text]
52\stopbuffer
53
54\typebuffer
55
56At this moment (2013 2014) the bibliography mechanism is being completely
57overhauled, so please visit the \goto {\CONTEXTWIKI} [ url
58(http:wiki.contextgarden.net) ] and the \goto {Pragma ADE website} [ url
59(http:www.pragmaade.comoverview.htm) ] regularly for information.
60
61\stopchapter
62
63\stopcomponent
64 |