Hi all,
does anyone know how to solve the problem of assigning multiple keys to the SAME bibliographical entry (bibtex or not)? With also the chance to decide how to format the reference in the text (such as with \labelformat) and possibly to use different bibliography styles fo the two systems?
Here is the situation: I would like a secondary citation list that allows me to refer to only some of the given bibliographical entries, so that I can reference the same bib entry with two different keys. The primary key is the standard bibliographical entry, while the second is numbered for those entries only that are explicitly cited in the text, thus appearing on those entries only in the bibliography list. Moreover, there should be the chance to format the secondary labels in a different way with respect to the primary ones, both in the bibliography list and inside the text when \cite is used (numeric for one and author-date or custom for the other, say).
Last: is any chance to do the same with intext labelled material (such as equations)?
The problem is probably harder to solve with BibTeX than with explicit \bibitem commands. I did a naive try with \lable and \ref, but it fails when used together with \bibitem. I got no help googleing the net.
I haven't found anything useful even in the (great!) LaTeX Companion book (2nd ed.), since this is different from all chapterbib, bibunit, multibib, etc. packages, as well as from varioref, fancyref, fncylab, etc.
Please find here below a (simplified) example of what I would like.
Thanks a lot for your help.
Jango
%%%%%%%%%%%%%% The hypothetical code %%%%%%%%%%%%%%
\begin{document}
\ldots you can find interesting information on
Gnus and Gnats in \cite{gnus1,gnats2}, while
natural phenomena are described in \cite{tornado3,deepHeartQk}
\ldots
\bigskip
\ldots the attached material includes only a part of the
given papers, labeled in increasing order in the list of
contents: for papers, only \cite{nat2000} and \cite{NG1967}
are available.\ldots
\begin{thebibliography}{9}
\newcommand{\papertitle}[1]{``#1''}
\bibitem{gnus1,nat2000}
A. First, \papertitle{Gnu's revenge}, Nature \textbf{130} (2000).
\bibitem{gnats2,wwf1980}
B. Second, \papertitle{Gnats attack}, WWF Journal \textbf{10} (1980).
\bibitem{tornado3,NG1967}
C. Third, \papertitle{Tornado}, National Geographic \textbf{34} (1967).
\bibitem{deepHeartQk,Ocean2004}
D. Fourth, \papertitle{Deep Earthquakes}, Oceanic \textbf{25} (2004).
\end{thebibliography}
\end{document}
%%%%%%%%%%%%%% The desired result %%%%%%%%%%%%%%
...you can find interesting information on Gnus and Gnats in [1,2],
while natural phenomena are described in [3,4]...
...the attached material includes only a part of the given papers,
labeled in increasing order in the list: for papers, only P1 and P2
are available...
BIBLIOGRAPHY
[1] **P1** A. First, "Gnu's revenge", Nature 130 (2000).
[2] B. Second, "Gnats attack", WWF Journal 10 (1980).
[3] **P2** C. Third, "Tornado", National Geographic 34 (1967).
[4] D. Fourth, "Deep Earthquakes", Oceanic 25 (2004).
General ⇒ Difficult labelling/citation task: multiple labels
NEW: TikZ book now 40% off at Amazon.com for a short time.

Difficult labelling/citation task: multiple labels
Hi jango,
Please inform when you post the same question in another forum[1]. This can prevent duplication of efforts. In the other forum I already gave you a suggestion.
[1]CQF.info
Please inform when you post the same question in another forum[1]. This can prevent duplication of efforts. In the other forum I already gave you a suggestion.
[1]CQF.info
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Difficult labelling/citation task: multiple labels
Hi Jango,
You could try natbib package. It provides \defcitealias command for aliasing citation labels, e.g.
This will produce: aliased textual citation - P1, aliased parenthetical citation - (P1).
Alternatively, you could try biblatex. It uses 'shorthand' field for aliasing. In both cases you would have to modify bibliography style to get your aliased citation labels into the bibliography (this should be easier with biblatex, I suppose, but I lack experience with it to give any more specific advice).
Cheers,
Tomek
You could try natbib package. It provides \defcitealias command for aliasing citation labels, e.g.
Code: Select all
\defcitealias{nat2000}{P1}
aliased textual citation - \citetalias{nat2000}, aliased parenthetical citation - \citepalias{nat2000}.
Alternatively, you could try biblatex. It uses 'shorthand' field for aliasing. In both cases you would have to modify bibliography style to get your aliased citation labels into the bibliography (this should be easier with biblatex, I suppose, but I lack experience with it to give any more specific advice).
Cheers,
Tomek
Re: Difficult labelling/citation task: multiple labels
Thanks Tomek!
This is new to me: I was using the natbib package, but not this interesting feature and I've no any experience with biblatex. I'll surely try this solution soon to see what happen.
To gmedina: thanks for pointing me out the right policy in posting on multiple forums (and thanks for the answers).
Hearing soon
jangone
This is new to me: I was using the natbib package, but not this interesting feature and I've no any experience with biblatex. I'll surely try this solution soon to see what happen.
To gmedina: thanks for pointing me out the right policy in posting on multiple forums (and thanks for the answers).
Hearing soon
jangone