Changes

Jump to navigation Jump to search
m
→‎Before using any database: the buffer method: modification of 'Cicéron' into 'Cicero'
<texcode>
{{cmd|\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},
Translator = {Pierre Pellegrin}
}
{{cmd |\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]
{{cmd|\usebtxdataset}}usebtxdefinitions[ancient philosophy][biblio.bufferapa]
{{cmd|\usebtxdefinitions}}definebtxrendering[ancient philosophy][apa][dataset=ancient philosophy]
{{cmd|\definebtxrendering}}setupbtxrendering[ancient philosophy][apa][datasetcontinue =ancient philosophyyes]
{{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).
<texcode>
 {{cmd|\startbuffer}}[biblio]
@Book{cicero-tuscu2011,
Translator = {Pierre Pellegrin}
}
{{cmd|\stopbuffer}}
<\/texcode>
<texcode>
{{cmd|\usebtxdataset}}[philosophie ancienne][biblio.buffer]{{cmd|\usebtxdefinitions}}[apa]{{cmd|\definebtxrendering}}[philosophie ancienne][apa][dataset=philosophie ancienne]{{cmd|\setupbtxrendering}}[continue =yes]
<\texcode>setupbtxrendering[continue =yes]
\starttext
{{cmd|\startchapter}}[title={An Introduction To Philosophy}]
In the notes that follow, we will focus on philosophical thought as political philosophy. Aristotle, the Greek philosopher who published and commented on the Constitutions of the ancient Greek cities, begins his work {Politics} with the thesis that {man is a political animal}\footnote{cite[alternative=entry][ancient philosophy::Aristotle2008]}.
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|\startbackmatter}}
{{cmd|\startchapter}}[title={Bibliographie}]
{{cmd|\startsection}}[title={Philosophie ancienne}]
\stopchapter \starttext \startbackmatter \startchapter[title={Bibliographie}] \startsection[title={cmd|Philosophie ancienne}]  \placelistofpublications}}[philosophie ancienne][method=local]{{cmd|\stopsection}}{{cmd|\stopchapter}}{{cmd|\stopbackmatter}}
{{cmd|\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