-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgloshtml.m4
More file actions
34 lines (24 loc) · 1.18 KB
/
gloshtml.m4
File metadata and controls
34 lines (24 loc) · 1.18 KB
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
m4_divert(-1)
Copyright: 2022, 2023 Octrooicentrum Nederland
Licensed under the EUPL-1.2 or later.
You may obtain a copy of the licence at https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12.
Author: Marco de Beurs
m4_define(<<Gls>>, <<<abbr id=GlossIdGen(GlossNumber) title="TheGlsDesc$1">TheGlsWord$1</abbr>IncrGlossNumber()>>)m4_dnl
m4_define(<<NewGlsEntry>>, <<m4_define(TheGlsWord$1, $2)m4_define(TheGlsDesc$1, <<$3>>)m4_define(TheGlsDescLong$1, <<$3>>)>>)m4_dnl
m4_define(<<NewGlsEntryLong>>, <<m4_define(TheGlsWord$1, $2)m4_define(TheGlsDesc$1, <<$3>>)m4_define(TheGlsDescLong$1, <<$4>>)>>)m4_dnl
m4_define(<<NewLetter>>, <<
<<**>>$1<<**>>
>>)m4_dnl
m4_define(<<GlossTitle>>, <<<<#>> $1 <<#>>>>)m4_dnl
m4_define(<<GlossNumber>>,<<1>>)m4_dnl
m4_define(<<IncrGlossNumber>>,<<m4_define(<<GlossNumber>>,m4_incr(GlossNumber))>>)m4_dnl
m4_define(<<GlossIdGen>>,<<"GlossId$1">>)m4_dnl
m4_define(<<GlossEntry>>, <<TheGlsWord$1
: TheGlsDescLong$1 $2
>>)m4_dnl
m4_define(<<Link>>, <<<<<a href=>>TheGlsFile$1<<#>>GlossId$1> $1 </a>>>)m4_dnl
m4_define(<<PrintGlossary>>, <<
CountChapter()
m4_include(GlossaryFile)
>>)m4_dnl
m4_define(<<GlossRefNum>>, <<m4_define(TheGlsFile$2, $3)m4_dnl>>)m4_dnl