\documentclass[output=book
	        ,collection
		  ]{langscibook}

\author{Jane Doe}
\title{Sample edited volume}
\subtitle{Including sample chapter}
\Series{cfls}
\SeriesNumber{42}

\renewcommand{\lsISBNdigital}{000-0-000000-00-0}
\renewcommand{\lsISBNhardcover}{000-0-000000-00-0}
\renewcommand{\lsISBNsoftcover}{000-0-000000-00-0}
% \BookDOI{}%ask coordinator for DOI
\renewcommand{\lsID}{000}

\dedication{For Mom and Dad}
\typesetter{Jane Doe}
\proofreader{John Doe}
\BackBody{What everyone should know about edited volumes: it's here}


\bibliography{langsci-test}
\begin{document}
\maketitle
\frontmatter
\currentpdfbookmark{Contents}{name} % adds a PDF bookmark
\tableofcontents
% \include{preface}
% \include{acknowledgments}

% %% Additional prefaces and/or introductions that also have authors
% \lsCollectionPaperFrontmatterMode % Enter the Frontmatter Mode.
% \includepaper{chapters/prefaceEd}
% \lsCollectionPaperMainmatterMode % Leave the Frontmatter Mode
% \setcounter{chapter}{0} % Reset the chapter counter so that preceding prefaces are not counted

\mainmatter

\includepaper{samplepaper}

\backmatter
\phantomsection%this allows hyperlink in ToC to work
\addcontentsline{toc}{chapter}{Indexes}

\phantomsection%this allows hyperlink in ToC to work
\addcontentsline{toc}{section}{Name index}
\ohead{Name index}
\printindex
\cleardoublepage

\phantomsection%this allows hyperlink in ToC to work
\addcontentsline{toc}{section}{Language index}
\ohead{Language index}
\printindex[lan]
\cleardoublepage

\phantomsection%this allows hyperlink in ToC to work
\addcontentsline{toc}{section}{Subject index}
\ohead{Subject index}
\printindex[sbj]
\cleardoublepage

\end{document}
