[tex-live] Bug#528493: texlive-base: apalike.sty missing

Frank Küster frank at debian.org
Wed May 20 21:09:48 CEST 2009


Hi,

Matthew Vernon <m.c.vernon at warwick.ac.uk> wrote:

> apalike.sty is missing from the distribution. It is necessary to go with 
> apalike.bst, one of the standard BibTeX style files.

Indeed, apalike.bst says 

% This style should be used with the `apalike' LaTeX style (apalike.sty).

but apalike.sty is not in TL 2008 (nor the 2009 branch AFAIS). 

The bad news is that there are two apalike.sty on CTAN, one in
bibtex/contrib/apalike, one in bibtex/contrib/germbib, and the latter
one looks newer by the file date (and it uses \refname and \bibname
instead of hardcoded strings):

$ diff -u area/apalike.sty.{apalike,germbib}
--- area/apalike.sty.apalike	2009-05-20 21:06:32.000000000 +0200
+++ area/apalike.sty.germbib	2009-05-20 21:05:46.000000000 +0200
@@ -4,19 +4,19 @@
 \newlength{\bibhang}
 \setlength{\bibhang}{2em}
 
-\@ifundefined{chapter}{\def\thebibliography#1{\section*{References\@mkboth
-  {REFERENCES}{REFERENCES}}\list
+\@ifundefined{chapter}{\def\thebibliography#1{\section*{\refname\@mkboth
+  {\sl\uppercase{\refname}}{\sl\uppercase{\refname}}}\list
   {\relax}{\setlength{\labelsep}{0em}
-	\setlength{\itemindent}{-\bibhang}
-	\setlength{\leftmargin}{\bibhang}}
+  \setlength{\itemindent}{-\bibhang}
+  \setlength{\leftmargin}{\bibhang}}
     \def\newblock{\hskip .11em plus .33em minus .07em}
     \sloppy\clubpenalty4000\widowpenalty4000
     \sfcode`\.=1000\relax}}%
-{\def\thebibliography#1{\chapter*{Bibliography\@mkboth
-  {BIBLIOGRAPHY}{BIBLIOGRAPHY}}\list
+{\def\thebibliography#1{\chapter*{\bibname\@mkboth
+  {\sl\uppercase{\bibname}}{\sl\uppercase{\bibname}}}\list
   {\relax}{\setlength{\labelsep}{0em}
-	\setlength{\itemindent}{-\bibhang}
-	\setlength{\leftmargin}{\bibhang}}
+  \setlength{\itemindent}{-\bibhang}
+  \setlength{\leftmargin}{\bibhang}}
     \def\newblock{\hskip .11em plus .33em minus .07em}
     \sloppy\clubpenalty4000\widowpenalty4000
     \sfcode`\.=1000\relax}}
@@ -27,3 +27,4 @@
        {b@\@citeb}{{\bf ?}\@warning
        {Citation `\@citeb' on page \thepage \space undefined}}%
 {\csname b@\@citeb\endcsname}}}{#1}}
+

Regards, Frank




-- 
Dr. Frank Küster
Debian Developer (TeXLive)
VCD Aschaffenburg-Miltenberg, ADFC Miltenberg
B90/Grüne KV Miltenberg


More information about the tex-live mailing list