BibTeX, biblatex and biber ⇒ a list of citations
a list of citations
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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
a list of citations
option.
Re: a list of citations
can you please show how can i use this 'compress' option?
thx
Re: a list of citations
\usepackage{citeref}
compressing should be set per defaulf, but somehow it does not compress my citations

a list of citations
a list of citations
Code: Select all
\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
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
\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}
Re: a list of citations
I have included the natbib package and solved the problem.
Thx