-
Notifications
You must be signed in to change notification settings - Fork 3
/
grammatical-theory.tex
105 lines (76 loc) · 2.39 KB
/
grammatical-theory.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
%% -*- coding:utf-8 -*-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% $RCSfile: grammatiktheorie.tex,v $
%% $Revision: 1.3 $
%% $Date: 2010/01/18 14:55:27 $
%% Author: Stefan Mueller (CL Uni-Bremen)
%% Purpose:
%% Language: LaTeX
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Everything following a % is ignored
% Some lines start with %. Remove the % to include them
\documentclass[output=book
,smallfont
% ,multiauthors
% ,collection
% ,collectionchapter
% ,collectiontoclongg
,biblatex
,babelshorthands
% ,showindex
,newtxmath
% ,colorlinks, citecolor=brown % for drafts
% ,draftmode
% ,coverus
% footlines=1 % to get the proper spacing between page numbers and text if two lines
% are added
,uniformtopskip
,tblseight % to get the fonts for the Chinese title of GT
]{langscibook}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{ifthen}
\provideboolean{draft}
\setboolean{draft}{false}
%\setboolean{draft}{true}
\usepackage{etoolbox}
\newtoggle{draft}\togglefalse{draft}
\newcommand{\NOTE}[1]{}
%\newcommand{\NOTE}[1]{\marginpar{#1}}
\newcommand{\LATER}[1]{}
% package has to be loaded before german.sty
\usepackage{memoize}
%\usepackage{nomemoize}
\memoizeset{
memo filename prefix={grammatical-theory.memo.dir/},
enable=dependency,
}
\input{localpackages.tex}
\input{localmetadata.tex}
\input{localcommands.tex}
\input{locallangscifixes.tex}
\bibliography{bib-abbr,biblio-xdata-en,biblio}
%\bibliography{gt}
% https://tex.stackexchange.com/a/111851/18561
\DeclareSourcemap{
\maps[datatype=bibtex]{
\map{
\step[fieldsource=checked]
\step[fieldset=usera,origfieldval]
}
}
}
%\DeclareFieldFormat{usera}{\red{#1}}
% This shows the value of checked:
%\AtEveryBibitem{
%\csappto{blx@bbx@\thefield{entrytype}}{\iffieldundef{usera}{\space \red{Not checked!}}{\space\green{\printfield{usera}}}}
%}
% This just shows a warning for unchecked items
\AtEveryBibitem{
\csappto{blx@bbx@\thefield{entrytype}}{\iffieldundef{usera}{\space \red{Not checked!}}{}}
}
\input grammatical-theory-include
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End: