Multiple citations at one position
Hi, I am citing several references at one position in my document and I was wondering if there is a way to get something like "[1, 3, 9 - 11]" instead of "[1] [3] [9] [10] [11]" (what I would get by using "\cite[ref1] \cite[ref3] \cite[ref9] ..."). Unfortunately I can't find some deeper information about \cite or \setupcite. I'd appreciate any suggestions. Thanks in advance, Stefan.
On 19-5-2010 10:01, Stefan Müller wrote:
Hi,
I am citing several references at one position in my document and I was wondering if there is a way to get something like "[1, 3, 9 - 11]" instead of "[1] [3] [9] [10] [11]" (what I would get by using "\cite[ref1] \cite[ref3] \cite[ref9] ..."). Unfortunately I can't find some deeper information about \cite or \setupcite. I'd appreciate any suggestions.
I'm rewriting the bibtex code (which is boring as I have to figure out what it's about, even more as most bib test files are a mess. For the moment it will run alongside the traditional mechanism but the new one will have a compatibility mode at some point; some characteristics: - multiple bibtex sessions and mixed styles in one document - extensive filtering of entries (using the xml subsystem) - a different method to set up the styles (apa etc) - a bit of tracing - access to the full database (or multiple databases) - no more need for the bibtex program - new functionality demanding on user input I got a first version working but as I don't use bibliographies myself it needs a bit of motivation to finish it soon. I'll probably ask others to prepare the other styles but first I need to clean up some rough edges. So, in due time we can do such things but you need a bit of patience. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Wed, 19 May 2010, Hans Hagen wrote:
On 19-5-2010 10:01, Stefan Müller wrote:
Hi,
I am citing several references at one position in my document and I was wondering if there is a way to get something like "[1, 3, 9 - 11]" instead of "[1] [3] [9] [10] [11]" (what I would get by using "\cite[ref1] \cite[ref3] \cite[ref9] ..."). Unfortunately I can't find some deeper information about \cite or \setupcite. I'd appreciate any suggestions.
I'm rewriting the bibtex code (which is boring as I have to figure out what it's about, even more as most bib test files are a mess.
For the moment it will run alongside the traditional mechanism but the new one will have a compatibility mode at some point; some characteristics:
- multiple bibtex sessions and mixed styles in one document - extensive filtering of entries (using the xml subsystem) - a different method to set up the styles (apa etc) - a bit of tracing - access to the full database (or multiple databases) - no more need for the bibtex program - new functionality demanding on user input
I got a first version working but as I don't use bibliographies myself it needs a bit of motivation to finish it soon. I'll probably ask others to prepare the other styles but first I need to clean up some rough edges.
If the internal mechanism is using XML, then CSL can be used for styles. http://citationstyles.org/ (I don't know much about it other than the fact that it exists and is used by Zotero) Aditya
On 19-5-2010 11:14, Aditya Mahajan wrote:
If the internal mechanism is using XML, then CSL can be used for styles. http://citationstyles.org/
(I don't know much about it other than the fact that it exists and is used by Zotero)
i took a quick look at the ieee one and it looks quite dooable (after all, one quickly arrives at somethign with delimiters and separators and conditions and so ... always funny to see xml being used with conditionals (always looks weird) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Le 19 mai à 22:01:25 Stefan Müller
| I am citing several references at one position in my document and I was | wondering if there is a way to get something like "[1, 3, 9 - 11]" instead of | "[1] [3] [9] [10] [11]" (what I would get by using "\cite[ref1] \cite[ref3] | \cite[ref9] ..."). Unfortunately I can't find some deeper information about | \cite or \setupcite. I'd appreciate any suggestions.
| Thanks in advance, | Stefan. Did you try "\cite[ref1,ref3,... ref9]" ? -- Jean
Dne 19.5.2010 23:35, Jean Magnan de Bornier napsal(a):
Le 19 mai à 22:01:25 Stefan Müller
écrit notamment: | Hi,
| I am citing several references at one position in my document and I was | wondering if there is a way to get something like "[1, 3, 9 - 11]" instead of | "[1] [3] [9] [10] [11]" (what I would get by using "\cite[ref1] \cite[ref3] | \cite[ref9] ..."). Unfortunately I can't find some deeper information about | \cite or \setupcite. I'd appreciate any suggestions.
| Thanks in advance, | Stefan.
Did you try "\cite[ref1,ref3,... ref9]" ?
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-d... Jaroslav
participants (5)
-
Aditya Mahajan
-
Hans Hagen
-
Jaroslav Hajtmar
-
Jean Magnan de Bornier
-
Stefan Müller