summaryrefslogtreecommitdiff
path: root/macros/latex209/contrib/misc/breakcites.sty
blob: 9b083df8dcea21f613d5727cd8591255cb1f3d7e (plain)
1
2
3
4
5
6
7
8
9
10
% breakcites.sty
% Style file to allow citations to be broken across lines.
% -Don Hosek 3/14/89
%
\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}}%
     {\csname b@\@citeb\endcsname}}}{#1}}