[comp.text.tex] how to redefine \cite

oliveria@caen.engin.umich.edu (ROQUE DONIZETE DE OLIVEIRA) (04/19/91)

Does anyone know what changes need to be made to the \cite
command (or \@citex or \@cite) so that using
                               \cite{ref1,ref2,ref3,ref4,ref5}
in a latex document would produce [1-5] instead of the usual [1,2,3,4,5] ?

Thanks.
   
   Roque Oliveira
   oliveria@caen.engin.umich.edu

dhosek@euler.claremont.edu (Don Hosek) (05/14/91)

In article <1991Apr18.232019.22783@engin.umich.edu>, oliveria@caen.engin.umich.edu (ROQUE DONIZETE DE OLIVEIRA) writes:
> Does anyone know what changes need to be made to the \cite
> command (or \@citex or \@cite) so that using
>                                \cite{ref1,ref2,ref3,ref4,ref5}
> in a latex document would produce [1-5] instead of the usual [1,2,3,4,5] ?

Look at [anonymous.tex.inputs.latex-contrib]rangecite.sty on
ymir.claremont.edu 

-dh

-- 
Don Hosek                  | To retrieve files from ymir via the mailserver,
dhosek@ymir.claremont.edu  | send a message to mailserv@ymir.claremont.edu 
Quixote Digital Typography | with a line saying send [DIRECTORY]FILENAME
714-625-0147               | where DIRECTORY is the FTP directory (sans 
---------------------------+ "anonymous") and FILENAME is the filename, e.g. 
"send [tex]00readme.txt". There is a list of files in each directory under the 
name 00files.txt. Binary files are not available by this technique.