Compare commits

..

3 Commits

Author SHA1 Message Date
Sven Vogel f48a60380a Merge pull request 'feat: add custom bilbiography titles' (#109) from feat/rename-bibliography-title into develop
Build'n check / run-ci-linux (push) Has been skipped Details
Reviewed-on: #109
2024-11-25 15:50:34 +00:00
Sven Vogel 5cefd78804 Merge branch 'develop' into feat/rename-bibliography-title
Build'n check / run-ci-linux (push) Has been skipped Details
2024-11-25 15:49:55 +00:00
Sven Vogel 81772d7718 feat: add custom bilbiography titles 2024-11-25 16:45:17 +01:00
1 changed files with 21 additions and 11 deletions

View File

@ -122,17 +122,27 @@
#metadata("content terminate") <end-of-content> #metadata("content terminate") <end-of-content>
#end_styled(config)[ #end_styled(
// add bibliography if set config,
#if "bibliography" in config.thesis and config.thesis.bibliography != none { context [
pagebreak(weak: true) // add bibliography if set
counter(page).update(1) #if "bibliography" in config.thesis and config.thesis.bibliography != none {
set bibliography(style: "ieee") pagebreak(weak: true)
config.thesis.bibliography counter(page).update(1)
} set bibliography(
style: "ieee",
title: if (text.lang == "de") {
"Literaturverzeichnis"
} else if text.lang == "en" {
"Bibliography"
},
)
config.thesis.bibliography
}
// appendix // appendix
#show-appendix(config: config) #show-appendix(config: config)
] ],
)
] ]
] ]