TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Citing a range of papers (using numeric keys)?

When we are writing a article we should [1, 2, 3, 4, 5] change to [1-5] but show the all refer on reference. How can I do this? In addition, I use a MyReferences.bib file and below code


It is very important that write all refer on reference (at the end of article).

share|improve this question

marked as duplicate by Count Zero, Guido, Werner, barbara beeton, Stefan Kottwitz Dec 12 '12 at 20:51

This question was marked as an exact duplicate of an existing question.

You can use the cite package. – Guido Dec 12 '12 at 20:03

You can use the cite package but you are using a style usrt-fa for XePersian that produce a error (Environment LTRbibitems undefined) when applied to this minimal working example.

But it works perfectly with the original \bibliographystyle{plain} or even with \bibliographystyle{unsrt}.

Probably adding your own MWE (see I've just been asked to write a minimal example, what is that? ) to the question that work in a persian document will help to find a better solution.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.