Difference between revisions of "Simple Bibliography"

From ConTeXt wiki
Line 11: Line 11:
 
==Referencing==
 
==Referencing==
  
For referencing simplebib is using the crossref module. For the lazy ones it provides <code>\bibtex</code> what is nothing else than a <code>\crossred</code> with <code>type=external</code> preset.
+
For referencing simplebib is using the [[Cross Referencing|crossref]] module. For the lazy ones it provides <code>\bibtex</code> what is nothing else than a <code>\crossref</code> with <code>type=external</code> preset.
 +
 
 +
So in following example both blocks do the same:
 +
 
 +
<texcode>
 +
\bibref[ref1]
 +
\bibref[detail={p. 38}][ref1]
 +
 
 +
\crossref[type=external][ref1]
 +
\crossref[type=external,detail={p. 38}][ref1]
 +
</texcode>
 +
 
 +
Here a simple usage example:
 +
 
 +
<texcode>
 +
 
 +
 
 +
</texcode>
  
 
==Settings==
 
==Settings==
 +
 +
[itemspace=12]
 +
 +
 +
<texcode>
 +
\setupsimplebibtext[listBracketOpen={[}]
 +
\setupsimplebibtext[listBracketClose={]}]
 +
 +
\setupsimplebibtext[en][editor={ed.}]
 +
\setupsimplebibtext[en][number={number}]
 +
\setupsimplebibtext[en][fromSeries={from series}]
 +
\setupsimplebibtext[en][volumne={volumne}]
 +
\setupsimplebibtext[en][magazine={magazine}]
 +
\setupsimplebibtext[en][edition={edition}]
 +
\setupsimplebibtext[en][revedition={reviewed edition}]
 +
\setupsimplebibtext[en][datedition={edition from}]
 +
\setupsimplebibtext[en][isbn={ISBN}]
 +
\setupsimplebibtext[en][pages={p.}]
 +
\setupsimplebibtext[en][access={last access}]
 +
\setupsimplebibtext[en][in={in}]
 +
 +
\setupsimplebibtext[de][editor={Hrsg.}]
 +
\setupsimplebibtext[de][number={Nummer}]
 +
\setupsimplebibtext[de][fromSeries={aus der Reihe}]
 +
\setupsimplebibtext[de][volumne={Band}]
 +
\setupsimplebibtext[de][magazine={Heft}]
 +
\setupsimplebibtext[de][edition={Auflage}]
 +
\setupsimplebibtext[de][revedition={überarbeitete Auflage}]
 +
\setupsimplebibtext[de][datedition={Auflage vom}]
 +
\setupsimplebibtext[de][isbn={ISBN}]
 +
\setupsimplebibtext[de][pages={S.}]
 +
\setupsimplebibtext[de][access={letzter Zugriff}]
 +
\setupsimplebibtext[de][in={in}]
 +
</texcode>

Revision as of 10:10, 2 November 2012

Page in progress...

Sometimes the bibliography needs to be more flexible in the bibliographic item description. For this case exists the module simplebib.

But this bibliography module is more flexible than the "classic" bibliography module with its bibtex database.

Items

The bibliography can be listed in one block or distributed over several block in the document (e.g. at the end of every chapter).

Referencing

For referencing simplebib is using the crossref module. For the lazy ones it provides \bibtex what is nothing else than a \crossref with type=external preset.

So in following example both blocks do the same:

\bibref[ref1]
\bibref[detail={p. 38}][ref1]

\crossref[type=external][ref1]
\crossref[type=external,detail={p. 38}][ref1]

Here a simple usage example:



Settings

[itemspace=12]


\setupsimplebibtext[listBracketOpen={[}]
\setupsimplebibtext[listBracketClose={]}]

\setupsimplebibtext[en][editor={ed.}]
\setupsimplebibtext[en][number={number}]
\setupsimplebibtext[en][fromSeries={from series}]
\setupsimplebibtext[en][volumne={volumne}]
\setupsimplebibtext[en][magazine={magazine}]
\setupsimplebibtext[en][edition={edition}]
\setupsimplebibtext[en][revedition={reviewed edition}]
\setupsimplebibtext[en][datedition={edition from}]
\setupsimplebibtext[en][isbn={ISBN}]
\setupsimplebibtext[en][pages={p.}]
\setupsimplebibtext[en][access={last access}]
\setupsimplebibtext[en][in={in}]

\setupsimplebibtext[de][editor={Hrsg.}]
\setupsimplebibtext[de][number={Nummer}]
\setupsimplebibtext[de][fromSeries={aus der Reihe}]
\setupsimplebibtext[de][volumne={Band}]
\setupsimplebibtext[de][magazine={Heft}]
\setupsimplebibtext[de][edition={Auflage}]
\setupsimplebibtext[de][revedition={überarbeitete Auflage}]
\setupsimplebibtext[de][datedition={Auflage vom}]
\setupsimplebibtext[de][isbn={ISBN}]
\setupsimplebibtext[de][pages={S.}]
\setupsimplebibtext[de][access={letzter Zugriff}]
\setupsimplebibtext[de][in={in}]