forked from LaTeX-Package-Repositories/minitoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.lua
57 lines (34 loc) · 1.2 KB
/
build.lua
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
require("ctan-post")
-- curl is default
-- ctan_post_command="curl"
-- curl_debug=true
ctan={}
ctan.pkg="minitoc"
ctan.version=[[62]] --OK
ctan.summary=[[Produce a table of contents for each chapter part or section]]
ctan.author=[[Jean-Pierre Drucbert and GitHub minitoc organisation]]
ctan.email='[email protected]'
ctan.uploader=[[David Carlisle]]
ctan.ctanPath=[[/macros/latex/contrib/minitoc]]
-- multiple licences, as a table
ctan.license='lppl'
ctan.update=true
ctan.announcement=[[
Minor update to minitoc to correct \@ifundefined use.
Minitoc still looking for maintainer but sources now on githib where issues may be tracked.
https://github.com/minitoc/minitoc/issues
]]
ctan.repository=[[https://github.com/minitoc/minitoc]]
ctan.support=[[https://github.com/minitoc/minitoc/issues]]
ctan.note=[[
Updating now as the package is broken by latex 2018 release.
Classifying as LPPL "maintained" by github "minitoc organisation"
which currently is just David Carlisle but volunteers welcome...
]]
ctan.file="minitoc-upload.zip"
local submit=input_single_line_field("submit to ctan? yes/no [no]")
if(submit=="yes" or submit=="true") then
ctan_upload(ctan,true)
else
ctan_upload(ctan,false)
end