ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jaroslav Hajtmar <hajtmar@gyza.cz>
To: ntg-context@ntg.nl
Subject: Re: Multiple citations at one position
Date: Sat, 22 May 2010 04:58:17 +0200	[thread overview]
Message-ID: <4BF74849.10607@gyza.cz> (raw)
In-Reply-To: <201005211628.49763.warrence.stm@gmx.de>

When you put command \cite[ref1,ref2,ref3] % without spaces!!!
then you get regular restult.

Jaroslav

Here is my minimal example:

\usemodule[bib]
\setupbibtex[database={test.bib}, sort=author]
\setuppublications[alternative=ams]

\starttext
\section{Section}
\cite[ref1,ref2,ref3] % without spaces!!! With spaces i.e. \cite[ref1, 
ref2, ref3] get wrong result

\completepublications[criterium=all]
%\placepublications % too for MKIV compilation
\stoptext





Dne 21.5.2010 16:28, Stefan Müller napsal(a):
> Thank you for the fast responses.
>
>    
>> Did you try "\cite[ref1,ref3,... ref9]" ?
>>      
> Yes, I did try this, but instead of "[1,2,3]" or "[1-3]" I just got "[1]".
>
>    
>> Yes, it is OK. I am using in MKIV for multiple citation
>> \cite[ref1,ref3,... ref9]
>> Last delimiter is setting due commands \setupcite, for example
>> default setting (for num style) is \setupcite[num][lastpubsep={ and }]
>> I am using \setupcite[num][lastpubsep={,\,}] ...
>>
>> More informations about using bib module (\usemodule[bib]
>> \usemodule[bibltx]) is in Taco's document on:
>> http://www.tug.org/texlive/Contents/live/texmf-dist/doc/context/bib/bibmod-
>> doc.pdf
>>
>> Jaroslav
>>      
> I tried what you suggested, but without success. I'm using MkIV. My test case
> is:
>
> "\usemodule[bib]
> \setupbibtex[database={test.bib}, sort=author]
> \setuppublications[alternative=ams]
> \setupcite[num][lastpubsep={,\,}]
>
> \starttext
> \section{Section}
> \cite[ref1, ref2, ref3]
> \completepublications
> \stoptext"
>
> With this example tex-file I only get "[1]". Strangely: If I remove either the
> \section or the \completepublications command I get "[]"...
>
> Any ideas what causes this?
>
> Stefan
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
>    

___________________________________________________________________________________
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:[~2010-05-22  2:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1130.1274343290.4277.ntg-context@ntg.nl>
2010-05-21 14:28 ` Stefan Müller
2010-05-21 15:13   ` Aditya Mahajan
2010-05-22  2:58   ` Jaroslav Hajtmar [this message]
     [not found] <mailman.1.1274522402.28008.ntg-context@ntg.nl>
2010-05-25  7:28 ` Stefan Müller
2010-05-25  7:29   ` Taco Hoekwater
     [not found] <mailman.1125.1274294564.4277.ntg-context@ntg.nl>
2010-05-19 20:01 ` Stefan Müller
2010-05-19 20:39   ` Hans Hagen
2010-05-19 21:14     ` Aditya Mahajan
2010-05-19 21:54       ` Hans Hagen
2010-05-19 21:35   ` Jean Magnan de Bornier
2010-05-20  5:52     ` Jaroslav Hajtmar

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=4BF74849.10607@gyza.cz \
    --to=hajtmar@gyza.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).