The above example compiles completely fine for me. See the log of the last latex run and the pdf attached. Again, the MWE:
Code: Select all
\listfiles
\documentclass[12pt]{book}
\usepackage[T1]{fontenc}
\usepackage[doublespacing]{setspace}
\usepackage{apacite}
\usepackage{lipsum} % not for use in the actual document
% Original code taken from "apacite.sty"
\makeatletter
\def\thebibliography#1{%
\@ifundefined{chapter}%
{\st@rtbibsection}%
{\if@sectionbibdefault
{\@ifundefined{@mainmatterfalse}%
{\st@rtbibchapter}%
{\if@mainmatter
\st@rtbibsection
\else
\st@rtbibchapter
\fi
}%
}%
\else
\if@sectionbib
\st@rtbibsection
\else
\st@rtbibchapter
\fi
\fi
}%
\bibliographytypesize % e.g., to put the bibliography in \small type
\bibliographyprenote % some explanatory note before the references
\@ifundefined{APAC@metaprenote@\APAC@extra@b@citeb}%
{}% skip
{\csname APAC@metaprenote@\APAC@extra@b@citeb\endcsname}%
\list{\relax}{\singlespacing
\labelsep=\biblabelsep
\parsep=\bibparsep
\itemsep=\bibitemsep
\leftmargin=\bibleftmargin
\itemindent=\bibindent}% changed to cope with 4th ed.
\def\newblock{\hskip .11em plus .33em minus .07em}%
\sloppy\clubpenalty10000\widowpenalty10000
\sfcode`\.=1000\relax %'
\bt@beg@thb@hook
\APACrestorebibitem
}
\setlength{\bibitemsep}{%
\ifcase \@ptsize \relax % 10pt
0.6\baselineskip%
\or % 11pt
0.618\baselineskip%
\or % 12pt
0.604\baselineskip%
\fi%
}
\makeatother
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@book{ShipingOutWhere,
author = "H. Shipping",
title = "Expert Deliveries",
edition = "",
publisher = "Silly Dogcourt",
address = "Boston",
year = "1978"
}
@book{Shu1980,
author = "D. F. Shu and J. S. Mikey",
title = "Introduction to Small Packages",
edition = "",
publisher = "Lackluster University",
address = "New York",
year = "1980"
}
@book{SnowEssentials,
author = "I. P. Snow",
title = "The Nighttime Extortionist",
edition = "3",
publisher = "Bucksport Company",
address = "San Francisco",
year = "1990"
}
@book{Zambaba1,
author = "T. Zambaba",
title = "Mega Laughanormous",
edition = "2",
publisher = "The Mafia",
address = "Hoboken, New Jersey",
year = "1997"
}
@book{SnowOrigins,
author = "I. P. Snow",
title = "The Nighttime Extortionist Microwaves a Light Bulb",
edition = "9",
publisher = "Bucksport Company",
address = "San Francisco",
year = "1999"
}
@book{BeeVomit,
author = "E. T. BeeVomit",
title = "The Honeycomb Matrix",
edition = "",
publisher = "Cambridge University Press",
address = "",
year = "1999"}
@book{WFartmann,
author = "W. Fartmann",
title = "Booze \& Plans 4 Tomorrow",
edition = "6",
publisher = "Dub Pub",
address = "Miami, Florida",
year = "1999"
}
@book{ChaseMax,
author = "C. E. Max and J. E. Orive",
title = "Myths about the Speed Demons on the Road",
edition = "",
publisher = "Benjamin Cummings",
address = "San Francisco",
year = "2001"
}
@book{Fix2004,
author = "N. E. Fix and I. Paeyoo",
title = "Lots of Money: If You Screw Me I Find You",
edition = "",
publisher = "McGraw--Hill",
address = "New York",
year = "2004"
}
@book{Lewiston,
author = "W. Lewiston",
title = "Mastery of the Internet: From Process to Production",
edition = "4",
publisher = "Online Press",
address = "Everywhere",
year = "2004"
}
@book{HTwCentry,
author = "N. Hester and L. Blimey and W. Chesire",
title = "The Colours of the Online Environment",
edition = "4",
publisher = "Chesire Company",
address = "London",
year = "2007"
}
@book{Schx1,
author = "L. Schx and M. Savage",
title = "Delivery from Dementia: an Extension of the Never-Motionless Mind",
edition = "3",
publisher = "McGraw--Hill",
address = "New York",
year = "2007"
}
@book{BenDoverReturns,
author = "B. Dover and D. Nine",
title = "When I Am Fixated on the Premature Mind I Dream about Long Titles",
edition = "",
publisher = "Boston Private Press",
address = "Boston",
year = "2012"
}
@book{JJCreeper,
author = "I. C. U. Creeper",
title = "How to creep around the house on tip toes and socks",
edition = "",
publisher = "Nighttime Illumination",
address = "Atlanta, Georgia",
year = "2010"
}
@book{FreeMe,
author = "U. N. I. R. Free and I. M. Me",
title = "Releaving your Old Self and Not Caring about the Mistakes You Make Along the Way",
edition = "2",
publisher = "House of Pride",
address = "New York",
year = "2011"
}
@book{Lini,
author = "S. Lini and F. Lini",
title = "Confusion about Commuting through the Fast Paced Cities",
edition = "2",
publisher = "Sickamore International",
address = "Seattle",
year = "2011"
}
\end{filecontents*}
\bibliographystyle{apacite}
\begin{document}
\lipsum[1] % not for use in the actual document
\nocite{*}
\bibliography{\jobname}
\end{document}
Note the first line, this gives you a file list in the log. Compare the package versions and update your system if necessary.