Merge branch 'develop' into feat/make-supervisor-signature-optional
Build'n check / run-ci-linux (push) Has been skipped
Details
Build'n check / run-ci-linux (push) Has been skipped
Details
This commit is contained in:
commit
e60bf7d794
|
@ -2,11 +2,12 @@ name: Build'n check
|
||||||
run-name: Performing Typst compilation
|
run-name: Performing Typst compilation
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types:
|
|
||||||
- opened
|
|
||||||
- synchronize
|
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
push:
|
||||||
|
branches-ignore:
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run-ci-linux:
|
run-ci-linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -14,7 +15,8 @@ jobs:
|
||||||
# push with commit containing "Run-Checks"
|
# push with commit containing "Run-Checks"
|
||||||
if: >
|
if: >
|
||||||
(contains(github.event.head_commit.message, 'Run-Checks') &&
|
(contains(github.event.head_commit.message, 'Run-Checks') &&
|
||||||
github.event_name == 'push')
|
github.event_name == 'push') ||
|
||||||
|
github.event_name == 'pull_request'
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
32
src/lib.typ
32
src/lib.typ
|
@ -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)
|
||||||
]
|
],
|
||||||
|
)
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue