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

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.
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/

10
config
View file

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

View file

@ -1,7 +1,7 @@
\documentclass[10pt,ngerman,a4paper, fancyfoot, git]{mkessler-script}
\course{}
\lecturer{}
\course{$course}
\lecturer{$stylefile}
\author{}
\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]