From 61c19fca59ff567b7fde640ef1954b6a5ace7bc4 Mon Sep 17 00:00:00 2001 From: Sebastian Tobie Date: Sun, 18 Feb 2018 11:04:32 +0100 Subject: [PATCH] Grundlegende Struktur fertiggestellt --- Bericht/Dokumentation/.gitignore | 1 + Bericht/Dokumentation/LiTerm.tex | 21 ++++ Bericht/Dokumentation/anhang.tex | 3 +- .../Dokumentation/bilder/Netzwerksetup.dot | 21 ++++ Bericht/Dokumentation/build.ps1 | 1 + Bericht/Dokumentation/build.sh | 8 ++ Bericht/Dokumentation/durchführung.tex | 2 +- Bericht/Dokumentation/main.tex | 66 ---------- Bericht/Dokumentation/quellen.bib | 66 +++++++++- Bericht/Dokumentation/shortcuts.sty | 10 ++ Bericht/Dokumentation/spezifikation.tex | 2 +- Bericht/Dokumentation/stil.sty | 118 ++++++++++++++++++ 12 files changed, 243 insertions(+), 76 deletions(-) create mode 100644 Bericht/Dokumentation/LiTerm.tex create mode 100644 Bericht/Dokumentation/bilder/Netzwerksetup.dot create mode 120000 Bericht/Dokumentation/build.ps1 create mode 100755 Bericht/Dokumentation/build.sh delete mode 100644 Bericht/Dokumentation/main.tex create mode 100644 Bericht/Dokumentation/shortcuts.sty create mode 100644 Bericht/Dokumentation/stil.sty diff --git a/Bericht/Dokumentation/.gitignore b/Bericht/Dokumentation/.gitignore index 3f7d999..89537a2 100644 --- a/Bericht/Dokumentation/.gitignore +++ b/Bericht/Dokumentation/.gitignore @@ -11,3 +11,4 @@ *.gz *.pdf *.toc +bilder/*.dot.* \ No newline at end of file diff --git a/Bericht/Dokumentation/LiTerm.tex b/Bericht/Dokumentation/LiTerm.tex new file mode 100644 index 0000000..ea85385 --- /dev/null +++ b/Bericht/Dokumentation/LiTerm.tex @@ -0,0 +1,21 @@ +\documentclass{scrreprt} +\usepackage{stil} +\usepackage{shortcuts} +\addbibresource{quellen.bib} +\graphicspath{ {bilder/} } + +\author{Sebastian Tobie} +\title{Erstellung einer Remote-Desktop-Plattform auf Linux Basis} + +\overfullrule=2cm%Erkennung von Overflow Fehlern +\begin{document} + \maketitle + \pagenumbering{arabic} + \tableofcontents{} + \clearpage + \input{spezifikation} + \input{durchführung} + \clearpage + \pagenumbering{roman} + \input{anhang} +\end{document} \ No newline at end of file diff --git a/Bericht/Dokumentation/anhang.tex b/Bericht/Dokumentation/anhang.tex index d0d8f5e..d81cc22 100644 --- a/Bericht/Dokumentation/anhang.tex +++ b/Bericht/Dokumentation/anhang.tex @@ -1,8 +1,7 @@ -% !TEX root = main.tex +% !TEX root = LiTerm.tex % !TeX encoding = UTF-8 % !TeX spellcheck = de_DE \chapter{Anhang} -\cite{test} \section{Abkürzungen} \printbibliography[title=Quellenverzeichnis] \listoffigures diff --git a/Bericht/Dokumentation/bilder/Netzwerksetup.dot b/Bericht/Dokumentation/bilder/Netzwerksetup.dot new file mode 100644 index 0000000..9fbddea --- /dev/null +++ b/Bericht/Dokumentation/bilder/Netzwerksetup.dot @@ -0,0 +1,21 @@ +digraph { + rankdir=TD + graph [splines=ortho] + Switch -> "Internet" + Switch -> { "4. Thinclient"; "3. Thinclient"; "2. Thinclient"; "1. Thinclient"} + VBridge -> Switch + Switch -> FiSiNetz + subgraph cluster_physisch { + "4. Thinclient" + "3. Thinclient" + "2. Thinclient" + "1. Thinclient" + } + subgraph cluster_virtualisierung { + label = "Virtualisierung" + graph[style=dotted]; + Zeus-> VBridge + Poseidon-> VBridge + Hades -> VBridge + } +} \ No newline at end of file diff --git a/Bericht/Dokumentation/build.ps1 b/Bericht/Dokumentation/build.ps1 new file mode 120000 index 0000000..c07a74d --- /dev/null +++ b/Bericht/Dokumentation/build.ps1 @@ -0,0 +1 @@ +build.sh \ No newline at end of file diff --git a/Bericht/Dokumentation/build.sh b/Bericht/Dokumentation/build.sh new file mode 100755 index 0000000..c93fbc1 --- /dev/null +++ b/Bericht/Dokumentation/build.sh @@ -0,0 +1,8 @@ +#!/bin/bash +build="xelatex -file-line-error -interaction=nonstopmode -synctex=-4 -output-directory=build LiTerm" +dot -Teps -O bilder/*.dot +$build +reset +biber --output-directory build main +$build +rm -f *.sav *.log \ No newline at end of file diff --git a/Bericht/Dokumentation/durchführung.tex b/Bericht/Dokumentation/durchführung.tex index c4a829b..43a06fe 100644 --- a/Bericht/Dokumentation/durchführung.tex +++ b/Bericht/Dokumentation/durchführung.tex @@ -1,4 +1,4 @@ -% !TEX root = main.tex +% !TEX root = LiTerm.tex % !TeX encoding = UTF-8 % !TeX spellcheck = de_DE \chapter{Durchführung} \ No newline at end of file diff --git a/Bericht/Dokumentation/main.tex b/Bericht/Dokumentation/main.tex deleted file mode 100644 index 04f692a..0000000 --- a/Bericht/Dokumentation/main.tex +++ /dev/null @@ -1,66 +0,0 @@ -\documentclass[draft]{scrreprt} -\KOMAoptions{ - fontsize=11pt, - toc=flat, - numbers=enddot -} -\usepackage[no-config]{fontspec} -\usepackage{scrlayer-scrpage} % Seitendesign -\usepackage{hyperref} % Links -\usepackage[ngerman]{babel} % Deutsch -\usepackage[printonlyused]{acronym} -\usepackage{noto} -\hypersetup{ - pdfauthor={Sebastian Tobie}, - pdftitle={Erstellung einer Remote-Desktop-Plattform auf Linux Basis}, - hidelinks, - linktoc=page -} -\usepackage[a4paper,left=2.5cm,right=2.5cm, top=2.5cm,bottom=2.5cm, xetex]{geometry} -\setlength{\footheight}{21pt} -\usepackage[ -backend=biber, -sorting=none, -style=numeric-comp, -block=ragged -]{biblatex} % Quellen -\RequirePackage{nameref} % namensreferenzen -\RequirePackage{csquotes} % Zitate -\addbibresource{quellen.bib} -\linespread{1.5} -\defbibheading{bibliography}{\section{#1}} -\defbibheading{figures}{\section{#1}} -\makeatletter -\renewcommand\listoffigures{% - \section{\listfigurename}% Used to be \section*{\listfigurename} - \@mkboth{\MakeUppercase\listfigurename}% - {\MakeUppercase\listfigurename}% - \@starttoc{lof}% -} -\renewcommand\listoftables{% - \section{\listtablename}% Used to be \section*{\listfigurename} - \@mkboth{\MakeUppercase\listtablename}% - {\MakeUppercase\listtablename}% - \@starttoc{lot}% - -} -\renewcommand\tableofcontents{% - \chapter{\contentsname}% - \@mkboth{\MakeUppercase\contentsname}% - {\MakeUppercase\contentsname}% - \@starttoc{toc}% -} -\makeatother -\begin{document} - \title{Erstellung einer Remote-Desktop-Plattform auf Linux Basis} - \author{Sebastian Tobie} - \maketitle - \pagenumbering{arabic} - \tableofcontents{} - \clearpage - \input{spezifikation} - \input{durchführung} - \clearpage - \pagenumbering{roman} - \input{anhang} -\end{document} \ No newline at end of file diff --git a/Bericht/Dokumentation/quellen.bib b/Bericht/Dokumentation/quellen.bib index 268249c..856a6c6 100644 --- a/Bericht/Dokumentation/quellen.bib +++ b/Bericht/Dokumentation/quellen.bib @@ -1,6 +1,60 @@ -% Encoding: UTF-8 - -@Misc{test, -} - -@Comment{jabref-meta: databaseType:bibtex;} +% Encoding: UTF-8 + +@Online{web:de, + author = {Imanol Mateo}, + title = {Desktop Environment}, + date = {2017-09-29}, + url = {https://wiki.debian.org/DesktopEnvironment}, + urldate = {2017-07-30}, + keywords = {debian, desktop}, +} + +@Online{web:lh, + author = {Richard Kweskin}, + title = {LTSP Howto}, + date = {2017-09-23}, + url = {https://wiki.debian.org/LTSP/Howto}, + urldate = {2017-07-30}, + keywords = {ltsp,howto}, +} + +@Online{web:lp, + author = {Alex Mestiashvili}, + title = {LDAP PAM}, + date = {2017-09-23}, + url = {https://wiki.debian.org/LDAP/PAM}, + urldate = {2017-07-30}, + keywords = {debian,ldap,pam}, +} + +@Online{web:sualswo, + author = {jason Blewis}, + title = {Setting up an LDAP server with OpenLDAP}, + date = {2017-09-23}, + url = {https://wiki.debian.org/LDAP/OpenLDAPSetup}, + urldate = {2017-07-30}, + keywords = {debian,openldap}, +} + +@Manual{man:iscd, + author = {ISC}, + title = {dhcpd.conf}, + date = {2017-09-29}, + subtitle = {dhcpd configuration file}, + edition = {4.3.5-3}, + urldate = {2017-07-30}, +} + +@Online{web:htwirfi, + author = {Carla Schroder}, + title = {How to Write iptables Rules for IPv6}, + date = {2017-09-29}, + url = {https://www.linux.com/learn/intro-to-linux/2017/8/iptables-rules-ipv6}, + urldate = {2017-08-04}, + language = {english}, + keywords = {network,ipv6}, +} + +@Comment{jabref-meta: databaseType:biblatex;} + +@Comment{jabref-meta: fileDirectory:/home/sebastian/Dokumente/Ausbildung/arbeit/Dokumente;} diff --git a/Bericht/Dokumentation/shortcuts.sty b/Bericht/Dokumentation/shortcuts.sty new file mode 100644 index 0000000..7b4cbb6 --- /dev/null +++ b/Bericht/Dokumentation/shortcuts.sty @@ -0,0 +1,10 @@ +%BBW Spezifische Kommandos +\newcommand{\BBW}{Unternehmen GmbH} +\newcommand{\gbdatum}{01.01.0001} +\newcommand{\ort}{Musterhausen} +\DeclareOption{bbw}{ + \renewcommand{\BBW}{BBW Südhessen gGmbH} + \renewcommand{\gbdatum}{10.01.1996} + \renewcommand{\ort}{Fritzlar} +} +\ProcessOptions\relax \ No newline at end of file diff --git a/Bericht/Dokumentation/spezifikation.tex b/Bericht/Dokumentation/spezifikation.tex index 92dc199..a49eed0 100644 --- a/Bericht/Dokumentation/spezifikation.tex +++ b/Bericht/Dokumentation/spezifikation.tex @@ -1,4 +1,4 @@ -% !TEX root = main.tex +% !TEX root = LiTerm.tex % !TeX encoding = UTF-8 % !TeX spellcheck = de_DE \chapter{Spezifikation} diff --git a/Bericht/Dokumentation/stil.sty b/Bericht/Dokumentation/stil.sty new file mode 100644 index 0000000..dbaacb5 --- /dev/null +++ b/Bericht/Dokumentation/stil.sty @@ -0,0 +1,118 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{abschlussarbeit} +%die Benötigten Pakete +\RequirePackage{datetime} %Zeit +\RequirePackage{xparse} % Argumentparsing +\RequirePackage[ngerman]{babel} % Deutsche Sprache +\RequirePackage{blindtext} % Blindtext +\RequirePackage{scrlayer-scrpage} % Paket zur besseren Kompatibelität mit anderen Paketen +\RequirePackage[ + backend=biber, + sorting=nty, + style=numeric-comp, + block=ragged +]{biblatex} % Quellen +\RequirePackage{csquotes} % Zitate +\RequirePackage{graphicx} % Grafiken +\RequirePackage[rightcaption]{sidecap} % Bessere Darstellung von Graphiken +\RequirePackage[xetex, cmyk, dvipsnames, table]{xcolor} % Farben +\RequirePackage{hyperref} % Links +\RequirePackage[printonlyused]{acronym} % Akronyme +\RequirePackage{ifxetex} % XeTeX Spezifische Optionen +\RequirePackage{wrapfig} % Platz vom Text +\RequirePackage{nameref} % namensreferenzen +% KOMA-Konfiguration +\KOMAoptions{ + fontsize=11pt, + captions=tablesignature, + toc=flat, + numbers=enddot +} +\addtokomafont{caption}{\small\bfseries} +%PDF-Konfiguration +\makeatletter +\let\orgdescriptionlabel\descriptionlabel +\renewcommand*{\descriptionlabel}[1]{% + \let\orglabel\label + \let\label\@gobble + \phantomsection + \edef\@currentlabel{#1}% + %\edef\@currentlabelname{#1}% + \let\label\orglabel + \orgdescriptionlabel{#1}% +} +\AtBeginDocument{ + \hypersetup{ + pdfauthor={\@author}, + pdftitle={\@title}, + pdfsubject={Abschlussarbeit}, + pdflang={de}, + pdfdisplaydoctitle=true, + xetex, + hidelinks, + linktoc=page + } + \let\runauthor\@author + \let\runtitle\@title +} +\makeatother +%einstellungen für verzeichnisse +\defbibheading{bibliography}{\section{#1}} +\makeatletter +\renewcommand\listoffigures{ + \section{\listfigurename} + \@mkboth{\MakeUppercase\listfigurename} + {\MakeUppercase\listfigurename} + \@starttoc{lof} +} +\renewcommand\listoftables{ + \section{\listtablename} + \@mkboth{\MakeUppercase\listtablename} + {\MakeUppercase\listtablename} + \@starttoc{lot} + +} +\renewcommand\tableofcontents{ + \chapter{\contentsname} + \@mkboth{\MakeUppercase\contentsname} + {\MakeUppercase\contentsname} + \@starttoc{toc} +} +\makeatother +%Bilder +\NewDocumentCommand{\bild}{m o o}{ + \begin{wrapfigure}{r}{0.4\textwidth} + \centering + \includegraphics[width=0.4\textwidth]{#1} + \IfNoValueF{#2}{ + \caption{#2} + \IfNoValueF{#3}{ + \label{bild:#3} + } + } + \end{wrapfigure} +} +%Seitenstileinstellungen +\RequirePackage[ + a4paper, + left=2.5cm, + right=2.5cm, + top=2.5cm, + bottom=2.5cm, + head=21pt, +]{geometry} +\setlength{\footheight}{21pt} +\linespread{1.5} +\RedeclareSectionCommand[beforeskip=0pt,afterskip=0cm]{chapter} +\RedeclareSectionCommand[beforeskip=0pt,afterskip=10pt]{section} +%Fonts +\ifxetex + \RequirePackage[no-config]{fontspec} + \RequirePackage{noto} +\else + \RequirePackage[T1]{fontenc} + \RequirePackage[utf8]{inputenc} +\fi +%Kommandos +\newcommand{\cori}{\textsuperscript{\textcopyright}} +\newcommand{\regi}{\textsuperscript{\textregistered}}