Skip to content

Commit d8e2fb6

Browse files
committed
Fix up glossary
Use \renewcommand*{\glstextformat}... once instead of \sl everywhere.
1 parent 431c2cb commit d8e2fb6

File tree

2 files changed

+50
-54
lines changed

2 files changed

+50
-54
lines changed

src/book.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
- \usepackage[xindy]{glossaries}
3838
- \makeglossaries
3939
- \input{glossary}
40+
- \renewcommand*{\glstextformat}[1]{\textsl{#1}}
4041
-
4142
- \usepackage{todonotes}
4243
include-before: \frontmatter

src/glossary.tex

Lines changed: 49 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,46 @@
11
\newglossaryentry{algebraic data type}
22
{
3-
name=\sl{algebraic data type},
4-
description={\todo{define}},
5-
% plural={algebraic data types},
6-
sort={algebraic data type}
3+
name={algebraic data type},
4+
description={\todo{define}}
75
}
86

97
\newglossaryentry{computation rule}
108
{
11-
name=\sl{computation rule},
12-
description={\todo{define}},
13-
% plural={computation rules},
14-
sort={computation rule}
9+
name={computation rule},
10+
description={\todo{define}}
1511
}
1612

1713
\newglossaryentry{expression}
1814
{
19-
name=\sl{expression},
20-
description={\todo{define}},
21-
% plural={expressions},
22-
sort={expression}
15+
name={expression},
16+
description={\todo{define}}
2317
}
2418

2519
\newglossaryentry{first-class}
2620
{
27-
name=\sl{first-class},
28-
description={\todo{define}},
29-
sort={first-class}
21+
name={first-class},
22+
description={\todo{define}}
3023
}
3124

3225
\newglossaryentry{fully certified}
3326
{
34-
name=\sl{fully certified},
35-
description={\todo{define}},
36-
sort={fully certified}
27+
name={fully certified},
28+
description={\todo{define}}
3729
}
3830

3931
\newglossaryentry{function type}
4032
{
41-
name=\sl{function type},
42-
description={\todo{define}},
43-
% plural={function types},
44-
sort={function type}
33+
name={function type},
34+
description={\todo{define}}
4535
}
4636

37+
\newglossaryentry{functional programming}
38+
{
39+
name={function programming},
40+
description={\todo{define}}
41+
}
42+
43+
4744
\longnewglossaryentry{idris-add-clause}{
4845
name=\el{idris-add-clause},
4946
sort={idris-add-clause}
@@ -90,46 +87,44 @@
9087

9188
\newglossaryentry{induction}
9289
{
93-
name=\sl{induction},
94-
description={\todo{define}},
95-
sort={induction}
90+
name={induction},
91+
description={\todo{define}}
9692
}
9793

9894
\newglossaryentry{inductive rule}
9995
{
100-
name=\sl{inductive rule},
101-
description={\todo{define}},
102-
% plural={inductive rules},
103-
sort={inductive rule}
96+
name={inductive rule},
97+
description={\todo{define}}
10498
}
10599

106100
\newglossaryentry{module system}
107101
{
108-
name=\sl{module system},
109-
description={\todo{define}},
110-
sort={module system}
102+
name={module system},
103+
description={\todo{define}}
111104
}
112105

113106
\newglossaryentry{pattern matching}
114107
{
115-
name=\sl{pattern matching},
116-
description={\todo{define}},
117-
sort={pattern matching}
108+
name={pattern matching},
109+
description={\todo{define}}
118110
}
119111

120112
\newglossaryentry{polymorphic type system}
121113
{
122-
name=\sl{polymorphic type system},
123-
description={\todo{define}},
124-
% plural={polymorphic type systems},
125-
sort={pattern matching}
114+
name={polymorphic type system},
115+
description={\todo{define}}
116+
}
117+
118+
\newglossaryentry{proof assistant}
119+
{
120+
name={proof assistant},
121+
description={\todo{define}}
126122
}
127123

128124
\newglossaryentry{structural recursion}
129125
{
130-
name=\sl{structural recursion},
131-
description={\todo{define}},
132-
sort={structural recursion}
126+
name={structural recursion},
127+
description={\todo{define}}
133128
}
134129

135130
\newglossaryentry{syntax}
@@ -141,24 +136,24 @@
141136

142137
\newglossaryentry{tactic}
143138
{
144-
name=\sl{tactic},
145-
description={\todo{define}},
146-
% plural={tactics},
147-
sort={tactic}
139+
name={tactic},
140+
description={\todo{define}}
148141
}
149142

150143
\newglossaryentry{type}
151144
{
152-
name=\sl{type},
153-
description={\todo{define}},
154-
% plural={type},
155-
sort={type}
145+
name={type},
146+
description={\todo{define}}
147+
}
148+
149+
\newglossaryentry{type system}
150+
{
151+
name={type system},
152+
description={\todo{define}}
156153
}
157154

158155
\newglossaryentry{wildcard pattern}
159156
{
160-
name=\sl{wildcard pattern},
161-
description={\todo{define}},
162-
% plural={wildcard patterns},
163-
sort={wildcard pattern}
157+
name={wildcard pattern},
158+
description={\todo{define}}
164159
}

0 commit comments

Comments
 (0)