added: preface
Gitea Action for checking typst compilation / run-ci-linux (push) Successful in 10s
Details
Gitea Action for checking typst compilation / run-ci-linux (push) Successful in 10s
Details
This commit is contained in:
parent
dfa1590936
commit
41bcf480e2
|
@ -30,6 +30,7 @@
|
||||||
kind: "T2000",
|
kind: "T2000",
|
||||||
summary: none,
|
summary: none,
|
||||||
abstract: none,
|
abstract: none,
|
||||||
|
preface: none,
|
||||||
keywords: ( "IT", "other stuff" ),
|
keywords: ( "IT", "other stuff" ),
|
||||||
bibliography: none /* bibliography("refs.bib") */,
|
bibliography: none /* bibliography("refs.bib") */,
|
||||||
glossary: none,
|
glossary: none,
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
#import "pages/prerelease-note.typ": new_prerelease_note
|
#import "pages/prerelease-note.typ": new_prerelease_note
|
||||||
#import "pages/outline.typ": new_outline
|
#import "pages/outline.typ": new_outline
|
||||||
#import "pages/abstract.typ": new_abstract
|
#import "pages/abstract.typ": new_abstract
|
||||||
|
#import "pages/preface.typ": new-preface
|
||||||
#import "pages/appendix.typ": show-appendix
|
#import "pages/appendix.typ": show-appendix
|
||||||
|
|
||||||
#let config = validate-config(config)
|
#let config = validate-config(config)
|
||||||
|
@ -49,6 +50,7 @@
|
||||||
new_prerelease_note(config)
|
new_prerelease_note(config)
|
||||||
}
|
}
|
||||||
#new_abstract(config)
|
#new_abstract(config)
|
||||||
|
#new-preface(config)
|
||||||
#new_outline()
|
#new_outline()
|
||||||
|
|
||||||
// glossary is built inline here because the links must be
|
// glossary is built inline here because the links must be
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
|
||||||
|
#let new-preface(config) = {
|
||||||
|
if config.thesis.preface != none {
|
||||||
|
pagebreak(weak: true)
|
||||||
|
config.thesis.preface
|
||||||
|
}
|
||||||
|
}
|
|
@ -25,6 +25,7 @@
|
||||||
kind: "T2000",
|
kind: "T2000",
|
||||||
summary: summary,
|
summary: summary,
|
||||||
abstract: abstract,
|
abstract: abstract,
|
||||||
|
preface: include "preface.typ",
|
||||||
keywords: ( "IT", "other stuff" ),
|
keywords: ( "IT", "other stuff" ),
|
||||||
bibliography: bibliography("refs.bib"),
|
bibliography: bibliography("refs.bib"),
|
||||||
glossary: glossary,
|
glossary: glossary,
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
= Vorwort
|
||||||
|
|
||||||
|
#lorem(50)
|
Loading…
Reference in New Issue