Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!diamond!jdm5548 From: jdm5548@diamond.tamu.edu (James Darrell McCauley) Newsgroups: comp.text.tex Subject: Re: LaTeX bibliography question Keywords: LaTeX, \cite, \@citex Message-ID: <12630@helios.TAMU.EDU> Date: 26 Feb 91 01:40:00 GMT References: <1895@borg.cs.unc.edu> Sender: usenet@helios.TAMU.EDU Reply-To: jdm5548@diamond.tamu.edu (James Darrell McCauley) Followup-To: comp.text.tex Organization: Ag Engineering Dept, Texas A&M University Lines: 32 In article <1895@borg.cs.unc.edu> Geoffrey D. Alexander writes: |> I am using bibtex to generate my bibliography. I specify |> \bibliographystyle{plain}. When I have a multiple reference citation |> \cite{bun83,cl73,lov78,pla90}, the references are separated by spaces |> [1, 2, 5, 7]. Does anyone know how to get rid of the spaces? I want |> [1,2,5,7]. |> |> Thanks, |> Geoff Alexander |> alexande@cs.unc.edu In my copy of latex.tex: >% \penalty\@m added to definition of \@citex to allow a line >% break after the `,' in citations like [Jones80,Smith77] >% (Added 23 Oct 86) >% >% space added after the `,' (21 Nov 87) >% >\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi > \def\@citea{}\@cite{\@for\@citeb:=#2\do > {\@citea\def\@citea{,\penalty\@m\ }\@ifundefined > {b@\@citeb}{{\bf ?}\@warning > {Citation `\@citeb' on page \thepage \space undefined}}% >\hbox{\csname b@\@citeb\endcsname}}}{#1}} So... just take it out. -- James Darrell McCauley (jdm5548@diamond.tamu.edu, jdm5548@tamagen.bitnet) Spatial Analysis Lab, Department of Agricultural Engineering, Texas A&M University, College Station, Texas 77843-2117, USA