Compare commits

..

No commits in common. "e60bf7d7941a612c889e416b1160b3733a5179c4" and "6d84cf4a1936f75dfbf9b378eaaf5d96daddd72f" have entirely different histories.

2 changed files with 15 additions and 27 deletions

View File

@ -2,12 +2,11 @@ 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
@ -15,8 +14,7 @@ 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,27 +122,17 @@
#metadata("content terminate") <end-of-content> #metadata("content terminate") <end-of-content>
#end_styled( #end_styled(config)[
config, // add bibliography if set
context [ #if "bibliography" in config.thesis and config.thesis.bibliography != none {
// add bibliography if set pagebreak(weak: true)
#if "bibliography" in config.thesis and config.thesis.bibliography != none { counter(page).update(1)
pagebreak(weak: true) set bibliography(style: "ieee")
counter(page).update(1) config.thesis.bibliography
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)
], ]
)
] ]
] ]