Changes

Jump to navigation Jump to search
m
<\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]
<\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).
* Then, we have to give place to what is called 'backmatter', say the the space where the bibliographic references given in the text will be printed, either in the body of the text or, as in our example, as footnotes. In this way, at the end of the document, all the references used from the buffer are summarised. Personally, I find the buffer method simple and easy, but much less powerful and convenient than the method of feeding a bibliographic file, constructed in the form *.bib, using software such as JabRef. ConTeXt will fetch the references from this file as and when they are called up using the \cite command, instead of having to copy each reference into the buffer.
Below a sample using a buffer.method :
<texcode>
\stopbuffer
<\texcode>
 
<texcode>
\usebtxdataset[philosophie ancienne][biblio.buffer]
 
\usebtxdefinitions[apa]
 
\definebtxrendering[philosophie ancienne][apa][dataset=philosophie ancienne]
\setupbtxrendering[continue =yes]
<\setupbtxrendering[continue =yes]texcode>
\starttext
 
\startchapter[title={An Introduction To Philosophy}]
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>
\stopchapter
 
\starttext
 
\startbackmatter
\startchapter[title={Bibliographie}]
\startsection[title={Philosophie ancienne}]
\startchapter[title={Bibliographie}]  \startsection[title={Philosophie ancienne}]  \placelistofpublications[philosophie ancienne][method=local]  \stopsection  \stopchapter 
\stopbackmatter
48

edits

Navigation menu