[NTG-context] missing reference of items

Alan BRASLAU alan.braslau at cea.fr
Sat Dec 5 00:03:49 CET 2015


Or you can use the bibliography module to manage a bibliographic
dataset. The rendering of the list is rather configurable. This appears
to be a bit more complicated than manually using itemgroups or
descriptions, but really isn't if one has few categories of references,
say only books, as one need not create a complete custom specification.

Alan

On Fri, 4 Dec 2015 18:23:07 +0100
Wolfgang Schuster <schuster.wolfgang at gmail.com> wrote:

> > Henning Hraban Ramm <mailto:texml at fiee.net>
> > 4. Dezember 2015 um 16:34
> >
> > The same seems to be true for \at and \about.
> > Then how must I setup my "cite" to get the reference label of an
> > item?
> >
> > In my "manual bibliography" (as in 
> > http://wiki.contextgarden.net/Manual_Bibliography), I have
> >
> > \definereferenceformat[cite][left={[},right={]},command=\at]
> > \startbibitem[Ramm 2015]
> > Ramm, Hraban: The Unsolved Question. Bishkek 2015.
> > \stopbibitem
> >
> > And in my text I want to use \cite[Ramm 2015] to get a link to the 
> > entry shown as [Ramm 2015].
> You can choose between a itemgroup where you have numbered entries:
> 
> \defineitemgroup[bibliography]
> 
> \setupitemgroup[bibliography][each][n][left={[},right={]},stopper=]
> 
> \definereferenceformat [bibnumber] [type=number,left={[},right={]}]
> \definereferenceformat [bibpage]   [type=page]
> 
> \starttext
> 
> \startitemgroup[bibliography]
>      \startitem[Ramm 2015]
>      Ramm, Hraban: The Unsolved Question. Bishkek 2015.
>      \stopitem
> \stopitemgroup
> 
> See \bibnumber[Ramm 2015] at page \bibpage[Ramm 2015].
> 
> \stoptext
> 
> 
> or you use descriptions:
> 
> \definedescription[bibitem][title=yes]
> 
> \definereferenceformat [bibtitle]  [type=title,left={[},right={]}]
> \definereferenceformat [bibpage]   [type=page]
> 
> \starttext
> 
> \startbibitem[reference=Ramm 2015,title=Ramm 2015]
> Ramm, Hraban: The Unsolved Question. Bishkek 2015.
> \stopbibitem
> 
> See \bibtitle[Ramm 2015] at page \bibpage[Ramm 2015].
> 
> \stoptext
> 
> Wolfgang



-- 
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS UMR 3680
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: +33 1 69 08 73 15
fax: +33 1 69 08 87 86
mailto:alan.braslau at cea.fr


More information about the ntg-context mailing list