Changes

Jump to navigation Jump to search
m
→‎Before using any database: the buffer method: modification of 'Cicéron' into 'Cicero'
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>
\startbuffer[biblio]
@Book{cicero-tuscu2011,
author = {CicéronCicero, Marcus Tullius},
editor = {Fohlen, G.},
publisher = {Les Belles Lettres},
translator = {Jules Humbert},
}
</texcode>
<texcode>
@Book{Aristote2008,
Title = {Les Politiques},
}
\stopbuffer
</texcode>
* 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>
\usebtxdataset[ancient philosophy][biblio.buffer]
\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>
\startbuffer[biblio]
Translator = {Pierre Pellegrin}
}
\stopbuffer}}
</texcode>
<texcode>
\usebtxdataset[philosophie ancienne][biblio.buffer]
\setupbtxrendering[continue =yes]
 
 
\starttext
\stoptext
 
</texcode>
=Database Formats=
</texcode>
 
See also : [[Simple_Bibliography]]
[[Manual_Bibliography|Here’s a similar approach]] using {{cmd|defineitemgroup}}.
[[Category:Bibliography]]
48

edits

Navigation menu