diff --git a/.gitignore b/.gitignore index 4eaffc7..ebd1f36 100644 --- a/.gitignore +++ b/.gitignore @@ -45,8 +45,12 @@ *.lec *.cnt -sysprog.pdf +### main pdf file +$mainfile.pdf +## build directory +build/ + +## makefiles locks .init-submodule-cert .init-git-hooks-cert -build/ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3c1396b..e0789d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,6 +28,6 @@ pages: - public/ script: - echo "Deploying to pages" - - test -f public/2021_Systemnahe_Programmierung.pdf + - test -f public/$mainfile.pdf only: - master diff --git a/README.md b/README.md index f770716..03189f9 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,11 @@ -# Systemnahe Programmierung +# $course -These are the lecture notes for the 'Systemnahe Programmierung', taught in winter term 2021/2022 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]: https://jrpie-notes.gitlab.com/sysprog/2021_Systemnahe_Programmierung.pdf -[2]: https://jrpie-notes.gitlab.com/sysprog/2021_Systemnahe_Programmierung.log -[3]: https://jrpie-notes.gitlab.com/sysprog/ +[1]: $repo/$mainfile.pdf +[2]: $repo/$mainfile.log +[3]: $repo/ diff --git a/config.yaml b/config.yaml index 0f0dfa3..8c146de 100644 --- a/config.yaml +++ b/config.yaml @@ -3,3 +3,5 @@ stylefile: sysprog course: Systemnahe Programmierung +repo: https://jrpie-notes.gitlab.com/sysprog +term: 2021/2022 diff --git a/mainfile.tex b/mainfile.tex index 1d412a5..2de11f0 100644 --- a/mainfile.tex +++ b/mainfile.tex @@ -1,10 +1,10 @@ \documentclass[10pt,ngerman,a4paper, fancyfoot, git]{mkessler-script} -\course{Systemnahe Programmierung} -\lecturer{Dr. Matthias Frank, Dr. Matthias Wübbeling} -\author{Maximilian Keßler, Josia Pietsch} +\course{$course} +\lecturer{} +\author{} -\usepackage{sysprog} +\usepackage{$stylefile} \begin{document} @@ -15,60 +15,4 @@ \cleardoublepage - -\part{Maschinenprogrammierung in Assembler} -\input{inputs/assembler/assembler.tex} - -% \subsection{Speicherverwaltung} - - - -\part{Prozesse und Threads} - -\section{Prozesse} -\input{inputs/processes-and-threads/processes.tex} - -\section{Threads} -\input{inputs/processes-and-threads/threads.tex} - -\section{Inter-Process Communication} -\input{inputs/processes-and-threads/ipc.tex} - - - -\part{Netzwerkprogrammierung} - -\section{Motivation} -\input{inputs/network_programming/motivation.tex} - -\section{Sockets \& Co} -\label{networksockets} -\input{inputs/network_programming/sockets.tex} - -\section{I/O Multiplexing} -\input{inputs/network_programming/io_multiplexing.tex} - -\section{Server-Strukturen} -\input{inputs/network_programming/server_structure.tex} - -\section{Zusammenfassung} -\input{inputs/network_programming/summary.tex} - -\part{Übersicht} -\input{inputs/summary/summary.tex} - -\cleardoublepage - -\printvocabindex - -\cleardoublepage - -{ - \catcode`_=\active - \def_{\_} - \printindex[ccode] -} - - - \end{document} diff --git a/stylefile.sty b/stylefile.sty index 4ba2ff7..8b8a33d 100644 --- a/stylefile.sty +++ b/stylefile.sty @@ -1 +1 @@ -\ProvidesPackage{stylefile}[2022/02/10 - Style file for notes of course] +\ProvidesPackage{$stylefile}[2022/02/10 - Style file for notes of $course]