[NTG-context] missing reference of items

Wolfgang Schuster schuster.wolfgang at gmail.com
Fri Dec 4 18:23:07 CET 2015


> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20151204/4ba5f56a/attachment.html>


More information about the ntg-context mailing list