-
Notifications
You must be signed in to change notification settings - Fork 7
/
main.tex
76 lines (60 loc) · 2.97 KB
/
main.tex
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
67
68
69
70
71
72
73
74
75
76
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%
%%% Language Science Press Master File %%%
%%% follow the instructions below %%%
%%% %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Everything following a % is ignored
% Some lines start with %. Remove the % to include them
\documentclass[output=book
,multiauthors
,collection
,collectionchapter
,biblatex
,babelshorthands
% ,showindex
,newtxmath
,uniformtopskip % manual adjustment of pagebreaks
% ,colorlinks, citecolor=brown % for drafts
% ,draftmode
]{langscibook}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% put all additional commands you need in the
% following files. If you do not know what this might
% mean, you can safely ignore this section
\input{localpackages.tex}
\input{localmetadata.tex}
\input{localhyphenation.tex}
\input{localcommands.tex}
\input{locallangscifixes.tex}
\input{localtemporaryfixes.tex}
\input{bibliographies-include}
\usepackage{nomemoize}
\memoizeset{
memo filename prefix={chapters/hpsg-handbook.memo.dir/},
register=\todo{O{}+m},
prevent=\todo,
}
%\memoizeset{readonly}
% This adds a checked field to the automatically generated footer items for crossreference. If they
% are cited, one can print the checked field (as done in check-hpsg) to see quickly that these items
% are ok.
% This is not needed for main, but without it it destroys information needed for other tasks in the project.
\patchcmd{\lsCollectionMetadataToBibliography}{\immediate\write\tempfile{@incollection{#1,author={\authorTemp},title={{\expandonce{\titleTemp}}},booktitle={{\expandonce{\lsCollectionTitle}}},editor={\editorTemp},publisher={Language Science Press.},Address={Berlin},year={\lsYear},pages={\lsCollectionPaperFirstPage--\lsCollectionPaperLastPage},doi={\lsChapterDOI},keywords={withinvolume}}}}{\immediate\write\tempfile{@incollection{#1,author={\authorTemp},title={{\lsCollectionPaperFooterTitle}},booktitle={{\lsCollectionTitle}},editor={\editorTemp},publisher={Language Science Press.},Address={Berlin},series={Empirically Oriented Theoretical Morphology and Syntax},year={2021},pages={\lsCollectionPaperFirstPage--\lsCollectionPaperLastPage},checked={auto created},doi={\lsChapterDOI},keywords={withinvolume}}}}
\input{hpsg-handbook-include}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%
%%% END %%%
%%% %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% you can create your book by running
% xelatex main.tex
%
% you can also try a simple
% make
% on the commandline
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% TeX-engine: xetex
%%% End: