Kristian Schultz 4 rokov pred
rodič
commit
ea24a43fc8

+ 8 - 3
Makefile

@@ -1,10 +1,10 @@
 
 bibliography = src/bib.bib
-controlSrc = src/config.tex src/content.tex 
-contentSrc = src/abstract.tex
+controlSrc = src/config.tex src/content.tex src/translation.tex
+contentSrc = src/faq/doNotStore.tex src/faq/login.tex
 sources = $(controlSrc) $(contentSrc) $(bibliography)
 indices = out/mainDe.idx out/mainEn.idx
-dirs = out out/src
+dirs = out out/src out/src/faq
 
 all: out/GitRegeln.pdf out/GitRules.pdf
 
@@ -36,3 +36,8 @@ out:
 
 out/src:
 	test -d out/src || mkdir out/src
+
+out/src/faq:
+	test -d out/src/faq || mkdir out/src/faq
+
+%.tex:

BIN
images/login/loginExtern.png


BIN
images/login/loginExternSmall.png


BIN
images/login/loginIntern.png


BIN
images/login/loginInternSmall.png


BIN
images/login/loginPlain.png


BIN
images/newProject/projectsHeader.png


+ 77 - 95
src/config.tex

@@ -1,115 +1,69 @@
 \usepackage{ucs}
+
+
+%\usepackage{soul}
+\usepackage{calc}      % Laengenberechnung in minipages.
+
+
+% ===================================================================
+% Sprachumschaltung
+% ===================================================================
 \usepackage[utf8]{inputenc}
-\usepackage[german]{babel}
+\usepackage[\myLanguage]{babel}
 \usepackage[T1]{fontenc}
-\usepackage{amsmath}
-\usepackage{amsfonts}
-\usepackage{amssymb}
-\usepackage{amsthm}
-% \usepackage{amsmidx}
-\usepackage{graphicx}
-\usepackage{color}
-\usepackage{calc}
 \usepackage{ifthen}
-\usepackage{soul}
+\usepackage{environ}
 
+\newcommand{\de}[1]{}
+\newcommand{\en}[1]{}
+\ifthenelse{\equal{\myLanguage}{english}}{\renewcommand{\en}[1]{#1}\NewEnviron{EN}{\BODY{}}}{\NewEnviron{EN}{}}
+\ifthenelse{\equal{\myLanguage}{german}}{\renewcommand{\de}[1]{#1}\NewEnviron{DE}{\BODY{}}}{\NewEnviron{DE}{}}
 
-\title{GitLab Regeln}
-\author{Kristian Schultz}
-\date{\today}
-%\address{Uni Rostock}
-%\email{kristian.schultz@uni-rostock.de}
+\input{src/translation.tex}
 
-\makeindex
 
-\newcommand{\de}[1]{}
-\newcommand{\en}[1]{}
 
-\definecolor{grey}{gray}{0.5}
 
-\newcommand{\setN}[0]{\mathbb{N}}
-\newcommand{\setR}[0]{\mathbb{R}}
-\newcommand{\setZ}[0]{\mathbb{Z}}
-\newcommand{\abs}[1]{\left| #1 \right|}
-\newcommand{\floor}[1]{\left\lfloor #1 \right\rfloor}
-\newcommand{\ceil}[1]{\left\lceil #1 \right\rceil}
-\newcommand{\lShadow}[0]{\Delta}
-\newcommand{\uShadow}[0]{\nabla}
-\newcommand{\F}[0]{\mathcal{F}}
-\newcommand{\R}[0]{\mathcal{R}}
-\newcommand{\CM}[0]{\mathcal{M}}
-\newcommand{\CH}[0]{\mathcal{H}}
-\newcommand{\CG}[0]{\mathcal{G}}
-\newcommand{\CS}[0]{\mathcal{S}}
-\newcommand{\CT}[0]{\mathcal{T}}
-\newcommand{\comp}[1]{\overline{#1}}
-
-\renewcommand{\theenumi}{\alph{enumi}}
-
-\newcounter{theorem}
-\setcounter{theorem}{0}
-
-
-\newenvironment{proposition}[1][]{\par
-	\begin{minipage}{\textwidth}
-		\refstepcounter{theorem}
-		\textbf{Vermutung \thetheorem{} \ifthenelse{\equal{#1}{}}{}{ (#1)}}\\[0.5em]
-		\begin{minipage}{\textwidth}\parInit{}\vspace{-10pt}\em}{\end{minipage}
-	\end{minipage}\par}
-
-
-\newenvironment{theorem}[1][]{\par
-	\begin{minipage}{\textwidth}
-		\refstepcounter{theorem}
-		\textbf{Satz \thetheorem{} \ifthenelse{\equal{#1}{}}{}{ (#1)}}\\[0.5em]
-		\begin{minipage}{\textwidth}\parInit{}\vspace{-10pt}\em}{\end{minipage}
-	\end{minipage}\par}
-
-
-\newenvironment{lemma}[1][]{\par
-	\begin{minipage}{\textwidth}
-		\refstepcounter{theorem}
-		\textbf{Lemma \thetheorem{} \ifthenelse{\equal{#1}{}}{}{ (#1)}}\\[0.5em]
-		\begin{minipage}{\textwidth}\parInit{}\vspace{-10pt}\em}{\end{minipage}
-	\end{minipage}\par}
-
-
-\newenvironment{condition}[1][]{\par
-	\begin{minipage}{\textwidth}
-		\refstepcounter{theorem}
-		\textbf{Bedingung \arabic{theorem} \ifthenelse{\equal{#1}{}}{}{ (#1)}}\\[0.5em]
-		\begin{minipage}{\textwidth}\parInit{}\vspace{-10pt}\em}{\end{minipage}
-	\end{minipage}\par}
-
-
-\renewenvironment{proof}[1][]{\par\ifthenelse{\equal{#1}{}}{\textbf{Beweis:}}{\textbf{Beweis (#1):}}\\[0.5em]}{\mbox{} \hfill $\square$\par}
-
-\newenvironment{remark}[1][]{\par
-	\begin{minipage}{\textwidth}
-		\refstepcounter{theorem}
-		\textbf{Anmerkung \arabic{theorem} \ifthenelse{\equal{#1}{}}{}{ (#1)}}\\[0.5em]
-		\mbox{}\hfill\begin{minipage}{0.95\textwidth}\parInit{}\vspace{-10pt}\em}{\end{minipage}
-	\end{minipage}\par}
-
-
-\newenvironment{algorithm}[1][]{\par
-	\begin{minipage}{\textwidth}
-		\refstepcounter{theorem}
-		\textbf{Algorithmus \arabic{theorem} \ifthenelse{\equal{#1}{}}{}{ (#1)}}\\[0.5em]
-		\begin{minipage}{\textwidth}\parInit{}\vspace{-10pt}\em}{\end{minipage}
-	\end{minipage}\par}
 
-\newcommand{\parInit}[0]{\setlength{\parskip}{1em}\setlength{\parindent}{0pt}}
+% ===================================================================
+% Grafiken
+% ===================================================================
+\usepackage{graphicx}  % Fuer \includegraphics
+\usepackage{wrapfig}   % Mit Text umflossene Bilder.
+
+
+
+% ===================================================================
+% Links mit \url und im Inhaltsverzeichnis
+% ===================================================================
+\usepackage[hidelinks]{hyperref}
+\usepackage{xcolor}
+\hypersetup{
+    colorlinks,
+    linkcolor={red!50!black},
+    citecolor={blue!50!black},
+    urlcolor={blue!80!black}
+}
+
+
 
+% ===================================================================
+% Seiteneinstellungen
+% ===================================================================
+\usepackage[left=2cm,right=2cm,top=2.5cm,bottom=3cm]{geometry}
 
+
+% ===================================================================
+% Kopf und Fusszeilen
+% ===================================================================
 \usepackage{fancyhdr}
 \pagestyle{fancy}
 \fancyhf{}
 \rhead{\includegraphics{images/STG.pdf}}
 \lhead{\bf Universitaet Rostock\\Bereich Informatik}
-\lfoot{https://www.informatik.uni-rostock.de/it-service/}
-\rfoot{\thepage}
-%\rfoot{\today}
+\lfoot{\small https://www.informatik.uni-rostock.de/it-service/}
+\cfoot{\small \thepage}
+\rfoot{\small \today}
 \renewcommand{\headrulewidth}{1pt}
 \renewcommand{\footrulewidth}{1pt}
 
@@ -124,8 +78,36 @@
 %\renewcommand{\familydefault}{\sfdefault}
 
 
+% ===================================================================
+% Schriftart
+% ===================================================================
 \usepackage{DejaVuSans}
 %% Another possibility is
 %% \usepackage{dejavu}
 %% which loads the DejaVu Serif and DejaVu Sans Mono fonts as well
-\renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif
+
+%% Only if the base font of the document is to be sans serif
+\renewcommand*\familydefault{\sfdefault} 
+
+
+
+
+% ===================================================================
+% Diverses
+% ===================================================================
+\definecolor{grey}{gray}{0.5}
+\newcommand{\var}[1]{\texttt{\color{grey} #1}}
+
+\renewcommand{\theenumi}{(\alph{enumi})}
+
+\newcommand{\parInit}[0]{\setlength{\parskip}{1em}\setlength{\parindent}{0pt}}
+
+\title{GitLab HowTo}
+\author{Kristian Schultz}
+\date{\today}
+%\address{Uni Rostock}
+%\email{kristian.schultz@uni-rostock.de}
+
+\makeindex
+
+

+ 6 - 9
src/content.tex

@@ -3,16 +3,13 @@
 
 \tableofcontents
 
-\include{src/regeln}
 
-
-\part{FAQ}
-%\chapter{Der Fall $r = 10$}
-\label{ch:r10}
-\section{Abschätzung des Schattens}
-\label{ch:r10:shadow}
-%\input{r10/introducion}
-...
+\include{src/faq/login}
+\include{src/faq/newProject}
+\include{src/faq/cloneProject}
+\include{src/faq/addThingsToProject}
+\include{src/faq/sendProjectToServer}
+\include{src/faq/doNotStore}
 
 
 \bibliographystyle{plain}

+ 5 - 3
src/regeln.tex → src/faq/doNotStore.tex

@@ -1,4 +1,4 @@
-\section{\de{Regeln}\en{Rules}}
+\section{\de{Was nicht in GIT gespeichert werden sollte}\en{What not to store in in GIT}}
 
 Die folgenden Daten sollten nicht im GIT gespeichert werden. Insbesondere wenn die Datei > 1MB ist.
 
@@ -11,8 +11,10 @@ Die folgenden Daten sollten nicht im GIT gespeichert werden. Insbesondere wenn d
 \item Programme / Installer (z.B: \ext{exe} / \ext{msi} / \ext{o /} \ext{jar})
 \item Binaerdateien (z.B: \ext{bin} / \ext{dat} / \ext{zip} / \ext{gz} / \ext{bz})
 \item Dateien, die sich aus den bereits vorhandenen Quelltexten herstellen lassen.
-\item Zwischen Dateien, die wa"hrend des Bauvorganges entstehen. (z.B: \ext{o} / \ext{class})
+\item Zwischen Dateien, die w\"ahrend des Bauvorganges entstehen. (z.B: \ext{o} / \ext{class})
 \item Programm- / Debugausgaben (z.B: \ext{log}, \ext{dat})
 \end{itemize}
 
-Repositories sollten mit History < 200Mb bleiben. Bei Repositories $\geq$ 500MB mahnen wir.
+Repositories sollten mit History < 200Mb bleiben.
+\\
+Bei Repositories $\geq$ 500MB mahnen wir.

+ 41 - 0
src/faq/login.tex

@@ -0,0 +1,41 @@
+\section{Login}
+\subsection{\de{Login mit einem Informatikaccount}\en{Login with an account at informatik.uni-rostock.de}}
+\begin{minipage}[m][5cm][t]{\textwidth - 4.2cm}
+\begin{enumerate}
+\item \tNavigateTo: \\ \urlSignIn{}
+
+\item \tSelect: \var{LDAP}
+
+\item \tEnterInformatikAccountName
+
+\item \tEnterInformatikAccountPass
+
+\item \tClickOn: \var{Sign In}
+\end{enumerate}
+\end{minipage}
+\hfill
+\begin{minipage}[m][5cm][t]{4cm}
+\includegraphics[width=\textwidth]{images/login/loginInternSmall.png}
+\end{minipage}
+
+
+
+
+\subsection{\de{Login mit einem externen Account}\en{Login with an external account}}
+\begin{minipage}[m][5cm][t]{\textwidth - 4.2cm}
+\begin{enumerate}
+\item \tNavigateTo: \\ \urlSignIn
+
+\item \tSelect: \var{Extern}
+
+\item \tEnterEMailAddress
+
+\item \tEnterPassword
+
+\item \tClickOn: \var{Sign In}
+\end{enumerate}
+\end{minipage}
+\hfill
+\begin{minipage}[m][5cm][t]{4cm}
+\includegraphics[width=4cm]{images/login/loginExternSmall.png}
+\end{minipage}

+ 1 - 3
src/mainDe.tex

@@ -1,9 +1,7 @@
 \documentclass[a4paper]{article}
+\newcommand{\myLanguage}[0]{german}
 \input{src/config}
 
-\renewcommand{\de}[1]{#1}
-
 \begin{document}
 \input{src/content}
 \end{document}
-

+ 1 - 4
src/mainEn.tex

@@ -1,10 +1,7 @@
 \documentclass[a4paper]{article}
+\newcommand{\myLanguage}[0]{english}
 \input{src/config}
 
-\renewcommand{\en}[1]{#1}
-
 \begin{document}
 \input{src/content}
 \end{document}
-
-

+ 10 - 0
src/translation.tex

@@ -0,0 +1,10 @@
+\newcommand{\urlSignIn}{\url{https://git.informatik.uni-rostock.de/users/sign\_in}}
+
+
+\newcommand{\tSelect}{\de{W\"ahle}\en{Select}}
+\newcommand{\tNavigateTo}{\de{Navigiere im Browser zu}\en{Navigate with your Browser to}}
+\newcommand{\tEnterInformatikAccountName}{\de{Geben Sie das K\"urzel Ihres Informatik-Accounts ein.}\en{Enter the name of your informatik account.}}
+\newcommand{\tEnterInformatikAccountPass}{\de{Geben Sie das Password Ihres Informatik-Accounts ein.}\en{Enter the password of your informatik account.}}
+\newcommand{\tEnterEMailAddress}{\de{Geben Sie Ihre E-Mail-Adresse ein.}\en{Enter your e-mail address.}}
+\newcommand{\tEnterPassword}{\de{Geben Sie Ihr Password ein.}\en{Enter your password.}}
+\newcommand{\tClickOn}{\de{Klicke auf}\en{Click on}}