ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Antoine Cailliau <antoinecailliau@gmail.com>
To: Alan Braslau <alan.braslau@cea.fr>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Using key as numbering in \placepublications
Date: Mon, 23 Jan 2017 11:06:46 +0100	[thread overview]
Message-ID: <CAKX8Tc49x7vAtzuG=rksqvkBbh-SQnPE7-WGzh3BGudZVw+r5g@mail.gmail.com> (raw)
In-Reply-To: <20170119081912.5b6dab4b@zoo.hsd1.co.comcast.net>


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

Thank you very much. I was using the (old) bibtex module. Using the mkvi
publication mechanism was the key.

Antoine

On 19 January 2017 at 16:19, Alan Braslau <alan.braslau@cea.fr> wrote:

> On Thu, 19 Jan 2017 08:19:03 +0100
> Antoine Cailliau <antoinecailliau@gmail.com> wrote:
>
> > How can I adjust the publication list to display [Kup03a] instead of
> > [2] ? The numbering option does not offer "key" apparently.
>
> Using the mkiv publications mechanism, you can get short \cite keys
> by default using
>
> \setupbtx[alternative=short]
>
> Individually, you can use \cite[short][yourkey]
>
>
> Then you will also have to modify the bibliography list rendering to
> display the short key. This is slightly more complicated, as presently
> only the APA and APS styles have been predefined, the first being an
> "authoryear" scheme and the second being a "num" scheme.
>
> Starting with the APS style:
>
> \usebtxdefinitions[aps]
>
> \definebtxrendering
>   [mystyle]
>   [aps] % inherits from "aps"
>   [sorttype=short,
>    numbering=short]
>
>
> \cite[...]
>
> ...
>
> \placelistofpublications[mystyle]
>
>
> However, you really want to define a complete style for your rendering.
>
> Alan
>

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

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2017-01-23 10:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-16 10:04 Antoine Cailliau
2017-01-19  7:19 ` Antoine Cailliau
2017-01-19 15:19   ` Alan Braslau
2017-01-23 10:06     ` Antoine Cailliau [this message]

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='CAKX8Tc49x7vAtzuG=rksqvkBbh-SQnPE7-WGzh3BGudZVw+r5g@mail.gmail.com' \
    --to=antoinecailliau@gmail.com \
    --cc=alan.braslau@cea.fr \
    --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).