ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Csikos Bela <bcsikos425@freemail.hu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: alternative numerical \cite command
Date: Mon, 4 May 2015 17:54:31 +0200 (CEST)	[thread overview]
Message-ID: <freemail.20150504175431.60180.1@fmxmldata02.freemail.hu> (raw)
In-Reply-To: <20150504155127.1962ec04@iram-ha-003840.extra.cea.fr>

Alan BRASLAU írta:
>On Mon, 4 May 2015 15:10:06 +0200
>Csikos Bela wrote:
>
>> These citation styles are predefined in context.
>> 
>> What I would like to do is inserting alternative numerical citations:
>> normal superscript citations, like this^1, and occasionally inline
>> citations in brackets, like this one [2]. How could I define
>> alternative numerical citation style, e.g. \cite[inum][key] on the
>> analogy of author, authoryear etc. styles?
>
>mkiv-bibliographies (not the mkii publications module).
>
>The citation styles can be tuned through parameters, i.e.
>
>\setupbtx
>  [cite:numbering:num]
>  [left=,
>   right=,
>   command={\high}]
>
>but in the latest beta, this way of switching to superscript citations
>is currently broken, I noticed, (and will be fixed).

My context version is:
ConTeXt  ver: 2014.01.03 00:40 MKIV current  fmt: 2015.4.1  int: english/english

I could set up superscript citation for numerical citation based on contextgarden
bibliography page example.

>Let me understand, though.
>Do you want to mix\high{1} citations with [1] citations?
>That would be rather strange, stylistically.

Yes, but in tables I don't want to put superscript citations.

>There is a predefined second num cite variant \cite[textnum][tag]. It's
>use is intended to produce something like ref. 1, to be used
>syntactically in a sentence, in conjunction with standard num
>references. [1] This is just num setup with [left={ref.\nbsp},right=].

I guess this command would fit my needs after some editing.
Unfortunately my context version doesn't have this command.

Using \cite[textnum][tag] simply outputs "[tag]".

Either I should update my context to newer (beta?), which I don't know how to do,
or define the command in the document. I'd prefer the latter one, if feasible.

Thanks,

bcsikos
___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2015-05-04 15:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-04 13:10 Csikos Bela
2015-05-04 13:51 ` Alan BRASLAU
2015-05-04 14:02   ` Otared Kavian
     [not found]     ` <CALBOmsYOyx9ckrrYovn-OJHXqwrBzL4gozV10rgvyuaietT4EQ@mail.gmail.com>
2015-05-04 17:03       ` Otared Kavian
2015-05-04 18:26         ` Thomas A. Schmitz
2015-05-04 15:54   ` Csikos Bela [this message]
2015-05-04 16:14     ` Alan BRASLAU
2015-05-04 16:22       ` Thomas A. Schmitz
2015-05-05 10:52       ` Csikos Bela
2015-05-05 11:32         ` Alan BRASLAU
2015-05-05 16:19           ` Csikos Bela

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=freemail.20150504175431.60180.1@fmxmldata02.freemail.hu \
    --to=bcsikos425@freemail.hu \
    --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).