BibTeX, biblatex and biber ⇒ a list of citations
a list of citations
Hello,
in my thesis i am referencing a list of publications in the following form:
...blablabla ~\cite{item1,item2,item3,item4} blablabla....
this line apear in the text like this:
...blablabla [1,2,3,4] blablabla...
what should i do to have a citations list like this:
...blablabla [1-4] blablabla...
thank in forward
kzg
in my thesis i am referencing a list of publications in the following form:
...blablabla ~\cite{item1,item2,item3,item4} blablabla....
this line apear in the text like this:
...blablabla [1,2,3,4] blablabla...
what should i do to have a citations list like this:
...blablabla [1-4] blablabla...
thank in forward
kzg
Last edited by kzg on Mon Oct 25, 2010 12:11 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

a list of citations
Without further useful information, it's hard to provide the exact solution; if you are not loading natbib, then you could use the cite package; if you are using natbib it's enough to load it with the sort&compress
option.
option.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: a list of citations
i am using bibtex and LEd for editting.
can you please show how can i use this 'compress' option?
thx
can you please show how can i use this 'compress' option?
thx
Re: a list of citations
i have also included
\usepackage{citeref}
compressing should be set per defaulf, but somehow it does not compress my citations
\usepackage{citeref}
compressing should be set per defaulf, but somehow it does not compress my citations

a list of citations
We'll need a minimal working example showing the packages and settings relevant to the creation of the bibliography.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
a list of citations
here the code:
Code: Select all
Code, edit and compile here:
\documentclass[12pt, a4paper, oneside]{memoir}\usepackage[OT4]{fontenc}\usepackage[cp1250]{inputenc}\usepackage{citeref}\begin{document}blablabla\cite{item1, item2, item3, item4}blablabla\bibliographystyle{unsrt}\small\bibliography{PhD}\end{document}
a list of citations
Reading the documentation for citeref, I noticed that the only purpose of this package is to add reference-page-list to bibliography-items and not to compress the lists of citations. To compress this list, you need to load some other package (like cite); however, loading the cite package in your example code produces compilation errors.
An alternative would be to use the backref package instead of the citeref package (to add the reference-page-list to the bibliography) together with the cite package to sort and compress the list of citations:
An alternative would be to use the backref package instead of the citeref package (to add the reference-page-list to the bibliography) together with the cite package to sort and compress the list of citations:
Code: Select all
Code, edit and compile here:
\documentclass[12pt, a4paper, oneside]{memoir}\usepackage[OT4]{fontenc}\usepackage[cp1250]{inputenc}\usepackage{cite}\usepackage{hyperref}\usepackage[pageref]{backref}\begin{document}blablabla\cite{item1,item2,item2,item4}blablabla\bibliographystyle{unsrt}\small\bibliography{PhD}\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: a list of citations
it does not work at all for me.
I have included the natbib package and solved the problem.
Thx
I have included the natbib package and solved the problem.
Thx