ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: missing reference of items
Date: Fri, 04 Dec 2015 18:23:07 +0100	[thread overview]
Message-ID: <5661CBFB.30203@gmail.com> (raw)
In-Reply-To: <FFBA75FE-AA1D-46CC-B018-3B8D8CCBE478@fiee.net>


[-- Attachment #1.1: Type: text/plain, Size: 1454 bytes --]

> Henning Hraban Ramm <mailto:texml@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

[-- Attachment #1.2: Type: text/html, Size: 2771 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2015-12-04 17:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-04 11:57 Henning Hraban Ramm
2015-12-04 13:58 ` Wolfgang Schuster
2015-12-04 15:34   ` Henning Hraban Ramm
2015-12-04 17:23     ` Wolfgang Schuster [this message]
2015-12-04 23:03       ` Alan BRASLAU
2015-12-05 12:22         ` Henning Hraban Ramm
2015-12-05 12:20       ` Henning Hraban Ramm
2015-12-05 14:22         ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5661CBFB.30203@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).