add variables

This commit is contained in:
Maximilian Keßler 2022-02-15 23:46:02 +01:00
parent 14f8dbbec9
commit 24d6c4caac
5 changed files with 16 additions and 16 deletions

View file

@ -2,7 +2,7 @@ set -e
echo "Building document" echo "Building document"
make pdf make pdf
mkdir public mkdir public
mv build/.pdf public mv build/$mainfile.pdf public
mv build/.log public mv build/$mainfile.log public
cd 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

View file

@ -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. 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 You can also have a look at the generated [log files][2] or visit the
[gl pages][3] index directly. [gl pages][3] index directly.
[1]: /.pdf [1]: $repo/$mainfile.pdf
[2]: /.log [2]: $repo/$mainfile.log
[3]: / [3]: $repo/

10
config
View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
mainfile='2021_Systemnahe_Programmierung' mainfile=''
course='Systemnahe Programmierung' course=''
stylefile='sysprog' stylefile=''
repo='https://jrpie-notes.gitlab.com/sysprog' repo=''
term='2021/2022' term=''

View file

@ -1,7 +1,7 @@
\documentclass[10pt,ngerman,a4paper, fancyfoot, git]{mkessler-script} \documentclass[10pt,ngerman,a4paper, fancyfoot, git]{mkessler-script}
\course{} \course{$course}
\lecturer{} \lecturer{$stylefile}
\author{} \author{}
\usepackage{} \usepackage{}

View file

@ -1 +1 @@
\ProvidesPackage{}[2022/02/10 - Style file for notes of ] \ProvidesPackage{$stylefile}[2022/02/10 - Style file for notes of $course]