implement attachments
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
tablelist,
|
||||
bibliogr
|
||||
)
|
||||
#import "../attachments.typ": attachment_list
|
||||
#import "../utils.typ": is_none, assert_dict_has, assert_not_none
|
||||
|
||||
#let bp(
|
||||
@@ -52,7 +53,8 @@
|
||||
imagelist(language);
|
||||
tablelist(language);
|
||||
pagebreak(weak: true);
|
||||
content
|
||||
content;
|
||||
bibliogr(language, citation_file);
|
||||
attachment_list(language);
|
||||
});
|
||||
}
|
||||
|
@@ -251,7 +251,7 @@
|
||||
stack(
|
||||
dir: ltr,
|
||||
text(numbering(
|
||||
"1. 1",
|
||||
"1.1",
|
||||
counter(heading).at(element.location()).at(0),
|
||||
counter(selector).at(element.location()).at(0),
|
||||
)),
|
||||
@@ -263,7 +263,7 @@
|
||||
),
|
||||
)
|
||||
}
|
||||
heading(title, numbering: none, outlined: false);
|
||||
heading(title, numbering: none);
|
||||
for el in query(figure.where(kind: selector)) {
|
||||
if is_none(el.caption) {
|
||||
continue;
|
||||
|
@@ -10,6 +10,7 @@
|
||||
imagelist,
|
||||
tablelist,
|
||||
)
|
||||
#import "../attachments.typ": attachment_list
|
||||
#import "../utils.typ": is_none, assert_not_none, assert_dict_has, assert_in_arr
|
||||
|
||||
#let other(
|
||||
@@ -31,9 +32,8 @@
|
||||
imagelist(language);
|
||||
tablelist(language);
|
||||
pagebreak(to: "even", weak: true);
|
||||
content
|
||||
|
||||
// bibliography
|
||||
content;
|
||||
bibliography(citation_file, style: "../tul_citace.csl");
|
||||
attachment_list(language);
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user