Commit 65356abf authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

automatic build of lecture

parent b5cb8843
image: spraetor/latex-builder:2021
build:
script:
- cd lecture
- make
artifacts:
paths:
- "lecture/lecture.pdf"
\ No newline at end of file
Simon Praetorius <simon.praetorius@tu-dresden.de>
\ No newline at end of file
Simon Praetorius <simon.praetorius@tu-dresden.de>
Christian Engwer <christian.engwer@uni-muenster.de>
\ No newline at end of file
Copyright 2019 Simon Praetorius Licensed under the
Educational Community License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may
obtain a copy of the License at
https://opensource.org/licenses/ECL-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an "AS IS"
BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied. See the License for the specific language governing
permissions and limitations under the License.
This work is licensed under the
*Creative Commons Attribution-Non-commercial-Share Alike 4.0 International License*
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/ or send a letter to
Creative Commons
PO Box 1866, Mountain View, CA 94042, USA.
# Scientific Programming with C++
*Summary of the lecture*
*general information about the structure of lecture and tutorial*
In this module SCPROG the exercises and projects will be submitted online into a version
control system [Git](https://git-scm.com/) hosted at the MatNat [GitLab](https://gitlab.mn.tu-dresden.de)
platform, which is a web-based Git repository manager similar to [GitHub](https://github.com)
......
LECTURE_TEX := $(shell find * -type f -name "lecture_*.tex")
LECTURE_PDF := $(subst .tex,.pdf,$(LECTURE_TEX))
CHAPTER_TEX := $(shell find * -type f -regex "[0-9]+_[a-z_]+[.]tex")
all: lecture.pdf $(LECTURE_PDF)
all: lecture.pdf
# CUSTOM BUILD RULES
%.tex: %.raw
......@@ -24,11 +22,10 @@ all: lecture.pdf $(LECTURE_PDF)
# MAIN LATEXMK RULE
lecture_%.pdf: lecture_%.tex %_*.tex declarations.tex
latexmk -pdf -pdflatex="pdflatex -shell-escape" -use-make $<
lecture.pdf: lecture.tex declarations.tex $(CHAPTER_TEX)
latexmk -pdf -pdflatex="pdflatex -shell-escape" -use-make $<
latexmk -pdf -latexoption="--shell-escape" -use-make $<
clean:
latexmk -CA
rm -rf *.pyg _minted*/
......@@ -17,7 +17,7 @@
%\usepackage{dingbat}
\usepackage{mdframed}
\usepackage{imakeidx}
\usepackage{algorithm}
\usepackage{algorithmicx}
\usepackage[noend]{algpseudocode}
\usepackage{tcolorbox}
......
\documentclass[10pt,a4paper]{report}
\usepackage[left=1.5cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\input{declarations}
\author{Dr. Simon Praetorius}
\title{Scientific Programming with C++}
\begin{document}
\maketitle
\tableofcontents
\input{01_introduction}
\todos
\printindex
\bibliographystyle{abbrv}
\bibliography{references}
\end{document}
\documentclass[10pt,a4paper]{report}
\usepackage[left=1.5cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\input{declarations}
\author{Dr. Simon Praetorius}
\title{Scientific Programming with C++}
\begin{document}
\maketitle
\tableofcontents
\setcounter{chapter}{1}
\setcounter{section}{0}
\input{02_basics}
\todos
\printindex
\bibliographystyle{abbrv}
\bibliography{references}
\end{document}
\documentclass[10pt,a4paper]{report}
\usepackage[left=1.5cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\input{declarations}
\author{Dr. Simon Praetorius}
\title{Scientific Programming with C++}
\begin{document}
\maketitle
\tableofcontents
\setcounter{chapter}{2}
\setcounter{section}{5}
\input{03_operators}
\todos
\printindex
\bibliographystyle{abbrv}
\bibliography{references}
\end{document}
\documentclass[10pt,a4paper]{report}
\usepackage[left=1.5cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\input{declarations}
\author{Dr. Simon Praetorius}
\title{Scientific Programming with C++}
\begin{document}
\maketitle
\tableofcontents
\setcounter{chapter}{2}
\setcounter{section}{6}
\input{04_functions}
\todos
\printindex
\bibliographystyle{abbrv}
\bibliography{references}
\end{document}
\documentclass[10pt,a4paper]{report}
\usepackage[left=1.5cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\input{declarations}
\author{Dr. Simon Praetorius}
\title{Scientific Programming with C++}
\begin{document}
\maketitle
\tableofcontents
\setcounter{chapter}{2}
\setcounter{section}{7}
\input{05_references}
\todos
\printindex
\bibliographystyle{abbrv}
\bibliography{references}
\end{document}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment