ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan BRASLAU <alan.braslau@cea.fr>
To: "Procházka Lukáš Ing. - Pontex s. r. o." <LPr@pontex.cz>
Cc: ConTeXt <ntg-context@ntg.nl>
Subject: Re: Bibliography (bug compiling "components-001.tex"?) (now with sample files)
Date: Sat, 11 Jul 2015 15:50:13 +0200	[thread overview]
Message-ID: <20150711155013.41bea0ee@iram-hb-003386.extra.cea.fr> (raw)
In-Reply-To: <op.x1jwm3grtpjj8f@lpr>

On Fri, 10 Jul 2015 11:29:17 +0200
Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz> wrote:

> 3) I would like to alter citation style from "[1]" to "MA2004"; I
> guess this could be done by "\setuppublications[refcommand=author]"...

MKIV:

\cite[short][bibtexkey]

or, to make this the default cite style:

\setupbtx[alternative=short]

which should give "MA04" (the short style is first two initials of the
author name or the first initials of multiple author names followed by
a two digit year)

You can modify the style using

\setupbtx[default:cite:short][left=,right=]

to get rid of the brackets.

> 4) Finally, in list of publications, I'd rather enumerate
> publications in "[1]" style rather than simple "1", i.e. enclose the
> publication number into [].

Similarly,

\setupbtx[default:list:numbering][left={[},right={]}]

to add brackets to the list.


Alan
___________________________________________________________________________________
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-07-11 13:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-01  8:35 Bibliography Procházka Lukáš Ing. - Pontex s. r. o.
2015-07-08 14:06 ` Bibliography (bug compiling "components-001.tex"?) Procházka Lukáš Ing. - Pontex s. r. o.
2015-07-08 18:53   ` Hans Hagen
2015-07-08 20:21     ` Lukáš Procházka
2015-07-09 18:30       ` Alan BRASLAU
2015-07-10  6:47         ` Bibliography (bug compiling "components-001.tex"?) (now with sample files) Procházka Lukáš Ing. - Pontex s. r. o.
2015-07-10  8:29           ` Alan BRASLAU
2015-07-10  9:29             ` Procházka Lukáš Ing. - Pontex s. r. o.
2015-07-11 13:50               ` Alan BRASLAU [this message]
2015-07-11 20:42                 ` Bibliography - biblio error with the latest beta Lukáš Procházka
2015-07-12 12:27                   ` Alan BRASLAU

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=20150711155013.41bea0ee@iram-hb-003386.extra.cea.fr \
    --to=alan.braslau@cea.fr \
    --cc=LPr@pontex.cz \
    --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).