summaryrefslogtreecommitdiff
path: root/macros/xetex/latex/langsci/examples/samplevolume.tex
blob: 4132dff2a24c985f129d0c6d203d77f4c5c7c6d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
\documentclass[output=book
	        ,collection
	        ,collectionchapter
		  ]{./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

\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}