Simplify report API

This commit is contained in:
2024-03-30 12:15:31 +02:00
parent af06a9983f
commit 9586d97fc2
4 changed files with 6 additions and 8 deletions
+2 -3
View File
@@ -11,7 +11,7 @@ The following is an example on how to apply the report style for a document
```typst
#import "template.typ": ataskaita
#show: doc => ataskaita(
#show: ataskaita.with(
"Kompiuterinis raštingumas",
(
[Technologinis projektas],
@@ -22,8 +22,7 @@ The following is an example on how to apply the report style for a document
"lekt. Petras Petraitis",
),
authorRole: "Studentas",
recipientRole: "Dėstytojas",
document: doc,
recipientRole: "Dėstytojas"
)
= Įvadas
Binary file not shown.
+2 -3
View File
@@ -1,6 +1,6 @@
#import "../template.typ": ataskaita, bibl
#show: doc => ataskaita(
#show: ataskaita.with(
"Kompiuterinis raštingumas",
(
[Technologinis projektas],
@@ -11,8 +11,7 @@
"lekt. Petras Petraitis",
),
authorRole: "Studentas",
recipientRole: "Dėstytojas",
document: doc,
recipientRole: "Dėstytojas"
)
= Įvadas
+2 -2
View File
@@ -7,7 +7,7 @@
recipients: none,
recipientRole: none,
authorRole: none,
document: none
body
) = {
// Setup page properties
@@ -146,7 +146,7 @@
#pagebreak()
#document
#body
]
}