-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbigfoot-scm-1.rockspec
59 lines (48 loc) · 1.84 KB
/
bigfoot-scm-1.rockspec
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
local git_ref = 'scm'
local modrev = git_ref
local specrev = '1'
local repo_url = 'https://ctan.org/pkg/bigfoot'
rockspec_format = '3.0'
package = 'bigfoot'
version = modrev .. '-' .. specrev
description = {
summary = [[Footnotes for critical editions]],
detailed =
[[The package aims to provide a ‘one-stop’ solution to requirements for footnotes. It offers:
Multiple footnote apparatus superior to that of manyfoot
Footnotes can be formatted in separate paragraphs, or be run into a single paragraph (this choice may be selected per footnote series);
Things you might have expected (such as \verb-like material in footnotes, and colour selections over page breaks) now work.
Note that the majority of the bigfoot package's interface is identical to that of manyfoot; users should seek information from that package's documentation.
The bigfoot bundle also provides the perpage and suffix packages.]],
labels = { 'tex', 'latex' },
homepage = repo_url,
license = 'GPL-2.0'
}
build_dependencies = { 'lualatex', 'texrocks', 'latex-base' }
dependencies = { 'ncctools', 'etex', 'latex-tools' }
source = {
url = repo_url .. '/archive/' .. git_ref .. '.zip',
dir = package .. '-' .. modrev,
}
if modrev == 'scm' or modrev == 'dev' then
source = {
url = 'https://mirrors.ctan.org/macros/latex/contrib/bigfoot.zip',
}
end
build = {
type = 'command',
build_command = [[
texrocks install &&
lualatex --interaction=nonstopmode bigfoot.ins
]],
install = {
conf = {
['../tex/latex/bigfoot/bigfoot.sty'] = 'bigfoot.sty',
['../tex/latex/bigfoot/perpage.sty'] = 'perpage.sty',
['../tex/latex/bigfoot/suffix.sty'] = 'suffix.sty',
['../doc/latex/bigfoot/bigfoot.pdf'] = 'bigfoot.pdf',
['../doc/latex/bigfoot/perpage.pdf'] = 'perpage.pdf',
['../doc/latex/bigfoot/suffix.pdf'] = 'suffix.pdf',
}
}
}