summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/dk-bib
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2006-10-04 08:43:01 +0000
committerNorbert Preining <preining@logic.at>2006-10-04 08:43:01 +0000
commitba9472aebfed07843bc4faa00c7b96bc86194691 (patch)
tree4a952a012e2f1663beaac6384dec265fb50dd361 /Master/texmf-dist/tex/latex/dk-bib
parenta88bdfe70c672cfced299babf0a54881a916bcca (diff)
Fix ctan2tds for pgf installation
comment powerdot-doc-vn in tpm-ctan-check, it always breaks Update of the following packages: labelcas pstricks-add sectionbox ltxmisc frenchle flowfram verse emulateapj pst-pdf poemscol babelbib dk-bib breakurl screenplay ncctools xkeyval bibleref muthesis pst-labo pgf ncclatex active-conf xcolor commath lineno dottex makeplo git-svn-id: svn://tug.org/texlive/trunk@2240 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/dk-bib')
-rw-r--r--Master/texmf-dist/tex/latex/dk-bib/dk-apali.sty37
-rw-r--r--Master/texmf-dist/tex/latex/dk-bib/dk-bib.sty13
2 files changed, 43 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/dk-bib/dk-apali.sty b/Master/texmf-dist/tex/latex/dk-bib/dk-apali.sty
new file mode 100644
index 00000000000..dfd4b5549cb
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/dk-bib/dk-apali.sty
@@ -0,0 +1,37 @@
+% This file is based on BibTeX's original apalike.sty
+
+% This is dk-bib, Version 0.6 ($Id: dk-apali.sty 92 2006-05-21 21:18:10Z arne $)
+
+\def\@cite#1#2{(#1\if@tempswa , #2\fi)}
+\def\@biblabel#1{}
+
+\newlength{\bibhang}
+\setlength{\bibhang}{2em}
+
+% In case babel is not used we provide \refname and \bibname here
+\providecommand{\refname}{References}
+\providecommand{\bibname}{Bibliography}
+
+\@ifundefined{chapter}{\def\thebibliography#1{\section*{\refname\@mkboth
+ {\refname}{\refname}}\list
+ {\relax}{\setlength{\labelsep}{0em}
+ \setlength{\itemindent}{-\bibhang}
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}}%
+{\def\thebibliography#1{\chapter*{\bibname\@mkboth
+ {\MakeUppercase\bibname}{\MakeUppercase\bibname}}\list
+ {\relax}{\setlength{\labelsep}{0em}
+ \setlength{\itemindent}{-\bibhang}
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}}
+
+\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{; }\@ifundefined
+ {b@\@citeb}{{\bf ?}\@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}
diff --git a/Master/texmf-dist/tex/latex/dk-bib/dk-bib.sty b/Master/texmf-dist/tex/latex/dk-bib/dk-bib.sty
index edc6583abfa..b5d61f468fb 100644
--- a/Master/texmf-dist/tex/latex/dk-bib/dk-bib.sty
+++ b/Master/texmf-dist/tex/latex/dk-bib/dk-bib.sty
@@ -1,4 +1,4 @@
-% Copyright 2004, 2005 Arne Jorgensen
+% Copyright (C) 2004, 2005, 2006 Arne Jorgensen
% This file is free software; you can redistribute it and/or modify it
% under the terms of the GNU General Public License as published by
@@ -11,9 +11,8 @@
% General Public License for more details.
% You should have received a copy of the GNU General Public License
-% along with GNU Emacs; see the file COPYING. If not, write to the
-% Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-% Boston, MA 02110-1301, USA.
+% along with this file; if not, write to the Free Software Foundation,
+% Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
@@ -22,8 +21,8 @@
\def\dkbib@sty@revision{#3}
\def\dkbib@sty@date{#4/#5/#6}
}
-\dkbib@svn $Id: dk-bib.sty 82 2005-10-02 16:26:11Z arne $
-\def\dkbib@version{0.5}
+\dkbib@svn $Id: dk-bib.sty 92 2006-05-21 21:18:10Z arne $
+\def\dkbib@version{0.6}
\ProvidesPackage{dk-bib}[\dkbib@sty@date\space v\dkbib@version\space(r\dkbib@sty@revision) Danish variants of the standard BibTeX styles]
@@ -132,7 +131,7 @@
{\relax}%
%%% apalike
\ifdkbib@apalike%
- \RequirePackage{apalike}%
+ \RequirePackage{dk-apali}%
\fi%
%%% url
\ifdkbib@url%