Take the 2-minute tour ×
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.

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

\pagestyle{empty}‎
{
‎\onehalfspacing‎
‎\bibliographystyle{unsrt-fa}
‎\bibliography{MyReferences}‎
}

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 has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

4  
You have an accept rate of 0%. That is very low. Please visit your questions and upvote helpful answers and accept the most helpful answer for you. –  Kurt Dec 12 '12 at 19:30
    
You can use the cite package. –  Guido Dec 12 '12 at 20:03
add comment

1 Answer

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
add comment

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