diff --git a/.ci/build_document.sh b/.ci/build_document.sh index 2869c17..aa814ed 100755 --- a/.ci/build_document.sh +++ b/.ci/build_document.sh @@ -2,7 +2,7 @@ set -e echo "Building document" make pdf mkdir public -mv build/.pdf public -mv build/.log public +mv build/$mainfile.pdf public +mv build/$mainfile.log public cd public/ -tree -H '.' -I "index.html" -D --charset utf-8 -T "" > index.html +tree -H '.' -I "index.html" -D --charset utf-8 -T "$course" > index.html diff --git a/README.md b/README.md index 2997e07..40b8114 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# +# $course -These are the lecture notes for the '', taught in winter term at the University of Bonn. +These are the lecture notes for the '$course', taught in winter term $term at the University of Bonn. The [latest version][1] is availabe as a pdf download via GitLab runner. You can also have a look at the generated [log files][2] or visit the [gl pages][3] index directly. -[1]: /.pdf -[2]: /.log -[3]: / +[1]: $repo/$mainfile.pdf +[2]: $repo/$mainfile.log +[3]: $repo/ diff --git a/config b/config index 58a7512..52562f0 100755 --- a/config +++ b/config @@ -1,7 +1,7 @@ #!/bin/bash -mainfile='2021_Systemnahe_Programmierung' -course='Systemnahe Programmierung' -stylefile='sysprog' -repo='https://jrpie-notes.gitlab.com/sysprog' -term='2021/2022' +mainfile='' +course='' +stylefile='' +repo='' +term='' diff --git a/mainfile.tex b/mainfile.tex index 191d2ee..a42763f 100644 --- a/mainfile.tex +++ b/mainfile.tex @@ -1,7 +1,7 @@ \documentclass[10pt,ngerman,a4paper, fancyfoot, git]{mkessler-script} -\course{} -\lecturer{} +\course{$course} +\lecturer{$stylefile} \author{} \usepackage{} diff --git a/stylefile.sty b/stylefile.sty index 72c06aa..8b8a33d 100644 --- a/stylefile.sty +++ b/stylefile.sty @@ -1 +1 @@ -\ProvidesPackage{}[2022/02/10 - Style file for notes of ] +\ProvidesPackage{$stylefile}[2022/02/10 - Style file for notes of $course]