summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/breakcites
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-02-21 23:21:38 +0000
committerKarl Berry <karl@freefriends.org>2010-02-21 23:21:38 +0000
commit254ef74e9993146e73cd8ce91ecf43f28da8ea41 (patch)
treeed815550f20927c8af4650c11af5d63681a68680 /Master/texmf-dist/tex/latex/breakcites
parent6d943fde913208f948eb21de2ea314ed3c210b21 (diff)
breakcites doc update, own package (21feb09)
git-svn-id: svn://tug.org/texlive/trunk@17126 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/breakcites')
-rw-r--r--Master/texmf-dist/tex/latex/breakcites/breakcites.sty17
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/breakcites/breakcites.sty b/Master/texmf-dist/tex/latex/breakcites/breakcites.sty
new file mode 100644
index 00000000000..f1e8b9bd268
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/breakcites/breakcites.sty
@@ -0,0 +1,17 @@
+% breakcites
+% Style file to allow citations to be broken across lines.
+% - Don Hosek 3/14/89 (LaTeX209-Version)
+% - Leo Broska 02/20/97 (LaTeX-2e-Version)
+%
+\def\@citex[#1]#2{%
+ \let\@citea\@empty
+ \@cite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{,\penalty\@m\ }%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
+ \@ifundefined{b@\@citeb}{\mbox{\reset@font\bfseries ?}%
+ \G@refundefinedtrue
+ \@latex@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+ {\csname b@\@citeb\endcsname}}}{#1}}
+