implement attachments

This commit is contained in:
2025-10-03 11:06:50 +02:00
parent a0c75deba0
commit a691d84e1b
6 changed files with 186 additions and 6 deletions

View File

@@ -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);
});
}

View File

@@ -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;

View File

@@ -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);
});
}