-
Notifications
You must be signed in to change notification settings - Fork 0
/
t-module-template.mklx
55 lines (42 loc) · 1.69 KB
/
t-module-template.mklx
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
%D \module
%D [ file=t-module-template,
%D version=2023-12-25,
%D title=\CONTEXT\ User Module,
%D subtitle=ConTeXt module template,
%D author=Jairo A. del Rio,
%D date=\currentdate,
%D copyright=Jairo A. del Rio,
%D license=MIT License]
%C Copyright (c) 2023 Jairo A. del Rio
%C
%C Permission is hereby granted, free of charge, to any person obtaining
%C a copy of this software and associated documentation files (the
%C "Software"), to deal in the Software without restriction, including
%C without limitation the rights to use, copy, modify, merge, publish,
%C distribute, sublicense, and/or sell copies of the Software, and to
%C permit persons to whom the Software is furnished to do so, subject to
%C the following conditions:
%C
%C The above copyright notice and this permission notice shall be
%C included in all copies or substantial portions of the Software.
%C
%C THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
%C EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
%C MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
%C IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
%C CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
%C TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
%C SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\writestatus{loading}{ConTeXt module template}
\startmodule[module-template]
% Lua companion (if used)
\registerctxluafile{t-module-template}{autosuffix}
\unprotect
% Protected code
\protect
\stopmodule
\continueifinputfile{t-module-template.mklx}
\starttext
% Test code
\stoptext