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
Build'n check / run-ci-linux (push) Has been skipped
Details
Reviewed-on: #109
This commit is contained in:
commit
f48a60380a
32
src/lib.typ
32
src/lib.typ
|
@ -122,17 +122,27 @@
|
|||
|
||||
#metadata("content terminate") <end-of-content>
|
||||
|
||||
#end_styled(config)[
|
||||
// add bibliography if set
|
||||
#if "bibliography" in config.thesis and config.thesis.bibliography != none {
|
||||
pagebreak(weak: true)
|
||||
counter(page).update(1)
|
||||
set bibliography(style: "ieee")
|
||||
config.thesis.bibliography
|
||||
}
|
||||
#end_styled(
|
||||
config,
|
||||
context [
|
||||
// add bibliography if set
|
||||
#if "bibliography" in config.thesis and config.thesis.bibliography != none {
|
||||
pagebreak(weak: true)
|
||||
counter(page).update(1)
|
||||
set bibliography(
|
||||
style: "ieee",
|
||||
title: if (text.lang == "de") {
|
||||
"Literaturverzeichnis"
|
||||
} else if text.lang == "en" {
|
||||
"Bibliography"
|
||||
},
|
||||
)
|
||||
config.thesis.bibliography
|
||||
}
|
||||
|
||||
// appendix
|
||||
#show-appendix(config: config)
|
||||
]
|
||||
// appendix
|
||||
#show-appendix(config: config)
|
||||
],
|
||||
)
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue