diff options
author | Karl Berry <karl@freefriends.org> | 2008-09-22 17:59:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-09-22 17:59:00 +0000 |
commit | fca13548b6ef87dbcecd0151d6f706cf6849cf21 (patch) | |
tree | 95939dfe5ac317c6e992bad5ba33595a80ce73be /Master/texmf-dist/tex/latex | |
parent | ebfa70800742a41cf03fda08ed41a317e7f06adf (diff) |
add old package margbib
git-svn-id: svn://tug.org/texlive/trunk@10691 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/margbib/margbib.sty | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/margbib/margbib.sty b/Master/texmf-dist/tex/latex/margbib/margbib.sty new file mode 100644 index 00000000000..696929a3494 --- /dev/null +++ b/Master/texmf-dist/tex/latex/margbib/margbib.sty @@ -0,0 +1,65 @@ +%% +%% This is file `margbib.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% margbib.dtx +%% +%% This file is part of the MARGBIB package, a package for displaying +%% bibliography tags in the margins. Copyright (C) 1997 Karsten Tinnefeld. +%% +%% This file is NOT part of the LaTeX2e system, but intended for use with +%% it. +%% +%% This file is free software; you can redistribute it and/or modify it +%% under the terms of the GNU Library General Public License as published +%% by the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This document is distributed in the hope that it will be useful, but +%% WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +%% General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% somehow; if not, write to the Free Software Foundation, Inc., 675 Mass +%% Ave, Cambridge, MA 02139, USA. +%% +%% Error Reports in case of UNCHANGED versions to +%% +%% Karsten Tinnefeld +%% Leostrasse 11 +%% D-44225 Dortmund +%% Germany +%% Email: tinnefeld@irb.cs.uni-dortmund.de +%% +%%%%%%%%%%%%%%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{margbib} + [1997/11/11 1.0c Bib-Items into the margins] +\IfFileExists{marn.sty}{% + \RequirePackage{marn} + }{% + \PackageWarning{margbib}{% + marn package unavailable -- using \string\marginpar}% + \let\marn\marginpar} +\def\bibitem{\@ifnextchar[\@lbibitem\@bibitem} +\def\@lbibitem[#1]#2{\item[]\if@filesw + {\makebox{}\marn{\@biblabel{#1}}% + \let\protect\noexpand + \immediate + \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces} +\def\@bibitem#1{\item[]\if@filesw\immediate\write\@auxout + {\string\bibcite{#1}{\the\value{\@listctr}}}\fi\ignorespaces} +\let\m@rgbib=\thebibliography +\let\endm@rgbib=\endthebibliography +\renewenvironment{thebibliography}[1]{% + \begin{m@rgbib}{#1} + \parshape=0\relax + }{% + \end{m@rgbib} + } +\endinput +%% +%% End of file `margbib.sty'. |