Compare commits

..

5 Commits

Author SHA1 Message Date
Sven Vogel e60bf7d794 Merge branch 'develop' into feat/make-supervisor-signature-optional
Build'n check / run-ci-linux (push) Has been skipped Details
2024-11-25 15:56:21 +00:00
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 1a09a0251d ci/run-ci-on-push (#108)
Build'n check / run-ci-linux (push) Has been skipped Details
Reviewed-on: #108
Co-authored-by: servostar <sven.vogel123@web.de>
Co-committed-by: servostar <sven.vogel123@web.de>
2024-11-25 15:49:21 +00:00
Sven Vogel 81772d7718 feat: add custom bilbiography titles 2024-11-25 16:45:17 +01:00
2 changed files with 27 additions and 15 deletions

View File

@ -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

View File

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