Changes

Jump to navigation Jump to search
m
Before using a bibliographic database built with tools such as [https://www.jabref.org/ JabRef] or [https://www.zotero.org/ Zotero] (among others), it is possible to use the BibTeX format for bibliographic data by buffering it. With ConTexT MKIV, a relatively simple document of a few pages can be composed with simple commands such as \startbuffer .... \stopbuffer, between which you copy all the bibliographic references to be used in the text like this :
<texcode>
{{cmd|\startbuffer}}[biblio]
* Next, we will write text between the starttext and stoptext tags, before defining how the references will be printed after the body of the text, in the area defined for the table of contents (and possibly the various indexes, index rerum and index nominum). For the simplest texts, the bibliographic references after the \stopbuffer command can, for example, be defined (with our example) as follows:
<texcode>
{{cmd|\usebtxdataset}}[ancient philosophy][biblio.buffer]
{{cmd|\setupbtxrendering}}[continue =yes]
<\texcode>
* As you can see, the memory buffer named 'biblio' will be associated with a database named 'ancient philosophy'; the format will follow the American Psychological Association (APA) model. We are writing a short text on Aristotle and Cicero with two bibliographical references in footnotes (one for each philosopher).
Below a sample using a buffer method :
<texcode>
{{cmd|\startbuffer}}[biblio]
{{cmd|\stopbuffer}}
<\texcode>
<texcode>
{{cmd|\setupbtxrendering}}[continue =yes]
<\texcode>
\starttext
Cicero, the great politician and scholarly writer, had the well-known phrase, \quotation{Socrates brought philosophy down from heaven to earth.}\footnote{\cite[alternative=entry][philosophie ancienne::cicero-tuscu2011]}, which refers to the fundamental question of philosophy's interest in {\it human things}.
<texcode>
{{cmd|\stopchapter}}
{{cmd|\starttext}}
{{cmd|\stoptext}}
<\texcode>
=Database Formats=
48

edits

Navigation menu