%%% Test file for the bibliography style language.bst; should
%%% reproduce all the references from the Language style sheet,
%%% section 12: http://www.lsadc.org/info/pubs-lang-style.cfm
\documentclass{article}
\pagestyle{empty}        % No page numbers
\usepackage[T1]{fontenc} % Required for proper tilde in URLs
\usepackage{booktabs}    % For nice-looking tables
\usepackage{natbib}      % Citation support (required for crossrefs)
\bibpunct[:]{(}{)}{;}{a}{}{,} % Defaults for in-text citations
\usepackage{bibentry}    % Print individual references
\newenvironment{biblist} % Environment for printing the references
 {\begin{list}{}{
  \setlength{\itemindent}{-\leftmargin}
 }}
 {\end{list}}
\begin{document}
\let\url\relax           % No special font for URLs (negate default tt)
\renewcommand{\urlprefix}{Online: }% Prefix for URLs (replace "URL")
\noindent
This is a test file for the Bib\TeX\ style \verb+language.bst+,
intended for the journal \emph{Language} of the Linguistic Society of
America. The style makes non-standard use of standard
\verb+natbib+ commands, and this use is explained below.

\vspace{0.5\baselineskip}

\hspace*{\fill}\textbf{Ron Artstein, June 12, 2012}

\vspace{0.5\baselineskip}

\noindent
The \emph{Language} style sheet makes a distinction between two kinds of
in-text citations: citing a work and citing an author.
\begin{itemize}
\item Citing a work:
  \begin{itemize}
    \setlength{\itemsep}{0pt}
    \setlength{\parsep}{0pt}
  \item Two authors are joined by an ampersand (\&).
  \item More than two authors are abbreviated with \emph{et al.}
  \item No parentheses are placed around the year (though parentheses
    may contain the whole citation). 
  \end{itemize}
\item Citing an author:
  \begin{itemize}
    \setlength{\itemsep}{0pt}
    \setlength{\parsep}{0pt}
  \item Two authors are joined by \emph{and}.
  \item More than two authors are abbreviated with \emph{and colleagues}.
  \item The year is surrounded by parentheses (with page numbers, if
    present).
  \end{itemize} 
\end{itemize}
To provide for both kinds of citations, \verb+language.bst+
capitalizes on the fact that \verb+natbib+ citation commands come in
two flavors. In a typical style compatible with \verb+natbib+, ordinary
commands such as \verb+\citet+ and \verb+\citep+ produce short
citations abbreviated with \emph{et al.}, whereas starred commands
such as \verb+\citet*+ and \verb+\citep*+ produce a citation with a
full author list. Since \emph{Language} does not require citations
with full authors, the style \verb+language.bst+ repurposes the
starred commands to be used for citing the author. The following table
shows how the \verb+natbib+ citation commands work with
\verb+language.bst+.
\begin{center}
  \begin{tabular}{lll}
    \toprule
    Command & Two authors & More than two authors \\
    \midrule
    \verb+\citet+ & \citet{hale} & \citet{sprouse} \\
    \verb+\citet*+ & \citet*{hale} & \citet*{sprouse} \\
    \addlinespace
    \verb+\citep+ & \citep{hale} & \citep{sprouse} \\
    \verb+\citep*+ & \citep*{hale} & \citep*{sprouse} \\
    \addlinespace
    \verb+\citealt+ & \citealt{hale} & \citealt{sprouse} \\
    \verb+\citealt*+ & \citealt*{hale} & \citealt*{sprouse} \\
    \addlinespace
    \verb+\citealp+ & \citealp{hale} & \citealp{sprouse} \\
    \verb+\citealp*+ & \citealp*{hale} & \citealp*{sprouse} \\
    \addlinespace
    \verb+\citeauthor+ & \citeauthor{hale} & \citeauthor{sprouse} \\
    \verb+\citeauthor*+ & \citeauthor*{hale} & \citeauthor*{sprouse} \\
    \verb+\citefullauthor+ & \citefullauthor{hale} & \citefullauthor{sprouse} \\
    \bottomrule
  \end{tabular}%
\end{center}
Authors of \emph{Language} articles would typically use \verb+\citet*+,
\verb+\citep+, \verb+\citealt+ and \verb+\citeauthor*+, though they
could use any of the above commands. There is no command for giving a
full list of authors.
\newpage
\noindent
The following entries are an almost exact reproduction of the
references in the \emph{Language} style sheet, section~12, current as
of June 12, 2012. The only difference is that three obvious typos in the
original style sheet have been corrected: two gratuitous spaces
following hyphens were removed in \citet{saltzman}, and the
character~\emph{c} has been corrected to~\emph{\c{c}} in the name of
the editor in \citet{yip}.

\raggedright 
\bibliographystyle{language}
\nobibliography{language_style}
\begin{biblist}
\item\bibentry{vandersandt}.
\item\bibentry{wilson}.
\item\bibentry{hymes-foundations}.
\item\bibentry{hymes-studies}.
\item\bibentry{hymes-language}.
\item\bibentry{sprouse}.
\item\bibentry{butt}.
\item\bibentry{croft}.
\item\bibentry{donohue}.
\item\bibentry{saltzman}.
\item\bibentry{sundell}.
\item\bibentry{dorian}.
\item\bibentry{gropen}.
\item\bibentry{hale}.
\item\bibentry{miner}.
\item\bibentry{perlmutter}.
\item\bibentry{poser}.
\item\bibentry{prince}.
\item\bibentry{rice}.
\item\bibentry{singler}.
\item\bibentry{stockwell}.
\item\bibentry{tiersma}.
\item\bibentry{yip}.
\end{biblist}
\end{document}
